update versions and baselines

This commit is contained in:
Dennis Eichhorn 2020-02-25 22:15:12 +01:00
parent 5472bd2f4f
commit b1fb6e7b8d
4 changed files with 1922 additions and 20 deletions

View File

@ -15,6 +15,7 @@
<exclude-pattern>*/Modules/Media/Files/*</exclude-pattern>
<exclude-pattern>*/node_modules/*</exclude-pattern>
<exclude-pattern>*/Resources/*</exclude-pattern>
<exclude-pattern>*/Web/*</exclude-pattern>
<exclude-pattern>*/Routes/*</exclude-pattern>
<exclude-pattern>*/tests/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>

File diff suppressed because it is too large Load Diff

View File

@ -6,6 +6,7 @@ parameters:
- php
reportUnmatchedIgnoredErrors: false
inferPrivatePropertyTypeFromConstructor: true
checkMissingIterableValueType: false
excludes_analyse:
- *.tpl.php
- */tests/*
@ -30,12 +31,13 @@ parameters:
- */node_modules/*
- */Modules/Shop/Admin/Install/Application/*
- */Install/Application*
- */Web/*
ignoreErrors:
- '#[.]*PhpOffice\\PhpSpreadsheet\\[.]*#'
- '#^Call to an undefined method phpOMS\\Module\\ModuleAbstract::[.]*#'
- '#^Strict comparison using === between[.]*#'
- '#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#'
- '#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#'
-
message: "#^Cannot call method getTimestamp\\(\\) on DateTime\\|null\\.$#"
path: *Algorithm/JobScheduling/Weighted.php

View File

@ -1,5 +1,7 @@
#!/bin/bash
mkdir Build/test
php phpcs.phar ./ --standard="Build/Config/phpcs.xml"
php phpstan.phar analyse --autoload-file=phpOMS/Autoloader.php -l 7 -c Build/Config/phpstan.neon ./