-
Inside `pre-commit`, we can use `\CaptainHook\App\Hook\Condition\FileStaged\OfType` to only execute an action if a file of a specific type is staged.
I would like to have similar functionality inside…
-
As this is a good practice to keep commit easy and smooth, I try to keep my pre-commit hooks as fast as possible, so I limit what will run. However, I would like to provide feedback to developers fast…
-
Provide a pre-commit hook to check the code style / run quick tests
- PHP based, e.g. https://github.com/captainhookphp/captainhook
- Python based, e.g. https://pre-commit.com/
- Plain and simple…
-
## Describe the bug
After upgrading Magento to 2.4.6 I am getting this error:
Magento Core Commands cannot be loaded. Please verify if "bin/magento" is running.
Only n98-magerun2 commands are…
-
Is there a way to prevent captain hook from triggering during rebase? I tried adding `--no-verify` but the hook is still being triggered, and then some checks may fail during the rebase and I cannot c…
-
The idea is to allow specific `Actions` to fail by adding a `settings` section to `Actions`
```
"actions": [
{
"action": "some action to execute",
"options": {
"…
-
Calling `vendor/bin/captainhook install post-change` creates a hook file in `.git/hooks/post-change` which does not make sense as it is only a "virtual hook" by captainhook. So this one should better …
-
@adrianbj I noticed exceptions getting thrown unexpectedly here and eventually tracked it down to a hook added in TracyDebugger.module.php:
~~~~~
// override default PW core behavior that converts e…
-
Emitted in /Users/janschneider/.composer/vendor/vimeo/psalm/src/Psalm/Internal/Provider/ClassLikeStorageProvider.php:45
This is a strange class name it is looking for, obviously not from my code ba…
-
Currently if I type a commit message and it is rejected, then I have to commit again, and re-type everything (which could have been a significant amount of code).
Would be good to automatically res…