diff --git a/.github/workflows/code_analysis.yaml b/.github/workflows/code_analysis.yaml index 6c1a966..04d7d95 100644 --- a/.github/workflows/code_analysis.yaml +++ b/.github/workflows/code_analysis.yaml @@ -9,7 +9,13 @@ jobs: strategy: fail-fast: false matrix: - php: ['7.3', '7.4', '8.0', '8.1'] + php: + # - '7.1' # incompatible tester + - '7.2' + - '7.3' + - '7.4' + - '8.0' + # - '8.1' # not yet compatible (PHP 8.1 RC2) actions: - name: PHPStan run: composer phpstan @@ -45,8 +51,6 @@ jobs: ${{ steps.composer-cache.outputs.dir }} **/composer.lock key: ${{ runner.os }}-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }} - restore-keys: | - ${{ runner.os }}-${{ matrix.php }}-composer- - name: Install Composer diff --git a/composer.json b/composer.json index 57222af..728c001 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ "nette/utils": "^3.0" }, "require-dev": { - "phpstan/phpstan": "^0.12.83", + "phpstan/phpstan": "^0.12.98", "nette/tester": "^2.4" }, "autoload": {