fix phpstan bugs

This commit is contained in:
Dennis Eichhorn 2019-12-07 19:13:23 +01:00
parent c109960402
commit 5c01daec92
2 changed files with 2 additions and 5 deletions

View File

@ -2720,11 +2720,6 @@ parameters:
count: 2
path: phpOMS/Stdlib/Base/Iban.php
-
message: "#^Parameter \\#2 \\$timestamp of function date expects int, int\\|false given\\.$#"
count: 1
path: phpOMS/Stdlib/Base/SmartDateTime.php
-
message: "#^Call to an undefined method phpOMS\\\\Stdlib\\\\Graph\\\\Node\\:\\:getNeighbors\\(\\)\\.$#"
count: 1

View File

@ -1200,7 +1200,9 @@ return [
'phpOMS\tests\Module\ModuleAbstractTest' => ['description' => 'Abstract module'],
'phpOMS\tests\Module\ModuleAbstractTest:testConstants' => ['description' => 'The constant values of the abstract module are overwritten by the extension', 'type' => 'framework'],
'phpOMS\tests\Module\ModuleAbstractTest:testName' => ['description' => 'The name of the module can be returned', 'type' => 'framework'],
'phpOMS\tests\Module\ModuleAbstractTest:testDependencies' => ['description' => 'The dependencies of the module can be returned', 'type' => 'framework'],
'phpOMS\tests\Module\ModuleAbstractTest:testProviding' => ['description' => 'The providing of the module can be returned', 'type' => 'framework'],
'phpOMS\tests\Module\ModuleAbstractTest:testInvalidLocalization' => ['description' => 'A invalid language or theme returns in an empty localization/language dataset', 'type' => 'framework'],
'phpOMS\tests\Module\ModuleAbstractTest:testFillJson' => ['description' => 'The module can automatically generate a json response based on provided data for the frontend', 'type' => 'framework'],
'phpOMS\tests\Module\ModuleAbstractTest:testFillJsonRaw' => ['description' => 'The module can automatically generate a json response based on provided data', 'type' => 'framework'],