From 322605aa66e94901a847d8f5c2460b30b17bd17b Mon Sep 17 00:00:00 2001 From: Josh Bruce Date: Sun, 19 May 2024 09:16:06 -0400 Subject: [PATCH] BC: Require PHP 8.2 --- .github/workflows/php81.yml | 34 ---------------------------------- composer.json | 6 +++--- composer.lock | 4 ++-- 3 files changed, 5 insertions(+), 39 deletions(-) delete mode 100644 .github/workflows/php81.yml diff --git a/.github/workflows/php81.yml b/.github/workflows/php81.yml deleted file mode 100644 index 535bd59..0000000 --- a/.github/workflows/php81.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: PHP 8.1 - -on: - push: - branches: [main] - pull_request: - branches: [main] - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Setup PHP Action - uses: shivammathur/setup-php@2.15.0 - with: - php-version: '8.1' - - - name: Validate composer.json and composer.lock - run: composer validate - - - name: Install dependencies - run: composer install --prefer-dist --no-progress - - - name: Run style check - run: composer run style - - - name: Run static analyzer - run: composer run stan - - - name: Run tests - run: composer run test diff --git a/composer.json b/composer.json index f105e66..6238da7 100644 --- a/composer.json +++ b/composer.json @@ -12,12 +12,12 @@ } ], "require": { - "php": "^8.1 || ^8.2", + "php": "^8.2", "8fold/php-xml-builder": "^2.0", - "psr/http-message": "^1.1 || ^2.0", + "psr/http-message": "^2.0", "psr/log": "^3.0", "voku/portable-ascii": "^2.0", - "symfony/finder": "^6.0 || ^7.0" + "symfony/finder": "^7.0" }, "require-dev": { "phpstan/phpstan": "^1.10", diff --git a/composer.lock b/composer.lock index a067aec..988b9ce 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "78cda4cc0207486ed1522d18a22ada0f", + "content-hash": "ff7378640684da8b3ca33188a315fb73", "packages": [ { "name": "8fold/php-xml-builder", @@ -2271,7 +2271,7 @@ "prefer-stable": true, "prefer-lowest": false, "platform": { - "php": "^8.1 || ^8.2" + "php": "^8.2" }, "platform-dev": [], "plugin-api-version": "2.3.0"