mirror of
https://github.com/danog/phpdoc-parser.git
synced 2024-11-30 04:29:20 +01:00
Drop support for PHP 7.1, require PHPStan 1.5.0
This commit is contained in:
parent
337ff95c8e
commit
da41cc92f0
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user