Skip to content

Commit f8952da

Browse files
committed
Update captainhook.json to cross-platform friendly
1 parent 63c7aa8 commit f8952da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

captainhook.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
"enabled": true,
44
"actions": [
55
{
6-
"action": "vendor/bin/phpstan analyse --memory-limit 300M"
6+
"action": "php vendor/bin/phpstan analyse --memory-limit 300M"
77
}
88
]
99
},
1010
"pre-commit": {
1111
"enabled": true,
1212
"actions": [
1313
{
14-
"action": "vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.php --dry-run --diff {$STAGED_FILES|of-type:php} --sequential",
14+
"action": "php vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.php --dry-run --diff {$STAGED_FILES|of-type:php} --sequential",
1515
"conditions": [
1616
{
1717
"exec": "\\CaptainHook\\App\\Hook\\Condition\\FileStaged\\OfType",

0 commit comments

Comments
 (0)