diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3bb205d..01f0653 100755 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -284,8 +284,6 @@ jobs: if [[ $(find ./ -name "*tpl.php" | xargs grep -P '(style=)') -ne "" ]]; then exit 1; fi if [[ $(find ./ -name "*tpl.php" | xargs grep -P '(value|title|alt|aria\-label)(=\")((?!\<\?).)*(>)') -ne "" ]]; then exit 1; fi if [[ $(find ./ -name "*tpl.php" | xargs grep -P '(\|\|\|\)) -ne "" ]]; then exit 1; fi - - name: Js strict - run: if [[ $(grep -r -L "\"use strict\";" --include=*.js ./) -ne "" ]]; then exit 1; fi - name: Js inspection run: | if [[ $(grep -rlni "onafterprint=\|onbeforeprint=\|onbeforeunload=\|onerror=\|onhaschange=\|onload=\|onmessage=\|onoffline=\|ononline=\|onpagehide=\|onpageshow=\|onpopstate=\|onredo=\|onresize=\|onstorage=\|onund=o\|onunload=\|onblur=\|onchage=\|oncontextmenu=\|onfocus=\|onformchange=\|onforminput=\|oninput=\|oninvalid=\|onreset=\|onselect=\|onsubmit=\|onkeydown=\|onkeypress=\|onkeyup=\|onclick=\|ondblclic=k\|ondrag=\|ondragend=\|ondragenter=\|ondragleave=\|ondragover=\|ondragstart=\|ondrop=\|onmousedown=\|onmousemove=\|onmouseout=\|onmouseover=\|onmouseup=\|onmousewheel=\|onscroll=\|onabor=t\|oncanplay=\|oncanplaythrough=\|ondurationchange=\|onemptied=\|onended=\|onerror=\|onloadeddata=\|onloadedmetadata=\|onloadstart=\|onpause=\|onplay=\|onplaying=\|onprogress=\|onratechange=\|onreadystatechange=\|onseeked=\|onseeking=\|onstalled=\|onsuspend=\|ontimeupdate=\|onvolumechange=" --include=*.js ./) -ne "" ]]; then exit 1; fi diff --git a/Admin/Installer.php b/Admin/Installer.php index 9bfd7b7..d5d0c78 100755 --- a/Admin/Installer.php +++ b/Admin/Installer.php @@ -2,7 +2,7 @@ /** * Karaka * - * PHP Version 8.0 + * PHP Version 8.1 * * @package Modules\Search\Admin * @copyright Dennis Eichhorn diff --git a/Admin/Routes/Web/Api.php b/Admin/Routes/Web/Api.php index c537662..33c9cbf 100755 --- a/Admin/Routes/Web/Api.php +++ b/Admin/Routes/Web/Api.php @@ -2,7 +2,7 @@ /** * Karaka * - * PHP Version 8.0 + * PHP Version 8.1 * * @package Modules * @copyright Dennis Eichhorn diff --git a/Admin/Routes/Web/Backend.php b/Admin/Routes/Web/Backend.php index 298429f..01ce453 100755 --- a/Admin/Routes/Web/Backend.php +++ b/Admin/Routes/Web/Backend.php @@ -2,7 +2,7 @@ /** * Karaka * - * PHP Version 8.0 + * PHP Version 8.1 * * @package Modules * @copyright Dennis Eichhorn diff --git a/Admin/Status.php b/Admin/Status.php index b81d2a3..62de3fc 100755 --- a/Admin/Status.php +++ b/Admin/Status.php @@ -2,7 +2,7 @@ /** * Karaka * - * PHP Version 8.0 + * PHP Version 8.1 * * @package Modules\Search\Admin * @copyright Dennis Eichhorn diff --git a/Admin/Uninstaller.php b/Admin/Uninstaller.php index efdb37e..8fc9500 100755 --- a/Admin/Uninstaller.php +++ b/Admin/Uninstaller.php @@ -2,7 +2,7 @@ /** * Karaka * - * PHP Version 8.0 + * PHP Version 8.1 * * @package Modules\Search\Admin * @copyright Dennis Eichhorn diff --git a/Admin/Updater.php b/Admin/Updater.php index 5a4b279..44f9b58 100755 --- a/Admin/Updater.php +++ b/Admin/Updater.php @@ -2,7 +2,7 @@ /** * Karaka * - * PHP Version 8.0 + * PHP Version 8.1 * * @package Modules\Search\Admin * @copyright Dennis Eichhorn diff --git a/Controller/ApiController.php b/Controller/ApiController.php index 8ee9c96..78433b9 100755 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -2,7 +2,7 @@ /** * Karaka * - * PHP Version 8.0 + * PHP Version 8.1 * * @package Modules\Search * @copyright Dennis Eichhorn diff --git a/Controller/Controller.php b/Controller/Controller.php index 4d810ac..b16bc5d 100755 --- a/Controller/Controller.php +++ b/Controller/Controller.php @@ -2,7 +2,7 @@ /** * Karaka * - * PHP Version 8.0 + * PHP Version 8.1 * * @package Modules\Search * @copyright Dennis Eichhorn diff --git a/Models/PermissionCategory.php b/Models/PermissionCategory.php index fa9c17a..2d5c6d8 100755 --- a/Models/PermissionCategory.php +++ b/Models/PermissionCategory.php @@ -2,7 +2,7 @@ /** * Karaka * - * PHP Version 8.0 + * PHP Version 8.1 * * @package Modules\Search\Models * @copyright Dennis Eichhorn diff --git a/SearchCommands.php b/SearchCommands.php index 86ab1a2..33afa76 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:searchTag', - 'verb' => 16, + 'dest' => '\Modules\Tasks\Controller\SearchController:searchTag', + 'verb' => 16, 'permission' => [ 'module' => 'Tasks', - 'type' => 2, + 'type' => 2, ], ], ], -]; +]; \ No newline at end of file diff --git a/tests/Admin/AdminTest.php b/tests/Admin/AdminTest.php index 6585d10..a4c3ae3 100755 --- a/tests/Admin/AdminTest.php +++ b/tests/Admin/AdminTest.php @@ -2,7 +2,7 @@ /** * Karaka * - * PHP Version 8.0 + * PHP Version 8.1 * * @package tests * @copyright Dennis Eichhorn diff --git a/tests/Autoloader.php b/tests/Autoloader.php index 2a73074..d7fd765 100755 --- a/tests/Autoloader.php +++ b/tests/Autoloader.php @@ -2,7 +2,7 @@ /** * Karaka * - * PHP Version 8.0 + * PHP Version 8.1 * * @package Modules/tests * @copyright Dennis Eichhorn diff --git a/tests/Controller/ApiControllerTest.php b/tests/Controller/ApiControllerTest.php index 8bcd895..59c6254 100644 --- a/tests/Controller/ApiControllerTest.php +++ b/tests/Controller/ApiControllerTest.php @@ -2,7 +2,7 @@ /** * Karaka * - * PHP Version 8.0 + * PHP Version 8.1 * * @package tests * @copyright Dennis Eichhorn