Skip to content

Commit

Permalink
add composer static-clear-cache script
Browse files Browse the repository at this point in the history
  • Loading branch information
Chemaclass committed Dec 3, 2023
1 parent 6e1d41e commit facdc85
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@
}
},
"scripts": {
"test": "@test-all",
"test": [
"@static-clear-cache",
"@test-all"
],
"test-all": [
"@test-quality",
"@test-phpunit"
Expand All @@ -42,7 +45,10 @@
"psalm": "./vendor/bin/psalm",
"phpstan": "./vendor/bin/phpstan",
"csfix": "./vendor/bin/php-cs-fixer fix",
"csrun": "./vendor/bin/php-cs-fixer fix --dry-run"
"csrun": "./vendor/bin/php-cs-fixer fix --dry-run",
"static-clear-cache": ["@clear-cache-psalm", "@clear-cache-phpstan"],
"clear-cache-psalm": "XDEBUG_MODE=off vendor/bin/psalm --clear-cache",
"clear-cache-phpstan": "XDEBUG_MODE=off vendor/bin/phpstan clear-result-cache"
},
"config": {
"platform": {
Expand Down

0 comments on commit facdc85

Please sign in to comment.