add phpunit extensions

This commit is contained in:
sunxyw 2022-05-15 16:38:37 +08:00
parent e7e77c99d0
commit cf21044cf7
No known key found for this signature in database
GPG Key ID: CEA01A083E98C578

View File

@ -36,7 +36,10 @@
"brainmaestro/composer-git-hooks": "^2.8", "brainmaestro/composer-git-hooks": "^2.8",
"friendsofphp/php-cs-fixer": "^3.2 != 3.7.0", "friendsofphp/php-cs-fixer": "^3.2 != 3.7.0",
"jetbrains/phpstorm-attributes": "^1.0", "jetbrains/phpstorm-attributes": "^1.0",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^1.1", "phpstan/phpstan": "^1.1",
"phpstan/phpstan-deprecation-rules": "^1.0",
"phpstan/phpstan-phpunit": "^1.1",
"phpunit/phpunit": "^8.5 || ^9.0", "phpunit/phpunit": "^8.5 || ^9.0",
"roave/security-advisories": "dev-latest", "roave/security-advisories": "dev-latest",
"swoole/ide-helper": "^4.5" "swoole/ide-helper": "^4.5"
@ -72,7 +75,10 @@
], ],
"config": { "config": {
"optimize-autoloader": true, "optimize-autoloader": true,
"sort-packages": true "sort-packages": true,
"allow-plugins": {
"phpstan/extension-installer": true
}
}, },
"extra": { "extra": {
"hooks": { "hooks": {