registration fixes

This commit is contained in:
Dennis Eichhorn 2023-03-24 16:20:20 +01:00
parent 26e0b3e74c
commit 0bf50aa1e8
6 changed files with 7 additions and 8 deletions

View File

@ -24,6 +24,7 @@
<exclude-pattern>*/Routes/*</exclude-pattern>
<exclude-pattern>*/Tools/*</exclude-pattern>
<exclude-pattern>*/tests/*</exclude-pattern>
<exclude-pattern>*/Sandbox/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/OAuth2/*</exclude-pattern><!-- @todo: temporarily disabled-->
<exclude-pattern>*/Mail/*</exclude-pattern><!-- @todo: temporarily disabled-->

View File

@ -55,8 +55,6 @@ parameters:
- '#expects phpOMS\\Algorithm\\PathFinding\\JumpPointNode\|null, phpOMS\\Algorithm\\PathFinding\\Node\|null given#'
- '#should return array<phpOMS\\Algorithm\\PathFinding\\Node> but returns array<int, phpOMS\\Algorithm\\PathFinding\\Node\|null#'
- '#^Offset .* does not exist on array.*#'
- '#.* mixed given.*#'
- '#.*call method getData\(\) on mixed.*#'
- '#.*refClass with generic class ReflectionClass but does not specify its types.*#'
- '#.*Cannot cast mixed to.*#'
- '#.*Instantiated class .*\\WorkflowInstance.*#'

View File

@ -6,7 +6,7 @@
*
* @package Helper
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/

View File

@ -6,7 +6,7 @@
*
* @package Helper
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
@ -63,7 +63,7 @@ foreach ($modules as $module) {
. ' *' . "\n"
. ' * @package tests' . "\n"
. ' * @copyright Dennis Eichhorn' . "\n"
. ' * @license OMS License 1.0' . "\n"
. ' * @license OMS License 2.0' . "\n"
. ' * @version 1.0.0' . "\n"
. ' * @link https://jingga.app' . "\n"
. ' */' . "\n"

View File

@ -5,7 +5,7 @@ BPATH=$(dirname "$SCRIPT")
# php/js strict checks
printf "\nStrict checks\n\n"
grep -r -L "declare(strict_types=1);" --include=*.php --exclude-dir={*vendor*,*Files*,*privateSetup*,*demoSetup*} --exclude={*.tpl.php,*Hooks.php,*Routes.php,*SearchCommands.php} ${BPATH}/../../phpOMS ${BPATH}/../../Web ${BPATH}/../../Modules ${BPATH}/../../Model
grep -r -L "declare(strict_types=1);" --include=*.php --exclude-dir={*vendor*,*Files*,*privateSetup*,*demoSetup*,*LanguageDetection*} --exclude={*.tpl.php,*Hooks.php,*Routes.php,*SearchCommands.php} ${BPATH}/../../phpOMS ${BPATH}/../../Web ${BPATH}/../../Modules ${BPATH}/../../Model
# js uses on actions
printf "\nJs Action checks\n\n"
@ -19,4 +19,4 @@ printf "\nPHPStan checks\n\n"
./vendor/bin/phpstan analyse --autoload-file=phpOMS/Autoloader.php -l 9 -c Build/Config/phpstan.neon ./
printf "\nESlint checks\n\n"
npx eslint jsOMS/ -c Build/Config/.eslintrc.json
npx eslint jsOMS/ -c Build/Config/.eslintrc.json

View File

@ -8,7 +8,7 @@
*
* @package Modules\HumanResourceManagement
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/