mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-02-13 01:28:40 +00:00
update baseline
This commit is contained in:
parent
d232ba5944
commit
a62308ad18
File diff suppressed because it is too large
Load Diff
|
|
@ -37,9 +37,13 @@ parameters:
|
||||||
- '#^Call to an undefined method phpOMS\\Module\\ModuleAbstract::[.]*#'
|
- '#^Call to an undefined method phpOMS\\Module\\ModuleAbstract::[.]*#'
|
||||||
- '#^Strict comparison using === between[.]*#'
|
- '#^Strict comparison using === between[.]*#'
|
||||||
- '#[.]*jsonSerialize\(\) has no return typehint specified#'
|
- '#[.]*jsonSerialize\(\) has no return typehint specified#'
|
||||||
- '#[.]*unserialize\(\) has parameter [.]* with no typehint specified#'
|
|
||||||
- '#expects phpOMS\\Algorithm\\PathFinding\\JumpPointNode\|null, phpOMS\\Algorithm\\PathFinding\\Node\|null given#'
|
- '#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#'
|
- '#should return array<phpOMS\\Algorithm\\PathFinding\\Node> but returns array<int, phpOMS\\Algorithm\\PathFinding\\Node\|null#'
|
||||||
|
- '#^Offset .* does not exist on array.*#'
|
||||||
|
- '#.*unserialize\(\) has parameter .* with no typehint specified#'
|
||||||
-
|
-
|
||||||
message: "#^Cannot call method getTimestamp\\(\\) on DateTime\\|null\\.$#"
|
message: "#^Cannot call method getTimestamp\\(\\) on DateTime\\|null\\.$#"
|
||||||
path: *Algorithm/JobScheduling/Weighted.php
|
path: *Algorithm/JobScheduling/Weighted.php
|
||||||
|
-
|
||||||
|
message: '#Binary operation "\-" between string and int results in an error#'
|
||||||
|
path: *Matrix/Matrix.php
|
||||||
|
|
|
||||||
|
|
@ -3,10 +3,10 @@
|
||||||
mkdir -p Build/test
|
mkdir -p Build/test
|
||||||
|
|
||||||
php phpcs.phar ./ --standard="Build/Config/phpcs.xml"
|
php phpcs.phar ./ --standard="Build/Config/phpcs.xml"
|
||||||
php phpstan.phar analyse --autoload-file=phpOMS/Autoloader.php -l 8 -c Build/Config/phpstan.neon ./
|
./vendor/bin/phpstan analyse --autoload-file=phpOMS/Autoloader.php -l 8 -c Build/Config/phpstan.neon ./
|
||||||
|
|
||||||
php phpcs.phar ./ --standard="Build/Config/phpcs.xml" -s --report-junit=Build/test/junit_phpcs.xml
|
php phpcs.phar ./ --standard="Build/Config/phpcs.xml" -s --report-junit=Build/test/junit_phpcs.xml
|
||||||
php phpstan.phar analyse --autoload-file=phpOMS/Autoloader.php -l 8 -c Build/Config/phpstan.neon --error-format=prettyJson ./ > Build/test/phpstan.json
|
./vendor/bin/phpstan analyse --autoload-file=phpOMS/Autoloader.php -l 8 -c Build/Config/phpstan.neon --error-format=prettyJson ./ > Build/test/phpstan.json
|
||||||
|
|
||||||
# Remove empty lines and lines with warnings which corrupt the json format
|
# Remove empty lines and lines with warnings which corrupt the json format
|
||||||
sed -i '/^$/d' Build/test/phpstan.json
|
sed -i '/^$/d' Build/test/phpstan.json
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user