Drop support for PHP 7.1, require PHPStan 1.5.0

This commit is contained in:
Ondrej Mirtes 2022-03-28 09:15:57 +02:00
parent 337ff95c8e
commit da41cc92f0
No known key found for this signature in database
GPG Key ID: CF1A108D0E7AE720
2 changed files with 5 additions and 8 deletions

View File

@ -16,7 +16,6 @@ jobs:
strategy:
matrix:
php-version:
- "7.1"
- "7.2"
- "7.3"
- "7.4"
@ -40,7 +39,7 @@ jobs:
run: "composer install --no-interaction --no-progress"
- name: "Downgrade PHPUnit"
if: matrix.php-version == '7.1' || matrix.php-version == '7.2' || matrix.php-version == '7.3'
if: matrix.php-version == '7.2' || matrix.php-version == '7.3'
run: "composer require --dev phpunit/phpunit:^7.5.20 --update-with-dependencies"
- name: "Lint"
@ -81,7 +80,6 @@ jobs:
fail-fast: false
matrix:
php-version:
- "7.1"
- "7.2"
- "7.3"
- "7.4"
@ -110,7 +108,7 @@ jobs:
run: "composer update --no-interaction --no-progress"
- name: "Downgrade PHPUnit"
if: matrix.php-version == '7.1' || matrix.php-version == '7.2' || matrix.php-version == '7.3'
if: matrix.php-version == '7.2' || matrix.php-version == '7.3'
run: "composer require --dev phpunit/phpunit:^7.5.20 --update-with-dependencies"
- name: "Tests"
@ -124,7 +122,6 @@ jobs:
fail-fast: false
matrix:
php-version:
- "7.1"
- "7.2"
- "7.3"
- "7.4"
@ -147,7 +144,7 @@ jobs:
run: "composer update --no-interaction --no-progress"
- name: "Downgrade PHPUnit"
if: matrix.php-version == '7.1' || matrix.php-version == '7.2' || matrix.php-version == '7.3'
if: matrix.php-version == '7.2' || matrix.php-version == '7.3'
run: "composer require --dev phpunit/phpunit:^7.5.20 --update-with-dependencies"
- name: "PHPStan"

View File

@ -3,12 +3,12 @@
"description": "PHPDoc parser with support for nullable, intersection and generic types",
"license": "MIT",
"require": {
"php": "^7.1 || ^8.0"
"php": "^7.2 || ^8.0"
},
"require-dev": {
"php-parallel-lint/php-parallel-lint": "^1.2",
"phpstan/extension-installer": "^1.0",
"phpstan/phpstan": "^1.0",
"phpstan/phpstan": "^1.5",
"phpstan/phpstan-strict-rules": "^1.0",
"phpunit/phpunit": "^9.5",
"symfony/process": "^5.2"