Skip to content

Commit cc0d7a6

Browse files
committed
ci(composer): run php-cs-fixer and psalm with PHP of the callee
Signed-off-by: Arthur Schiwon <[email protected]>
1 parent 93ece7d commit cc0d7a6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323
"post-update-cmd": [
2424
"[ $COMPOSER_DEV_MODE -eq 0 ] || composer bin all update --ansi"
2525
],
26-
"cs:fix": "php-cs-fixer fix",
27-
"cs:check": "php-cs-fixer fix --dry-run --diff",
28-
"psalm": "psalm",
29-
"psalm:fix": "psalm --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType",
30-
"psalm:update-baseline": "psalm --threads=1 --update-baseline",
26+
"cs:fix": "@php php-cs-fixer fix",
27+
"cs:check": "@php php-cs-fixer fix --dry-run --diff",
28+
"psalm": "@php psalm",
29+
"psalm:fix": "@php psalm --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType",
30+
"psalm:update-baseline": "@php psalm --threads=1 --update-baseline",
3131
"lint": "find . -name \\*.php -not -path '*/vendor/*' -print0 | xargs -0 -n1 php -l",
3232
"rector:check": "rector --dry-run",
3333
"rector:fix": "rector",

0 commit comments

Comments
 (0)