@@ -35,29 +35,38 @@ class Shorthand
3535 private static array $ map = [
3636 'action ' => [
3737 'branch ' => [
38- 'ensurenaming ' => Hook \Branch \Action \EnsureNaming::class,
38+ 'namemustmatchregex ' => Hook \Branch \Action \EnsureNaming::class,
3939 'preventpushoffixupandsquashcommits ' => Hook \Branch \Action \BlockFixupAndSquashCommits::class,
4040 ],
41+ 'tools ' => [
42+ 'checkcomposerlockfile ' => Hook \Composer \Action \CheckLockFile::class,
43+ 'phplint ' => Hook \PHP \Action \Linting::class,
44+ 'clovertestcoverage ' => Hook \PHP \Action \TestCoverage::class,
45+ ],
4146 'debug ' => [
4247 'fail ' => Hook \Debug \Failure::class,
4348 'ok ' => Hook \Debug \Success::class,
4449 ],
4550 'file ' => [
46- 'blocksecrets ' => Hook \Diff \Action \BlockSecrets::class,
47- 'doesnotcontainregex ' => Hook \File \Action \DoesNotContainRegex::class,
48- 'isnotempty ' => Hook \File \Action \IsNotEmpty::class,
49- 'maxsize ' => Hook \File \Action \MaxSize::class,
51+ 'blocksecrets ' => Hook \Diff \Action \BlockSecrets::class,
52+ 'contentmustnotmatchregex ' => Hook \File \Action \DoesNotContainRegex::class,
53+ 'maxsize ' => Hook \File \Action \MaxSize::class,
54+ 'mustbeempty ' => Hook \File \Action \IsEmpty::class,
55+ 'mustnotbeempty ' => Hook \File \Action \IsNotEmpty::class,
56+ 'mustexist ' => Hook \File \Action \Exists::class,
5057 ],
5158 'message ' => [
5259 'injectissuekeyfrombranch ' => Hook \Message \Action \InjectIssueKeyFromBranch::class,
5360 'cacheonfail ' => Hook \Message \Action \CacheOnFail::class,
61+ 'mustfollowrules ' => Hook \Message \Action \Rules::class,
5462 'mustfollowbeamsrules ' => Hook \Message \Action \Beams::class,
5563 'mustmatchregex ' => Hook \Message \Action \Regex::class,
5664 'preparefromfile ' => Hook \Message \Action \PrepareFromFile::class,
5765 'prepare ' => Hook \Message \Action \Prepare::class,
5866 ],
5967 'notify ' => [
60- 'gitnotify ' => Hook \Notify \Action \Notify::class,
68+ 'gitnotify ' => Hook \Notify \Action \Notify::class,
69+ 'askconfirmation ' => Hook \UserInput \AskConfirmation::class,
6170 ],
6271 ],
6372 'condition ' => [
0 commit comments