From 2efef44438471ec3d7424933c6d9554533ddf2b5 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 3 Oct 2021 01:25:38 +0200 Subject: [PATCH] bug fixes --- SearchCommands.php | 49 +++++++++++++++++++-------------------- tests/phpunit_default.xml | 1 + 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/SearchCommands.php b/SearchCommands.php index 0903e46..e1994d4 100644 --- a/SearchCommands.php +++ b/SearchCommands.php @@ -1,67 +1,66 @@ - [ 0 => [ - 'dest' => '\Modules\Help\Controller\SearchController:searchHelp', - 'verb' => 16, + 'dest' => '\Modules\Help\Controller\SearchController:searchHelp', + 'verb' => 16, 'permission' => [ 'module' => 'Help', - 'type' => 2, - 'state' => 2, + 'type' => 2, + 'state' => 2, ], ], ], '^:help :user .*$' => [ 0 => [ - 'dest' => '\Modules\Help\Controller\SearchController:searchHelp', - 'verb' => 16, + 'dest' => '\Modules\Help\Controller\SearchController:searchHelp', + 'verb' => 16, 'permission' => [ 'module' => 'Help', - 'type' => 2, - 'state' => 2, + 'type' => 2, + 'state' => 2, ], ], ], '^:help :dev .*$' => [ 0 => [ - 'dest' => '\Modules\Help\Controller\SearchController:searchHelp', - 'verb' => 16, + 'dest' => '\Modules\Help\Controller\SearchController:searchHelp', + 'verb' => 16, 'permission' => [ 'module' => 'Help', - 'type' => 2, - 'state' => 3, + 'type' => 2, + 'state' => 3, ], ], ], '^:help :module .*$' => [ 0 => [ - 'dest' => '\Modules\Help\Controller\SearchController:searchHelp', - 'verb' => 16, + 'dest' => '\Modules\Help\Controller\SearchController:searchHelp', + 'verb' => 16, 'permission' => [ 'module' => 'Help', - 'type' => 2, - 'state' => 2, + 'type' => 2, + 'state' => 2, ], ], ], '^:goto .*$' => [ 0 => [ - 'dest' => '\Modules\Navigation\Controller\SearchController:searchGoto', - 'verb' => 16, + 'dest' => '\Modules\Navigation\Controller\SearchController:searchGoto', + 'verb' => 16, 'permission' => [ 'module' => 'Navigation', - 'type' => 2, + 'type' => 2, ], ], ], '^:tag .*$' => [ 0 => [ - 'dest' => '\Modules\Tasks\Controller\SearchController:searchTags', - 'verb' => 16, + 'dest' => '\Modules\Tasks\Controller\SearchController:searchTags', + 'verb' => 16, 'permission' => [ 'module' => 'Tasks', - 'type' => 2, + 'type' => 2, ], ], ], -]; +]; \ No newline at end of file diff --git a/tests/phpunit_default.xml b/tests/phpunit_default.xml index 0419dd8..722365c 100755 --- a/tests/phpunit_default.xml +++ b/tests/phpunit_default.xml @@ -20,6 +20,7 @@ ../**/test* ../**/Theme* ../**/Admin/Routes* + ../**/Admin/Hooks* ../**/Admin/Install* ../Media/Files*