diff --git a/.github/workflows/code_checks.yml b/.github/workflows/code_checks.yml index 7178146..03c15c0 100644 --- a/.github/workflows/code_checks.yml +++ b/.github/workflows/code_checks.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php: ['8.1', '8.2', '8.3', '8.4'] + php: ['8.1', '8.2', '8.3', '8.4', '8.5'] name: PHP ${{ matrix.php }} tests steps: @@ -33,8 +33,8 @@ jobs: - name: Static analysis for tests run: ./vendor/bin/phpstan analyse -l 5 test - name: Code Style - if: ${{ matrix.php != '8.4' }} + if: ${{ matrix.php != '8.4' && matrix.php != '8.5' }} run: ./vendor/bin/php-cs-fixer fix --dry-run --verbose --config .php-cs-fixer.dist.php ./src ./test - name: Code Style - if: ${{ matrix.php == '8.4' }} + if: ${{ matrix.php == '8.4' || matrix.php == '8.5' }} run: PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --dry-run --verbose --config .php-cs-fixer.dist.php ./src ./test diff --git a/composer.json b/composer.json index 84729a9..7d903a2 100644 --- a/composer.json +++ b/composer.json @@ -6,7 +6,7 @@ "homepage": "https://github.com/genkgo/archive-stream", "license": "MIT", "require": { - "php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0", + "php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0", "psr/http-message": "~1.0 || ~2.0", "ext-gmp": "*" },