diff --git a/Config/phpstan-baseline.neon b/Config/phpstan-baseline.neon index 245973c..9243f34 100644 --- a/Config/phpstan-baseline.neon +++ b/Config/phpstan-baseline.neon @@ -1,3 +1,4 @@ + parameters: ignoreErrors: - @@ -1405,36 +1406,6 @@ parameters: count: 1 path: Web/Api/Application.php - - - message: "#^Cannot access property \\$appName on Web\\\\WebApplication\\|null\\.$#" - count: 1 - path: Web/E404/Application.php - - - - message: "#^Cannot access property \\$l11nManager on Web\\\\WebApplication\\|null\\.$#" - count: 2 - path: Web/E404/Application.php - - - - message: "#^Cannot access property \\$appName on Web\\\\WebApplication\\|null\\.$#" - count: 1 - path: Web/E500/Application.php - - - - message: "#^Cannot access property \\$l11nManager on Web\\\\WebApplication\\|null\\.$#" - count: 2 - path: Web/E500/Application.php - - - - message: "#^Cannot access property \\$appName on Web\\\\WebApplication\\|null\\.$#" - count: 1 - path: Web/E503/Application.php - - - - message: "#^Cannot access property \\$l11nManager on Web\\\\WebApplication\\|null\\.$#" - count: 2 - path: Web/E503/Application.php - - message: "#^Cannot call method getTimestamp\\(\\) on DateTime\\|null\\.$#" count: 2 @@ -1445,21 +1416,6 @@ parameters: count: 1 path: phpOMS/Algorithm/Knapsack/Backpack.php - - - message: "#^PHPDoc tag @param for parameter \\$endNode with type phpOMS\\\\Algorithm\\\\PathFinding\\\\JumpPointNode\\|null is not subtype of native type phpOMS\\\\Algorithm\\\\PathFinding\\\\JumpPointNode\\.$#" - count: 5 - path: phpOMS/Algorithm/PathFinding/JumpPointSearch.php - - - - message: "#^Cannot call method getX\\(\\) on phpOMS\\\\Algorithm\\\\PathFinding\\\\JumpPointNode\\|null\\.$#" - count: 4 - path: phpOMS/Algorithm/PathFinding/JumpPointSearch.php - - - - message: "#^Cannot call method getY\\(\\) on phpOMS\\\\Algorithm\\\\PathFinding\\\\JumpPointNode\\|null\\.$#" - count: 4 - path: phpOMS/Algorithm/PathFinding/JumpPointSearch.php - - message: "#^Parameter \\#1 \\$node of static method phpOMS\\\\Algorithm\\\\PathFinding\\\\JumpPointSearch\\:\\:jumpStraight\\(\\) expects phpOMS\\\\Algorithm\\\\PathFinding\\\\JumpPointNode\\|null, phpOMS\\\\Algorithm\\\\PathFinding\\\\Node\\|null given\\.$#" count: 3 @@ -1480,51 +1436,6 @@ parameters: count: 3 path: phpOMS/Algorithm/PathFinding/JumpPointSearch.php - - - message: "#^Property phpOMS\\\\Algorithm\\\\PathFinding\\\\Path\\:\\:\\$nodes has unknown class phpOMS\\\\Algorithm\\\\PathFinding\\\\Nodes as its type\\.$#" - count: 1 - path: phpOMS/Algorithm/PathFinding/Path.php - - - - message: "#^Property phpOMS\\\\Algorithm\\\\PathFinding\\\\Path\\:\\:\\$expandedNodes has unknown class phpOMS\\\\Algorithm\\\\PathFinding\\\\Nodes as its type\\.$#" - count: 1 - path: phpOMS/Algorithm/PathFinding/Path.php - - - - message: "#^Array \\(array\\\\) does not accept phpOMS\\\\Algorithm\\\\PathFinding\\\\Node\\.$#" - count: 1 - path: phpOMS/Algorithm/PathFinding/Path.php - - - - message: "#^Call to method getX\\(\\) on an unknown class phpOMS\\\\Algorithm\\\\PathFinding\\\\Nodes\\.$#" - count: 2 - path: phpOMS/Algorithm/PathFinding/Path.php - - - - message: "#^Call to method getY\\(\\) on an unknown class phpOMS\\\\Algorithm\\\\PathFinding\\\\Nodes\\.$#" - count: 2 - path: phpOMS/Algorithm/PathFinding/Path.php - - - - message: "#^Method phpOMS\\\\Algorithm\\\\PathFinding\\\\Path\\:\\:getPath\\(\\) should return array\\ but returns array\\\\.$#" - count: 1 - path: phpOMS/Algorithm/PathFinding/Path.php - - - - message: "#^Method phpOMS\\\\Algorithm\\\\PathFinding\\\\Path\\:\\:expandPath\\(\\) should return array\\ but returns array\\\\.$#" - count: 1 - path: phpOMS/Algorithm/PathFinding/Path.php - - - - message: "#^Parameter \\#1 \\$node1 of method phpOMS\\\\Algorithm\\\\PathFinding\\\\Path\\:\\:interpolate\\(\\) expects phpOMS\\\\Algorithm\\\\PathFinding\\\\Node, phpOMS\\\\Algorithm\\\\PathFinding\\\\Nodes given\\.$#" - count: 1 - path: phpOMS/Algorithm/PathFinding/Path.php - - - - message: "#^Parameter \\#2 \\$node2 of method phpOMS\\\\Algorithm\\\\PathFinding\\\\Path\\:\\:interpolate\\(\\) expects phpOMS\\\\Algorithm\\\\PathFinding\\\\Node, phpOMS\\\\Algorithm\\\\PathFinding\\\\Nodes given\\.$#" - count: 1 - path: phpOMS/Algorithm/PathFinding/Path.php - - message: "#^Binary operation \"\\+\\=\" between array\\ and array\\|false results in an error\\.$#" count: 1