Skip to content

Commit 166f81c

Browse files
committed
Accept PHPUnit 11 and replace vimeo/psalm to psalm/phar
1 parent 48c25ec commit 166f81c

File tree

2 files changed

+381
-1245
lines changed

2 files changed

+381
-1245
lines changed

composer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
"license": "MIT",
1212
"require": {
1313
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
14-
"phpunit/phpunit": "^10.2.6"
14+
"phpunit/phpunit": "^10.2 || ^11.0"
1515
},
1616
"require-dev": {
1717
"friendsofphp/php-cs-fixer": "^3.15.1",
1818
"roave/security-advisories": "dev-latest",
19-
"vimeo/psalm": "^5.8.0",
20-
"rector/rector": "^0.18.0"
19+
"rector/rector": "^0.18.0",
20+
"psalm/phar": "^5.24"
2121
},
2222
"autoload": {
2323
"psr-4": {
@@ -38,10 +38,10 @@
3838
"test": [
3939
"@phpunit"
4040
],
41-
"psalm": "vendor/bin/psalm --no-progress",
42-
"psalm-cache-clear": "vendor/bin/psalm --clear-cache",
43-
"psalm-baseline": "vendor/bin/psalm --update-baseline",
44-
"psalm-reset-baseline": "vendor/bin/psalm --set-baseline=psalm-baseline.xml",
41+
"psalm": "vendor/bin/psalm.phar --no-progress",
42+
"psalm-cache-clear": "vendor/bin/psalm.phar --clear-cache",
43+
"psalm-baseline": "vendor/bin/psalm.phar --update-baseline",
44+
"psalm-reset-baseline": "vendor/bin/psalm.phar --set-baseline=psalm-baseline.xml",
4545
"php-cs-fix": "PHP_CS_FIXER_FUTURE_MODE=1 vendor/bin/php-cs-fixer fix --allow-risky=yes",
4646
"security": "composer update --dry-run roave/security-advisories",
4747
"phpunit": "vendor/bin/phpunit --testdox --order-by=random",

0 commit comments

Comments
 (0)