diff --git a/Config/phpstan-baseline.neon b/Config/phpstan-baseline.neon index 279b517..59dd728 100644 --- a/Config/phpstan-baseline.neon +++ b/Config/phpstan-baseline.neon @@ -1,7 +1,3 @@ - -Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/spl1nes/Orange-Management/Resources/tcpdf/tcpdf.php on line 17778 - - parameters: ignoreErrors: - @@ -39,11 +35,26 @@ parameters: count: 2 path: Install/ConsoleApplication.php + - + message: "#^Cannot call method prepare\\(\\) on PDO\\|null\\.$#" + count: 6 + path: Install/InstallAbstract.php + - message: "#^Cannot call method add\\(\\) on phpOMS\\\\Router\\\\RouterInterface\\|null\\.$#" count: 2 path: Install/WebApplication.php + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 10 + path: Modules/Accounting/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 10 + path: Modules/Accounting/Controller/BackendController.php + - message: "#^Property Modules\\\\Accounting\\\\Models\\\\Creditor\\:\\:\\$account has unknown class Modules\\\\Accounting\\\\Models\\\\phpOMS as its type\\.$#" count: 1 @@ -64,16 +75,71 @@ parameters: count: 1 path: Modules/Accounting/Models/Debitor.php + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 5 + path: Modules/AccountsPayable/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 5 + path: Modules/AccountsPayable/Controller/BackendController.php + + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 5 + path: Modules/AccountsReceivable/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 5 + path: Modules/AccountsReceivable/Controller/BackendController.php + - message: "#^Call to an undefined method phpOMS\\\\Message\\\\RequestAbstract\\:\\:getUri\\(\\)\\.$#" count: 5 path: Modules/Admin/Controller/ApiController.php + - + message: "#^Cannot access property \\$appSettings on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 4 + path: Modules/Admin/Controller/ApiController.php + + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:apiProfileCreateDbEntry\\(\\)\\.$#" + count: 1 + path: Modules/Admin/Controller/ApiController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 7 + path: Modules/Admin/Controller/ApiController.php + + - + message: "#^Cannot access property \\$eventManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 2 + path: Modules/Admin/Controller/ApiController.php + - message: "#^Argument of an invalid type array\\\\|false supplied for foreach, only iterables are supported\\.$#" count: 1 path: Modules/Admin/Controller/ApiController.php + - + message: "#^Cannot access property \\$appSettings on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 1 + path: Modules/Admin/Controller/BackendController.php + + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 8 + path: Modules/Admin/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 11 + path: Modules/Admin/Controller/BackendController.php + - message: "#^Parameter \\#1 \\$app of class Modules\\\\Admin\\\\Theme\\\\Backend\\\\Components\\\\GroupTagSelector\\\\GroupTagSelectorView constructor expects phpOMS\\\\ApplicationAbstract, phpOMS\\\\ApplicationAbstract\\|null given\\.$#" count: 1 @@ -89,11 +155,66 @@ parameters: count: 2 path: Modules/Admin/Controller/BackendController.php + - + message: "#^Call to an undefined method phpOMS\\\\DataStorage\\\\Database\\\\BuilderAbstract\\:\\:select\\(\\)\\.$#" + count: 1 + path: Modules/Admin/Models/AccountMapper.php + + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 2 + path: Modules/Arrival/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 2 + path: Modules/Arrival/Controller/BackendController.php + + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 1 + path: Modules/AssetManagement/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 1 + path: Modules/AssetManagement/Controller/BackendController.php + + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 6 + path: Modules/Auditor/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 7 + path: Modules/Auditor/Controller/BackendController.php + - message: "#^Method Modules\\\\Auditor\\\\Models\\\\Audit\\:\\:getCreatedAt\\(\\) should return DateTime but returns DateTime\\|null\\.$#" count: 1 path: Modules/Auditor/Models/Audit.php + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 1 + path: Modules/Balance/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 1 + path: Modules/Balance/Controller/BackendController.php + + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 3 + path: Modules/Billing/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 3 + path: Modules/Billing/Controller/BackendController.php + - message: "#^Method Modules\\\\Billing\\\\Models\\\\Invoice\\:\\:getCreatedAt\\(\\) should return DateTime but returns DateTime\\|null\\.$#" count: 1 @@ -104,6 +225,26 @@ parameters: count: 1 path: Modules/Billing/Models/Invoice.php + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 1 + path: Modules/BudgetManagement/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 1 + path: Modules/BudgetManagement/Controller/BackendController.php + + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 1 + path: Modules/Calendar/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 1 + path: Modules/Calendar/Controller/BackendController.php + - message: "#^Parameter \\#1 \\$app of class Modules\\\\Calendar\\\\Theme\\\\Backend\\\\Components\\\\Event\\\\BaseView constructor expects phpOMS\\\\ApplicationAbstract, phpOMS\\\\ApplicationAbstract\\|null given\\.$#" count: 1 @@ -169,11 +310,41 @@ parameters: count: 1 path: Modules/Calendar/Models/Schedule.php + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 4 + path: Modules/Chart/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 4 + path: Modules/Chart/Controller/BackendController.php + - message: "#^Class Modules\\\\Chat\\\\Room does not have a constructor and must be instantiated without any parameters\\.$#" count: 1 path: Modules/Chat/Room.php + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 3 + path: Modules/Checklist/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 3 + path: Modules/Checklist/Controller/BackendController.php + + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 3 + path: Modules/ClientManagement/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 3 + path: Modules/ClientManagement/Controller/BackendController.php + - message: "#^Property Modules\\\\ClientManagement\\\\Models\\\\Client\\:\\:\\$numberReverse \\(string\\) does not accept bool\\|float\\|int\\|string\\.$#" count: 1 @@ -189,6 +360,16 @@ parameters: count: 1 path: Modules/ClientManagement/Models/Client.php + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 2 + path: Modules/Comments/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 2 + path: Modules/Comments/Controller/BackendController.php + - message: "#^Instantiated class Modules\\\\Comments\\\\Controller\\\\FormValidation not found\\.$#" count: 1 @@ -209,11 +390,41 @@ parameters: count: 1 path: Modules/Comments/Controller/BackendController.php + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 1 + path: Modules/ContractLifecycleManagement/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 1 + path: Modules/ContractLifecycleManagement/Controller/BackendController.php + + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 3 + path: Modules/CostCenterAccounting/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 3 + path: Modules/CostCenterAccounting/Controller/BackendController.php + - message: "#^Property Modules\\\\CostCenterAccounting\\\\Models\\\\CostCenter\\:\\:\\$parent \\(int\\|Modules\\\\CostCenterAccounting\\\\Models\\\\CostCenter\\|null\\) does not accept string\\.$#" count: 1 path: Modules/CostCenterAccounting/Models/CostCenter.php + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 3 + path: Modules/CostObjectAccounting/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 3 + path: Modules/CostObjectAccounting/Controller/BackendController.php + - message: "#^Property Modules\\\\CostObjectAccounting\\\\Models\\\\CostObject\\:\\:\\$parent \\(int\\|Modules\\\\CostObjectAccounting\\\\Models\\\\CostObject\\|null\\) does not accept string\\.$#" count: 1 @@ -224,6 +435,26 @@ parameters: count: 2 path: Modules/Dashboard/Controller/ApiController.php + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 1 + path: Modules/Dashboard/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 2 + path: Modules/Dashboard/Controller/BackendController.php + + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 3 + path: Modules/Database/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 3 + path: Modules/Database/Controller/BackendController.php + - message: "#^Call to static method create\\(\\) on an unknown class Modules\\\\DatabaseEditor\\\\Controller\\\\ConnectionFactory\\.$#" count: 2 @@ -234,16 +465,71 @@ parameters: count: 2 path: Modules/DatabaseEditor/Controller/ApiController.php + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 1 + path: Modules/DatabaseEditor/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 1 + path: Modules/DatabaseEditor/Controller/BackendController.php + - message: "#^Parameter \\#1 \\$media of static method Modules\\\\Draw\\\\Models\\\\DrawImage\\:\\:fromMedia\\(\\) expects Modules\\\\Media\\\\Models\\\\Media, Modules\\\\Media\\\\Models\\\\Media\\|null given\\.$#" count: 1 path: Modules/Draw/Controller/ApiController.php + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 3 + path: Modules/Draw/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 3 + path: Modules/Draw/Controller/BackendController.php + + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 3 + path: Modules/Editor/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 3 + path: Modules/Editor/Controller/BackendController.php + - message: "#^Parameter \\#1 \\$app of class Modules\\\\Editor\\\\Theme\\\\Backend\\\\Components\\\\Editor\\\\BaseView constructor expects phpOMS\\\\ApplicationAbstract, phpOMS\\\\ApplicationAbstract\\|null given\\.$#" count: 2 path: Modules/Editor/Controller/BackendController.php + - + message: "#^Cannot access property \\$accountManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 1 + path: Modules/Editor/Controller/BackendController.php + + - + message: "#^Cannot access property \\$appName on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 1 + path: Modules/Editor/Controller/BackendController.php + + - + message: "#^Cannot access property \\$orgId on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 1 + path: Modules/Editor/Controller/BackendController.php + + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 3 + path: Modules/EventManagement/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 3 + path: Modules/EventManagement/Controller/BackendController.php + - message: "#^Parameter \\#1 \\$app of class Modules\\\\Tasks\\\\Theme\\\\Backend\\\\Components\\\\Tasks\\\\ListView constructor expects phpOMS\\\\ApplicationAbstract, phpOMS\\\\ApplicationAbstract\\|null given\\.$#" count: 1 @@ -274,11 +560,26 @@ parameters: count: 1 path: Modules/Exchange/Controller/ApiController.php + - + message: "#^Cannot access property \\$dbPool on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 1 + path: Modules/Exchange/Controller/ApiController.php + - message: "#^PHPDoc tag @return with type void is incompatible with native type phpOMS\\\\Contract\\\\RenderableInterface\\.$#" count: 1 path: Modules/Exchange/Controller/BackendController.php + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 5 + path: Modules/Exchange/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 5 + path: Modules/Exchange/Controller/BackendController.php + - message: "#^Method Modules\\\\Exchange\\\\Controller\\\\BackendController\\:\\:viewExchangeDashboard\\(\\) with return type void returns phpOMS\\\\Views\\\\View but should not return anything\\.$#" count: 1 @@ -564,11 +865,56 @@ parameters: count: 2 path: Modules/Exchange/Interfaces/OMS/Importer.php + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 1 + path: Modules/Help/Controller/BackendController.php + + - + message: "#^Cannot access property \\$accountManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 1 + path: Modules/Helper/Controller/ApiController.php + + - + message: "#^Cannot access property \\$orgId on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 3 + path: Modules/Helper/Controller/ApiController.php + - message: "#^Call to an undefined method phpOMS\\\\Message\\\\HeaderAbstract\\:\\:setDownloadable\\(\\)\\.$#" count: 1 path: Modules/Helper/Controller/ApiController.php + - + message: "#^Cannot access property \\$dbPool on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 1 + path: Modules/Helper/Controller/ApiController.php + + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createAccountModelPermission\\(\\)\\.$#" + count: 2 + path: Modules/Helper/Controller/ApiController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 2 + path: Modules/Helper/Controller/ApiController.php + + - + message: "#^Cannot access property \\$appName on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 2 + path: Modules/Helper/Controller/ApiController.php + + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 4 + path: Modules/Helper/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 4 + path: Modules/Helper/Controller/BackendController.php + - message: "#^Parameter \\#1 \\$app of class Modules\\\\Media\\\\Theme\\\\Backend\\\\Components\\\\Upload\\\\BaseView constructor expects phpOMS\\\\ApplicationAbstract, phpOMS\\\\ApplicationAbstract\\|null given\\.$#" count: 2 @@ -579,6 +925,11 @@ parameters: count: 2 path: Modules/Helper/Controller/BackendController.php + - + message: "#^Cannot access property \\$dbPool on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 1 + path: Modules/Helper/Controller/BackendController.php + - message: "#^Property Modules\\\\Helper\\\\Models\\\\Report\\:\\:\\$template has unknown class Modules\\\\Helper\\\\Models\\\\Media as its type\\.$#" count: 1 @@ -594,6 +945,16 @@ parameters: count: 1 path: Modules/HumanResourceManagement/Controller/ApiController.php + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 4 + path: Modules/HumanResourceManagement/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 4 + path: Modules/HumanResourceManagement/Controller/BackendController.php + - message: "#^Parameter \\#1 \\$app of class Modules\\\\Profile\\\\Theme\\\\Backend\\\\Components\\\\AccountGroupSelector\\\\BaseView constructor expects phpOMS\\\\ApplicationAbstract, phpOMS\\\\ApplicationAbstract\\|null given\\.$#" count: 1 @@ -659,6 +1020,11 @@ parameters: count: 1 path: Modules/HumanResourceManagement/Models/EmployeeMapper.php + - + message: "#^Call to an undefined method phpOMS\\\\DataStorage\\\\Database\\\\BuilderAbstract\\:\\:select\\(\\)\\.$#" + count: 1 + path: Modules/HumanResourceManagement/Models/EmployeeMapper.php + - message: "#^Property Modules\\\\HumanResourceManagement\\\\Models\\\\StaffList\\:\\:\\$dbPool has unknown class phpOMS\\\\DataStorage\\\\Database\\\\Pool as its type\\.$#" count: 1 @@ -679,11 +1045,26 @@ parameters: count: 1 path: Modules/HumanResourceManagement/Models/StaffList.php + - + message: "#^Cannot access property \\$accountManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 3 + path: Modules/HumanResourceTimeRecording/Controller/ApiController.php + - message: "#^Access to undefined constant phpOMS\\\\Account\\\\PermissionType\\:\\:GET\\.$#" count: 1 path: Modules/HumanResourceTimeRecording/Controller/ApiController.php + - + message: "#^Cannot access property \\$appName on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 3 + path: Modules/HumanResourceTimeRecording/Controller/ApiController.php + + - + message: "#^Cannot access property \\$orgId on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 3 + path: Modules/HumanResourceTimeRecording/Controller/ApiController.php + - message: "#^Parameter \\#2 \\$start of static method Modules\\\\HumanResourceTimeRecording\\\\Models\\\\SessionMapper\\:\\:getSessionListForEmployee\\(\\) expects DateTime, int given\\.$#" count: 1 @@ -729,11 +1110,31 @@ parameters: count: 2 path: Modules/HumanResourceTimeRecording/Controller/ApiController.php + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 4 + path: Modules/HumanResourceTimeRecording/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 4 + path: Modules/HumanResourceTimeRecording/Controller/BackendController.php + - message: "#^Instantiated class Modules\\\\HumanResourceTimeRecording\\\\Controller\\\\NullSession not found\\.$#" count: 1 path: Modules/HumanResourceTimeRecording/Controller/BackendController.php + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 1 + path: Modules/HumanResourceTimeRecording/Controller/TimerecordingController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 1 + path: Modules/HumanResourceTimeRecording/Controller/TimerecordingController.php + - message: "#^Property Modules\\\\HumanResourceTimeRecording\\\\Models\\\\Session\\:\\:\\$employee has unknown class Modules\\\\HumanResourceTimeRecording\\\\Models\\\\Employee as its type\\.$#" count: 1 @@ -779,6 +1180,81 @@ parameters: count: 1 path: Modules/HumanResourceTimeRecording/Models/SessionElement.php + - + message: "#^Call to an undefined method phpOMS\\\\DataStorage\\\\Database\\\\BuilderAbstract\\:\\:select\\(\\)\\.$#" + count: 2 + path: Modules/HumanResourceTimeRecording/Models/SessionMapper.php + + - + message: "#^Cannot call method prepare\\(\\) on PDO\\|null\\.$#" + count: 1 + path: Modules/HumanResourceTimeRecording/Models/SessionMapper.php + + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 1 + path: Modules/InvestmentManagement/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 1 + path: Modules/InvestmentManagement/Controller/BackendController.php + + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 7 + path: Modules/ItemManagement/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 7 + path: Modules/ItemManagement/Controller/BackendController.php + + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 3 + path: Modules/Job/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 3 + path: Modules/Job/Controller/BackendController.php + + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 1 + path: Modules/KPI/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 1 + path: Modules/KPI/Controller/BackendController.php + + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 4 + path: Modules/Kanban/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 4 + path: Modules/Kanban/Controller/BackendController.php + + - + message: "#^Cannot access property \\$accountManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 3 + path: Modules/Kanban/Controller/BackendController.php + + - + message: "#^Cannot access property \\$appName on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 3 + path: Modules/Kanban/Controller/BackendController.php + + - + message: "#^Cannot access property \\$orgId on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 3 + path: Modules/Kanban/Controller/BackendController.php + - message: "#^Parameter \\$task of method Modules\\\\Kanban\\\\Models\\\\KanbanCard\\:\\:createFromTask\\(\\) has invalid typehint type Modules\\\\Kanban\\\\Models\\\\Task\\.$#" count: 1 @@ -799,11 +1275,46 @@ parameters: count: 2 path: Modules/Knowledgebase/Controller/ApiController.php + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 7 + path: Modules/Knowledgebase/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 7 + path: Modules/Knowledgebase/Controller/BackendController.php + + - + message: "#^Cannot access property \\$accountManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 1 + path: Modules/Knowledgebase/Controller/BackendController.php + + - + message: "#^Cannot access property \\$appName on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 1 + path: Modules/Knowledgebase/Controller/BackendController.php + + - + message: "#^Cannot access property \\$orgId on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 1 + path: Modules/Knowledgebase/Controller/BackendController.php + - message: "#^PHPDoc tag @return with type int\\|phpOMS\\\\Account\\\\Account is not subtype of native type int\\.$#" count: 1 path: Modules/Knowledgebase/Models/WikiDoc.php + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 5 + path: Modules/Marketing/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 5 + path: Modules/Marketing/Controller/BackendController.php + - message: "#^Parameter \\#1 \\$app of class Modules\\\\Tasks\\\\Theme\\\\Backend\\\\Components\\\\Tasks\\\\ListView constructor expects phpOMS\\\\ApplicationAbstract, phpOMS\\\\ApplicationAbstract\\|null given\\.$#" count: 1 @@ -829,11 +1340,46 @@ parameters: count: 1 path: Modules/Marketing/Models/Promotion.php + - + message: "#^Cannot call method query\\(\\) on PDO\\|null\\.$#" + count: 1 + path: Modules/Media/Admin/Installer.php + - message: "#^Call to an undefined method phpOMS\\\\Message\\\\RequestAbstract\\:\\:getUri\\(\\)\\.$#" count: 1 path: Modules/Media/Controller/ApiController.php + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createAccountModelPermission\\(\\)\\.$#" + count: 1 + path: Modules/Media/Controller/ApiController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 1 + path: Modules/Media/Controller/ApiController.php + + - + message: "#^Cannot access property \\$orgId on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 1 + path: Modules/Media/Controller/ApiController.php + + - + message: "#^Cannot access property \\$appName on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 1 + path: Modules/Media/Controller/ApiController.php + + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 3 + path: Modules/Media/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 3 + path: Modules/Media/Controller/BackendController.php + - message: "#^PHPDoc tag @param for parameter \\$outputPath with type string\\|null is not subtype of native type string\\.$#" count: 1 @@ -864,6 +1410,101 @@ parameters: count: 1 path: Modules/Media/Views/MediaView.php + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 7 + path: Modules/Messages/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 7 + path: Modules/Messages/Controller/BackendController.php + + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 4 + path: Modules/Monitoring/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 4 + path: Modules/Monitoring/Controller/BackendController.php + + - + message: "#^Cannot call method query\\(\\) on PDO\\|null\\.$#" + count: 1 + path: Modules/Navigation/Admin/Installer.php + + - + message: "#^Cannot access property \\$accountManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 3 + path: Modules/Navigation/Controller/BackendController.php + + - + message: "#^Cannot access property \\$dbPool on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 3 + path: Modules/Navigation/Controller/BackendController.php + + - + message: "#^Cannot access property \\$orgId on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 3 + path: Modules/Navigation/Controller/BackendController.php + + - + message: "#^Cannot access property \\$appName on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 3 + path: Modules/Navigation/Controller/BackendController.php + + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:openNav\\(\\)\\.$#" + count: 1 + path: Modules/Navigation/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 2 + path: Modules/Navigation/Controller/BackendController.php + + - + message: "#^Cannot access property \\$l11nManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 1 + path: Modules/Navigation/Controller/BackendController.php + + - + message: "#^Cannot access property \\$accountManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 3 + path: Modules/Navigation/Controller/TimerecordingController.php + + - + message: "#^Cannot access property \\$dbPool on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 3 + path: Modules/Navigation/Controller/TimerecordingController.php + + - + message: "#^Cannot access property \\$orgId on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 3 + path: Modules/Navigation/Controller/TimerecordingController.php + + - + message: "#^Cannot access property \\$appName on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 3 + path: Modules/Navigation/Controller/TimerecordingController.php + + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:openNav\\(\\)\\.$#" + count: 1 + path: Modules/Navigation/Controller/TimerecordingController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 2 + path: Modules/Navigation/Controller/TimerecordingController.php + + - + message: "#^Cannot access property \\$l11nManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 1 + path: Modules/Navigation/Controller/TimerecordingController.php + - message: "#^Call to an undefined method phpOMS\\\\Message\\\\RequestAbstract\\:\\:getHash\\(\\)\\.$#" count: 1 @@ -879,6 +1520,31 @@ parameters: count: 2 path: Modules/News/Controller/ApiController.php + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 4 + path: Modules/News/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 4 + path: Modules/News/Controller/BackendController.php + + - + message: "#^Cannot access property \\$accountManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 1 + path: Modules/News/Controller/BackendController.php + + - + message: "#^Cannot access property \\$appName on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 1 + path: Modules/News/Controller/BackendController.php + + - + message: "#^Cannot access property \\$orgId on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 1 + path: Modules/News/Controller/BackendController.php + - message: "#^Parameter \\#1 \\$app of class Modules\\\\Editor\\\\Theme\\\\Backend\\\\Components\\\\Editor\\\\BaseView constructor expects phpOMS\\\\ApplicationAbstract, phpOMS\\\\ApplicationAbstract\\|null given\\.$#" count: 1 @@ -889,6 +1555,16 @@ parameters: count: 3 path: Modules/Organization/Controller/ApiController.php + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 9 + path: Modules/Organization/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 9 + path: Modules/Organization/Controller/BackendController.php + - message: "#^Parameter \\#1 \\$app of class Modules\\\\Organization\\\\Theme\\\\Backend\\\\Components\\\\UnitTagSelector\\\\UnitTagSelectorView constructor expects phpOMS\\\\ApplicationAbstract, phpOMS\\\\ApplicationAbstract\\|null given\\.$#" count: 4 @@ -914,6 +1590,36 @@ parameters: count: 2 path: Modules/Organization/Controller/BackendController.php + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 1 + path: Modules/PL/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 1 + path: Modules/PL/Controller/BackendController.php + + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 4 + path: Modules/Production/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 4 + path: Modules/Production/Controller/BackendController.php + + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 3 + path: Modules/Profile/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 3 + path: Modules/Profile/Controller/BackendController.php + - message: "#^Parameter \\#1 \\$app of class Modules\\\\Media\\\\Theme\\\\Backend\\\\Components\\\\Media\\\\BaseView constructor expects phpOMS\\\\ApplicationAbstract, phpOMS\\\\ApplicationAbstract\\|null given\\.$#" count: 1 @@ -929,11 +1635,26 @@ parameters: count: 2 path: Modules/Profile/Controller/BackendController.php + - + message: "#^Cannot access property \\$appSettings on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 1 + path: Modules/Profile/Controller/BackendController.php + - message: "#^Method Modules\\\\Profile\\\\Models\\\\Profile\\:\\:getImage\\(\\) should return Modules\\\\Media\\\\Models\\\\Media but returns int\\|Modules\\\\Media\\\\Models\\\\Media\\|null\\.$#" count: 1 path: Modules/Profile/Models/Profile.php + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 3 + path: Modules/ProjectManagement/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 3 + path: Modules/ProjectManagement/Controller/BackendController.php + - message: "#^Parameter \\#1 \\$app of class Modules\\\\Tasks\\\\Theme\\\\Backend\\\\Components\\\\Tasks\\\\ListView constructor expects phpOMS\\\\ApplicationAbstract, phpOMS\\\\ApplicationAbstract\\|null given\\.$#" count: 1 @@ -1019,6 +1740,16 @@ parameters: count: 1 path: Modules/ProjectManagement/Models/Project.php + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 6 + path: Modules/Purchase/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 6 + path: Modules/Purchase/Controller/BackendController.php + - message: "#^Instantiated class Modules\\\\QA\\\\Controller\\\\FormValidation not found\\.$#" count: 3 @@ -1149,21 +1880,126 @@ parameters: count: 1 path: Modules/QA/Controller/ApiController.php + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 3 + path: Modules/QA/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 3 + path: Modules/QA/Controller/BackendController.php + - message: "#^Parameter \\$badge of method Modules\\\\QA\\\\Models\\\\QAQuestion\\:\\:addBadge\\(\\) has invalid typehint type Modules\\\\QA\\\\Models\\\\QABadge\\.$#" count: 1 path: Modules/QA/Models/QAQuestion.php + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 2 + path: Modules/ResearchDevelopment/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 2 + path: Modules/ResearchDevelopment/Controller/BackendController.php + + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 19 + path: Modules/RiskManagement/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 19 + path: Modules/RiskManagement/Controller/BackendController.php + + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationSplash\\(\\)\\.$#" + count: 1 + path: Modules/SalesAnalysis/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 2 + path: Modules/SalesAnalysis/Controller/BackendController.php + + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 1 + path: Modules/SalesAnalysis/Controller/BackendController.php + + - + message: "#^Cannot access property \\$dispatcher on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 1 + path: Modules/Search/Controller/ApiController.php + - message: "#^Call to an undefined method phpOMS\\\\Message\\\\RequestAbstract\\:\\:getRouteVerb\\(\\)\\.$#" count: 1 path: Modules/Search/Controller/ApiController.php + - + message: "#^Cannot access property \\$appName on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 1 + path: Modules/Search/Controller/ApiController.php + + - + message: "#^Cannot access property \\$orgId on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 1 + path: Modules/Search/Controller/ApiController.php + + - + message: "#^Cannot access property \\$accountManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 1 + path: Modules/Search/Controller/ApiController.php + - message: "#^Call to an undefined method phpOMS\\\\Message\\\\RequestAbstract\\:\\:getUri\\(\\)\\.$#" count: 1 path: Modules/Search/Controller/ApiController.php + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 2 + path: Modules/Shipping/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 2 + path: Modules/Shipping/Controller/BackendController.php + + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 1 + path: Modules/StockTaking/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 1 + path: Modules/StockTaking/Controller/BackendController.php + + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 3 + path: Modules/SupplierManagement/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 3 + path: Modules/SupplierManagement/Controller/BackendController.php + + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 6 + path: Modules/Support/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 6 + path: Modules/Support/Controller/BackendController.php + - message: "#^Class Modules\\\\Support\\\\Models\\\\Issue does not have a constructor and must be instantiated without any parameters\\.$#" count: 1 @@ -1179,6 +2015,16 @@ parameters: count: 1 path: Modules/Support/Models/Message.php + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 3 + path: Modules/Surveys/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 3 + path: Modules/Surveys/Controller/BackendController.php + - message: "#^Class Modules\\\\Surveys\\\\Models\\\\Answer does not have a constructor and must be instantiated without any parameters\\.$#" count: 1 @@ -1229,11 +2075,36 @@ parameters: count: 1 path: Modules/Tasks/Controller/ApiController.php + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 5 + path: Modules/Tasks/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 5 + path: Modules/Tasks/Controller/BackendController.php + - message: "#^Parameter \\#1 \\$app of class Modules\\\\Tasks\\\\Theme\\\\Backend\\\\Components\\\\Tasks\\\\ListView constructor expects phpOMS\\\\ApplicationAbstract, phpOMS\\\\ApplicationAbstract\\|null given\\.$#" count: 1 path: Modules/Tasks/Controller/BackendController.php + - + message: "#^Cannot access property \\$accountManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 1 + path: Modules/Tasks/Controller/BackendController.php + + - + message: "#^Cannot access property \\$appName on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 1 + path: Modules/Tasks/Controller/BackendController.php + + - + message: "#^Cannot access property \\$orgId on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 1 + path: Modules/Tasks/Controller/BackendController.php + - message: "#^Parameter \\#1 \\$app of class Modules\\\\Profile\\\\Theme\\\\Backend\\\\Components\\\\AccountGroupSelector\\\\BaseView constructor expects phpOMS\\\\ApplicationAbstract, phpOMS\\\\ApplicationAbstract\\|null given\\.$#" count: 2 @@ -1269,6 +2140,16 @@ parameters: count: 1 path: Modules/Tasks/Models/TaskElement.php + - + message: "#^Call to an undefined method phpOMS\\\\DataStorage\\\\Database\\\\BuilderAbstract\\:\\:count\\(\\)\\.$#" + count: 1 + path: Modules/Tasks/Models/TaskMapper.php + + - + message: "#^Cannot call method prepare\\(\\) on PDO\\|null\\.$#" + count: 1 + path: Modules/Tasks/Models/TaskMapper.php + - message: "#^Property Modules\\\\WarehouseManagement\\\\Models\\\\Arrival\\:\\:\\$warehouse has unknown class Modules\\\\Warehousing\\\\Models\\\\Warehouse as its type\\.$#" count: 1 @@ -1344,6 +2225,56 @@ parameters: count: 1 path: Modules/WarehouseManagement/Models/Arrival.php + - + message: "#^Property Modules\\\\WarehouseManagement\\\\Models\\\\Article\\:\\:\\$creator has unknown class phpOMS\\\\Models\\\\User as its type\\.$#" + count: 1 + path: Modules/WarehouseManagement/Models/Article.php + + - + message: "#^Property Modules\\\\WarehouseManagement\\\\Models\\\\Article\\:\\:\\$instances has unknown class Modules\\\\Warehousing\\\\Models\\\\Article as its type\\.$#" + count: 1 + path: Modules/WarehouseManagement/Models/Article.php + + - + message: "#^Return typehint of method Modules\\\\WarehouseManagement\\\\Models\\\\Article\\:\\:getInstance\\(\\) has invalid type Modules\\\\Warehousing\\\\Models\\\\Article\\.$#" + count: 1 + path: Modules/WarehouseManagement/Models/Article.php + + - + message: "#^Array \\(array\\\\) does not accept Modules\\\\WarehouseManagement\\\\Models\\\\Article\\.$#" + count: 1 + path: Modules/WarehouseManagement/Models/Article.php + + - + message: "#^Method Modules\\\\WarehouseManagement\\\\Models\\\\Article\\:\\:getInstance\\(\\) should return Modules\\\\Warehousing\\\\Models\\\\Article but returns Modules\\\\WarehouseManagement\\\\Models\\\\Article\\|Modules\\\\Warehousing\\\\Models\\\\Article\\.$#" + count: 1 + path: Modules/WarehouseManagement/Models/Article.php + + - + message: "#^Method Modules\\\\WarehouseManagement\\\\Models\\\\Article\\:\\:getCreated\\(\\) should return DateTime but returns DateTime\\|null\\.$#" + count: 1 + path: Modules/WarehouseManagement/Models/Article.php + + - + message: "#^Return typehint of method Modules\\\\WarehouseManagement\\\\Models\\\\Article\\:\\:getCreator\\(\\) has invalid type phpOMS\\\\Models\\\\User\\.$#" + count: 1 + path: Modules/WarehouseManagement/Models/Article.php + + - + message: "#^Method Modules\\\\WarehouseManagement\\\\Models\\\\Article\\:\\:getCreator\\(\\) should return phpOMS\\\\Models\\\\User but returns phpOMS\\\\Models\\\\User\\|null\\.$#" + count: 1 + path: Modules/WarehouseManagement/Models/Article.php + + - + message: "#^Parameter \\$creator of method Modules\\\\WarehouseManagement\\\\Models\\\\Article\\:\\:setCreator\\(\\) has invalid typehint type phpOMS\\\\Models\\\\User\\.$#" + count: 1 + path: Modules/WarehouseManagement/Models/Article.php + + - + message: "#^Access to an undefined property Modules\\\\WarehouseManagement\\\\Models\\\\Article\\:\\:\\$prices\\.$#" + count: 3 + path: Modules/WarehouseManagement/Models/Article.php + - message: "#^Property Modules\\\\WarehouseManagement\\\\Models\\\\Shipping\\:\\:\\$order \\(Modules\\\\WarehouseManagement\\\\Models\\\\intstring\\) does not accept default value of type string\\.$#" count: 1 @@ -1454,6 +2385,16 @@ parameters: count: 1 path: Modules/WarehouseManagement/Models/Warehouse.php + - + message: "#^Call to an undefined method phpOMS\\\\Module\\\\ModuleAbstract\\:\\:createNavigationMid\\(\\)\\.$#" + count: 5 + path: Modules/Workflow/Controller/BackendController.php + + - + message: "#^Cannot access property \\$moduleManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 5 + path: Modules/Workflow/Controller/BackendController.php + - message: "#^PHPDoc tag @var for property Socket\\\\Socketserver\\\\Application\\:\\:\\$type with type phpOMS\\\\Socket\\\\SocketType is incompatible with native type string\\.$#" count: 1 @@ -1609,11 +2550,56 @@ parameters: count: 1 path: phpOMS/Algorithm/PathFinding/Path.php + - + message: "#^Cannot call method prepare\\(\\) on PDO\\|null\\.$#" + count: 3 + path: phpOMS/Config/SettingsAbstract.php + - message: "#^Binary operation \"\\+\\=\" between array\\ and array\\|false results in an error\\.$#" count: 1 path: phpOMS/Config/SettingsAbstract.php + - + message: "#^Cannot call method beginTransaction\\(\\) on PDO\\|null\\.$#" + count: 2 + path: phpOMS/Config/SettingsAbstract.php + + - + message: "#^Cannot call method commit\\(\\) on PDO\\|null\\.$#" + count: 2 + path: phpOMS/Config/SettingsAbstract.php + + - + message: "#^Cannot call method quote\\(\\) on PDO\\|null\\.$#" + count: 1 + path: phpOMS/DataStorage/Database/BuilderAbstract.php + + - + message: "#^Call to an undefined method phpOMS\\\\DataStorage\\\\Database\\\\BuilderAbstract\\:\\:into\\(\\)\\.$#" + count: 3 + path: phpOMS/DataStorage/Database/DataMapperAbstract.php + + - + message: "#^Cannot call method prepare\\(\\) on PDO\\|null\\.$#" + count: 20 + path: phpOMS/DataStorage/Database/DataMapperAbstract.php + + - + message: "#^Cannot call method lastInsertId\\(\\) on PDO\\|null\\.$#" + count: 2 + path: phpOMS/DataStorage/Database/DataMapperAbstract.php + + - + message: "#^Call to an undefined method phpOMS\\\\DataStorage\\\\Database\\\\BuilderAbstract\\:\\:delete\\(\\)\\.$#" + count: 3 + path: phpOMS/DataStorage/Database/DataMapperAbstract.php + + - + message: "#^Call to an undefined method phpOMS\\\\DataStorage\\\\Database\\\\BuilderAbstract\\:\\:update\\(\\)\\.$#" + count: 4 + path: phpOMS/DataStorage/Database/DataMapperAbstract.php + - message: "#^Argument of an invalid type string supplied for foreach, only iterables are supported\\.$#" count: 4 @@ -1624,11 +2610,21 @@ parameters: count: 1 path: phpOMS/DataStorage/Database/DataMapperAbstract.php + - + message: "#^Call to an undefined method phpOMS\\\\DataStorage\\\\Database\\\\BuilderAbstract\\:\\:select\\(\\)\\.$#" + count: 4 + path: phpOMS/DataStorage/Database/DataMapperAbstract.php + - message: "#^Method phpOMS\\\\DataStorage\\\\Database\\\\DataMapperAbstract\\:\\:getConditionals\\(\\) with return type void returns mixed but should not return anything\\.$#" count: 1 path: phpOMS/DataStorage/Database/DataMapperAbstract.php + - + message: "#^Call to an undefined method phpOMS\\\\DataStorage\\\\Database\\\\BuilderAbstract\\:\\:random\\(\\)\\.$#" + count: 1 + path: phpOMS/DataStorage/Database/DataMapperAbstract.php + - message: "#^Parameter \\#1 \\$result of static method phpOMS\\\\DataStorage\\\\Database\\\\DataMapperAbstract\\:\\:populateAbstract\\(\\) expects array, void given\\.$#" count: 1 @@ -1669,6 +2665,11 @@ parameters: count: 1 path: phpOMS/DataStorage/Database/Query/Builder.php + - + message: "#^Cannot call method prepare\\(\\) on PDO\\|null\\.$#" + count: 1 + path: phpOMS/DataStorage/Database/Query/Builder.php + - message: "#^Call to an undefined method phpOMS\\\\DataStorage\\\\Database\\\\Query\\\\Column\\:\\:getColumn\\(\\)\\.$#" count: 1 @@ -1864,6 +2865,11 @@ parameters: count: 2 path: phpOMS/Module/ModuleAbstract.php + - + message: "#^Cannot access property \\$eventManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 10 + path: phpOMS/Module/ModuleAbstract.php + - message: "#^Call to an undefined method phpOMS\\\\Message\\\\RequestAbstract\\:\\:getHash\\(\\)\\.$#" count: 1 @@ -2149,6 +3155,16 @@ parameters: count: 1 path: phpOMS/System/File/Ftp/FtpStorage.php + - + message: "#^Call to an undefined method RecursiveIteratorIterator\\|RegexIterator\\:\\:getSubPathname\\(\\)\\.$#" + count: 1 + path: phpOMS/System/File/Local/Directory.php + + - + message: "#^Call to an undefined method RecursiveIteratorIterator\\:\\:getSubPathname\\(\\)\\.$#" + count: 5 + path: phpOMS/System/File/Local/Directory.php + - message: "#^Argument of an invalid type array\\\\|false supplied for foreach, only iterables are supported\\.$#" count: 1 @@ -2354,6 +3370,11 @@ parameters: count: 1 path: phpOMS/Validation/Finance/Iban.php + - + message: "#^Cannot access property \\$l11nManager on phpOMS\\\\ApplicationAbstract\\|null\\.$#" + count: 1 + path: phpOMS/Views/View.php + - message: "#^Strict comparison using \\=\\=\\= between string and false will always evaluate to false\\.$#" count: 2 diff --git a/Config/phpstan.neon b/Config/phpstan.neon index 7c34324..0ef60b7 100755 --- a/Config/phpstan.neon +++ b/Config/phpstan.neon @@ -1,41 +1,26 @@ includes: - - phpstan-baseline.neon + - phpstan-baseline.neon parameters: - ignoreErrors: - - '#Access to protected property Web\\WebApplication::(.*)#' - - '#Calling method prepare\(\) on possibly null value of type PDO\|null\.#' - - '#Calling method lastInsertId\(\) on possibly null value of type PDO\|null\.#' - - '#Cannot call method prepare\(\) on PDO\|null\.#' - - '#Cannot call method beginTransaction\(\) on PDO\|null\.#' - - '#Access to an undefined property phpOMS\\DataStorage\\DataStorageConnectionInterface::(.*)#' - - '#Call to an undefined method phpOMS\\Module\\ModuleAbstract::(.*)#' - - '#Access to an undefined property phpOMS\\ApplicationAbstract::(.*)#' - - '#Cannot access property (.*) on phpOMS\\ApplicationAbstract(.*)#' - - '#Call to an undefined method phpOMS\\DataStorage\\Database\\BuilderAbstract::(.*)#' - - '#Call to an undefined method object::getId\(\)#' - - '#Cannot call method (.*) on PDO\|null#' - - '#Call to an undefined method RecursiveIteratorIterator::getSubPathname\(\)#' - - '#Call to an undefined method RecursiveIteratorIterator\|RegexIterator::getSubPathname\(\)#' - fileExtensions: - - php - excludes_analyse: - - *.tpl.php - - */tests/* - - */test/* - - *Test.php - - *Routes.php - - *Hooks.php - - *ObjLoader.js - - */vendor/* - - *vendor* - - */Demo/* - - */Build/* - - */Cache/* - - */Docs/* - - */Documentation/* - - */Resources/* - - *Resources* - - */Routes/* - - */Hooks/* - - */node_modules/* \ No newline at end of file + fileExtensions: + - php + excludes_analyse: + - *.tpl.php + - */tests/* + - */test/* + - *Test.php + - *Routes.php + - *Hooks.php + - *ObjLoader.js + - */vendor/* + - *vendor* + - */Demo/* + - */Build/* + - */Cache/* + - */Docs/* + - */Documentation/* + - */Resources/* + - *Resources* + - */Routes/* + - */Hooks/* + - */node_modules/* \ No newline at end of file