Skip to content

Commit 5efb853

Browse files
Add missing shorthands
1 parent 551443c commit 5efb853

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

src/Runner/Shorthand.php

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ class Shorthand
3333
* @var array<string, array<string, array<string, string>>>
3434
*/
3535
private static array $map = [
36-
'action' => [
36+
'action' => [
3737
'branch' => [
3838
'namemustmatchregex' => Hook\Branch\Action\EnsureNaming::class,
3939
'preventpushoffixupandsquashcommits' => Hook\Branch\Action\BlockFixupAndSquashCommits::class,
4040
],
41-
'tools' => [
41+
'tools' => [
4242
'checkcomposerlockfile' => Hook\Composer\Action\CheckLockFile::class,
4343
'phplint' => Hook\PHP\Action\Linting::class,
4444
'clovertestcoverage' => Hook\PHP\Action\TestCoverage::class,
@@ -70,13 +70,16 @@ class Shorthand
7070
],
7171
],
7272
'condition' => [
73-
'config' => [
73+
'config' => [
7474
'customvalueistruthy' => Hook\Condition\Config\CustomValueIsTruthy::class,
7575
'customvalueisfalsy' => Hook\Condition\Config\CustomValueIsFalsy::class,
7676
],
7777
'filechanged' => [
78-
'any' => Hook\Condition\FileChanged\Any::class,
79-
'all' => Hook\Condition\FileChanged\All::class,
78+
'any' => Hook\Condition\FileChanged\Any::class,
79+
'all' => Hook\Condition\FileChanged\All::class,
80+
'indirectory' => Hook\Condition\FileChanged\InDirectory::class,
81+
'oftype' => Hook\Condition\FileChanged\OfType::class,
82+
'thatis' => Hook\Condition\FileChanged\ThatIs::class,
8083
],
8184
'filestaged' => [
8285
'all' => Hook\Condition\FileStaged\All::class,

0 commit comments

Comments
 (0)