diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 58121a03..d147fe82 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php: [8.1, 8.2, 8.3] + php: [8.2, 8.3] steps: - uses: actions/checkout@v3 @@ -23,7 +23,7 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} - # extensions: json, dom, curl, libxml, mbstring + extensions: json, curl, mbstring coverage: none - name: Validate composer.json and composer.lock @@ -44,5 +44,5 @@ jobs: - name: Lint run: php vendor/bin pint --test - - name: Check PHP 8.1+ compatibility + - name: Check PHP 8.2+ compatibility run: composer php-compatibility-check diff --git a/composer.json b/composer.json index 69b9ab60..5dd0355d 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ } ], "require": { - "php": ">=8.1", + "php": ">=8.2", "ext-curl": "*", "ext-json": "*", "ext-mbstring": "*", @@ -58,7 +58,7 @@ "@php-compatibility-check" ], "pint": "php vendor/bin/pint", - "php-compatibility-check": "./vendor/bin/phpcs -p ./src ./bin --standard=PHPCompatibility --runtime-set testVersion 8.1-", + "php-compatibility-check": "./vendor/bin/phpcs -p ./src ./bin --standard=PHPCompatibility --runtime-set testVersion 8.2-", "post-install-cmd": "\"vendor/bin/phpcs\" --config-set installed_paths vendor/phpcompatibility/php-compatibility", "post-update-cmd": "\"vendor/bin/phpcs\" --config-set installed_paths vendor/phpcompatibility/php-compatibility" },