We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63c7aa8 commit f8952daCopy full SHA for f8952da
captainhook.json
@@ -3,15 +3,15 @@
3
"enabled": true,
4
"actions": [
5
{
6
- "action": "vendor/bin/phpstan analyse --memory-limit 300M"
+ "action": "php vendor/bin/phpstan analyse --memory-limit 300M"
7
}
8
]
9
},
10
"pre-commit": {
11
12
13
14
- "action": "vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.php --dry-run --diff {$STAGED_FILES|of-type:php} --sequential",
+ "action": "php vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.php --dry-run --diff {$STAGED_FILES|of-type:php} --sequential",
15
"conditions": [
16
17
"exec": "\\CaptainHook\\App\\Hook\\Condition\\FileStaged\\OfType",
0 commit comments