-
- Downloads
Require phpunit directly instead of through the symfony bridge
So the testing dependencies are pinned as well.
parent
3e837e43
No related branches found
No related tags found
... | @@ -32,6 +32,7 @@ | ... | @@ -32,6 +32,7 @@ |
"friendsofphp/php-cs-fixer": "^3.0", | "friendsofphp/php-cs-fixer": "^3.0", | ||
"phpstan/phpstan": "^1.0.0", | "phpstan/phpstan": "^1.0.0", | ||
"phpstan/phpstan-phpunit": "^1.0.0", | "phpstan/phpstan-phpunit": "^1.0.0", | ||
"phpunit/phpunit": "^9", | |||
"symfony/browser-kit": "^5.3", | "symfony/browser-kit": "^5.3", | ||
"symfony/http-client": "^5.3", | "symfony/http-client": "^5.3", | ||
"symfony/phpunit-bridge": "^5.3", | "symfony/phpunit-bridge": "^5.3", | ||
... | @@ -70,14 +71,12 @@ | ... | @@ -70,14 +71,12 @@ |
"post-install-cmd": "cghooks add --ignore-lock", | "post-install-cmd": "cghooks add --ignore-lock", | ||
"post-update-cmd": "cghooks update", | "post-update-cmd": "cghooks update", | ||
"test": [ | "test": [ | ||
"@php vendor/bin/simple-phpunit" | "@php vendor/bin/phpunit" | ||
], | ], | ||
"phpstan": [ | "phpstan": [ | ||
"@php vendor/bin/simple-phpunit --atleast-version 0", | |||
"@php vendor/bin/phpstan analyze --ansi" | "@php vendor/bin/phpstan analyze --ansi" | ||
], | ], | ||
"psalm": [ | "psalm": [ | ||
"@php vendor/bin/simple-phpunit --atleast-version 0", | |||
"@php vendor/bin/psalm" | "@php vendor/bin/psalm" | ||
], | ], | ||
"lint": [ | "lint": [ | ||
... | @@ -92,7 +91,7 @@ | ... | @@ -92,7 +91,7 @@ |
"@php vendor/bin/php-cs-fixer --ansi fix --dry-run --diff" | "@php vendor/bin/php-cs-fixer --ansi fix --dry-run --diff" | ||
], | ], | ||
"coverage": [ | "coverage": [ | ||
"@php -dxdebug.mode=coverage vendor/bin/simple-phpunit --coverage-html _coverage" | "@php -dxdebug.mode=coverage vendor/bin/phpunit --coverage-html _coverage" | ||
] | ] | ||
} | } | ||
} | } |
This diff is collapsed.
Please register or sign in to comment