diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a3c94ac0..d3c65bbb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,10 +14,16 @@ jobs: matrix: php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3'] coverage: ['pcov'] + code-style: ['no'] code-analysis: ['no'] include: - php-versions: '7.1' coverage: 'none' + code-style: 'yes' + code-analysis: 'yes' + - php-versions: '8.4' + coverage: 'none' + code-style: 'no' code-analysis: 'yes' steps: - name: Checkout @@ -48,7 +54,7 @@ jobs: run: composer install --no-progress --prefer-dist --optimize-autoloader - name: Code Analysis (PHP CS-Fixer) - if: matrix.code-analysis == 'yes' + if: matrix.code-style == 'yes' run: php vendor/bin/php-cs-fixer fix --dry-run --diff - name: Code Analysis (PHPStan) diff --git a/composer.json b/composer.json index b08684bc..601cca82 100644 --- a/composer.json +++ b/composer.json @@ -38,7 +38,7 @@ }, "require-dev" : { "friendsofphp/php-cs-fixer": "~2.17.1", - "phpunit/phpunit" : "^7.5 || ^8.5 || ^9.0", + "phpunit/phpunit" : "^7.5 || ^8.5 || ^9.6", "phpunit/php-invoker" : "^2.0 || ^3.1", "phpstan/phpstan": "^0.12" },