{ "config": { "ansi-colors": true, "fail-on-first-error": false, "plugins": [], "verbosity": "normal" }, "commit-msg": { "enabled": true, "actions": [ { "action": "\\Ramsey\\CaptainHook\\ValidateConventionalCommit" } ] }, "pre-push": { "enabled": true, "actions": [ { "action": "composer test" } ] }, "pre-commit": { "enabled": true, "actions": [ { "action": "composer validate", "conditions": [ { "exec": "\\CaptainHook\\App\\Hook\\Condition\\FileStaged\\Any", "args": [["composer.json"]] } ] }, { "action": "composer normalize --dry-run", "conditions": [ { "exec": "\\CaptainHook\\App\\Hook\\Condition\\FileStaged\\Any", "args": [["composer.json"]] } ] }, { "action": "composer dev:lint:syntax -- {$STAGED_FILES|of-type:php}", "conditions": [ { "exec": "\\CaptainHook\\App\\Hook\\Condition\\FileStaged\\OfType", "args": ["php"] } ] }, { "action": "composer dev:lint:style -- {$STAGED_FILES|of-type:php}", "conditions": [ { "exec": "\\CaptainHook\\App\\Hook\\Condition\\FileStaged\\OfType", "args": ["php"] } ] } ] }, "prepare-commit-msg": { "enabled": true, "actions": [ { "action": "\\Ramsey\\CaptainHook\\PrepareConventionalCommit" } ] }, "post-commit": { "enabled": false, "actions": [] }, "post-merge": { "enabled": true, "actions": [ { "action": "composer install --ansi", "conditions": [ { "exec": "\\CaptainHook\\App\\Hook\\Condition\\FileChanged\\Any", "args": [["composer.json", "composer.lock"]] } ] } ] }, "post-checkout": { "enabled": true, "actions": [ { "action": "composer install --ansi", "conditions": [ { "exec": "\\CaptainHook\\App\\Hook\\Condition\\FileChanged\\Any", "args": [["composer.json", "composer.lock"]] } ] } ] }, "post-rewrite": { "enabled": false, "actions": [] }, "post-change": { "enabled": false, "actions": [] } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
.git | Folder | 0755 |
|
|
.github | Folder | 0755 |
|
|
build | Folder | 0755 |
|
|
docs | Folder | 0755 |
|
|
src | Folder | 0755 |
|
|
tests | Folder | 0755 |
|
|
.editorconfig | File | 292 B | 0644 |
|
.gitattributes | File | 703 B | 0644 |
|
.gitignore | File | 73 B | 0644 |
|
CHANGELOG.md | File | 5.67 KB | 0644 |
|
CODE_OF_CONDUCT.md | File | 5.48 KB | 0644 |
|
CONTRIBUTING.md | File | 5.99 KB | 0644 |
|
LICENSE | File | 1.07 KB | 0644 |
|
README.md | File | 3.6 KB | 0644 |
|
SECURITY.md | File | 7.67 KB | 0644 |
|
captainhook.json | File | 3.17 KB | 0644 |
|
codecov.yml | File | 475 B | 0644 |
|
composer.json | File | 4.34 KB | 0644 |
|
conventional-commits.json | File | 432 B | 0644 |
|
phpcs.xml.dist | File | 702 B | 0644 |
|
phpstan.neon.dist | File | 316 B | 0644 |
|
phpunit.xml.dist | File | 657 B | 0644 |
|
psalm-baseline.xml | File | 278 B | 0644 |
|
psalm.xml | File | 825 B | 0644 |
|