diff --git a/captainhook.json b/captainhook.json index 6a7b2f4f..233e387e 100644 --- a/captainhook.json +++ b/captainhook.json @@ -3,7 +3,7 @@ "enabled": true, "actions": [ { - "action": "vendor/bin/phpstan analyse --memory-limit 300M" + "action": "php vendor/bin/phpstan analyse --memory-limit 300M" } ] }, @@ -11,7 +11,7 @@ "enabled": true, "actions": [ { - "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", "conditions": [ { "exec": "\\CaptainHook\\App\\Hook\\Condition\\FileStaged\\OfType",