mirror of
https://github.com/danog/phpdoc-parser.git
synced 2024-11-26 20:15:11 +01:00
chore: Use the latest PHPUnit wherever possible
See https://github.com/phpstan/phpstan-symfony/pull/162
This commit is contained in:
parent
0840ee4b48
commit
dff3ee149b
19
.github/workflows/build.yml
vendored
19
.github/workflows/build.yml
vendored
@ -38,10 +38,9 @@ jobs:
|
||||
- name: "Install dependencies"
|
||||
run: "composer install --no-interaction --no-progress --no-suggest"
|
||||
|
||||
- name: "Update PHPUnit"
|
||||
if: matrix.php-version == '7.4' || matrix.php-version == '8.0'
|
||||
run: "composer require --dev phpunit/phpunit:'^9.5' --update-with-dependencies"
|
||||
|
||||
- name: "Downgrade PHPUnit"
|
||||
if: matrix.php-version == '7.1' || matrix.php-version == '7.2' || matrix.php-version == '7.3'
|
||||
run: "composer require --dev phpunit/phpunit:^7.5.20 --update-with-dependencies"
|
||||
|
||||
- name: "Lint"
|
||||
run: "make lint"
|
||||
@ -108,9 +107,9 @@ jobs:
|
||||
if: ${{ matrix.dependencies == 'highest' }}
|
||||
run: "composer update --no-interaction --no-progress --no-suggest"
|
||||
|
||||
- name: "Update PHPUnit"
|
||||
if: matrix.php-version == '7.4' || matrix.php-version == '8.0'
|
||||
run: "composer require --dev phpunit/phpunit:'^9.5' --update-with-dependencies"
|
||||
- name: "Downgrade PHPUnit"
|
||||
if: matrix.php-version == '7.1' || matrix.php-version == '7.2' || matrix.php-version == '7.3'
|
||||
run: "composer require --dev phpunit/phpunit:^7.5.20 --update-with-dependencies"
|
||||
|
||||
- name: "Tests"
|
||||
run: "make tests"
|
||||
@ -144,9 +143,9 @@ jobs:
|
||||
- name: "Install dependencies"
|
||||
run: "composer update --no-interaction --no-progress --no-suggest"
|
||||
|
||||
- name: "Update PHPUnit"
|
||||
if: matrix.php-version == '7.4' || matrix.php-version == '8.0'
|
||||
run: "composer require --dev phpunit/phpunit:'^9.5' --update-with-dependencies"
|
||||
- name: "Downgrade PHPUnit"
|
||||
if: matrix.php-version == '7.1' || matrix.php-version == '7.2' || matrix.php-version == '7.3'
|
||||
run: "composer require --dev phpunit/phpunit:^7.5.20 --update-with-dependencies"
|
||||
|
||||
- name: "PHPStan"
|
||||
run: "make phpstan"
|
||||
|
@ -10,7 +10,7 @@
|
||||
"phpstan/extension-installer": "^1.0",
|
||||
"phpstan/phpstan": "^0.12.60",
|
||||
"phpstan/phpstan-strict-rules": "^0.12.5",
|
||||
"phpunit/phpunit": "^7.5.20",
|
||||
"phpunit/phpunit": "^9.5",
|
||||
"symfony/process": "^5.2"
|
||||
},
|
||||
"config": {
|
||||
|
Loading…
Reference in New Issue
Block a user