-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
134 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
parameters: | ||
ignoreErrors: | ||
- | ||
message: "#^Method Icinga\\\\Module\\\\Generictts\\\\Controllers\\\\IntegrationsController\\:\\:indexAction\\(\\) has no return type specified\\.$#" | ||
count: 1 | ||
path: application/controllers/IntegrationsController.php | ||
|
||
- | ||
message: "#^Method Icinga\\\\Module\\\\Generictts\\\\Controllers\\\\IntegrationsController\\:\\:newAction\\(\\) has no return type specified\\.$#" | ||
count: 1 | ||
path: application/controllers/IntegrationsController.php | ||
|
||
- | ||
message: "#^Method Icinga\\\\Module\\\\Generictts\\\\Controllers\\\\IntegrationsController\\:\\:removeAction\\(\\) has no return type specified\\.$#" | ||
count: 1 | ||
path: application/controllers/IntegrationsController.php | ||
|
||
- | ||
message: "#^Method Icinga\\\\Module\\\\Generictts\\\\Controllers\\\\IntegrationsController\\:\\:updateAction\\(\\) has no return type specified\\.$#" | ||
count: 1 | ||
path: application/controllers/IntegrationsController.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$name of method Icinga\\\\Module\\\\Generictts\\\\Forms\\\\Config\\\\TtsIntegrationConfigForm\\:\\:bind\\(\\) expects string, mixed given\\.$#" | ||
count: 2 | ||
path: application/controllers/IntegrationsController.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$name of method Icinga\\\\Module\\\\Generictts\\\\Forms\\\\Config\\\\TtsIntegrationConfigForm\\:\\:remove\\(\\) expects string, mixed given\\.$#" | ||
count: 1 | ||
path: application/controllers/IntegrationsController.php | ||
|
||
- | ||
message: "#^Cannot call method getValue\\(\\) on Zend_Form_Element\\|null\\.$#" | ||
count: 3 | ||
path: application/forms/Config/TtsIntegrationConfigForm.php | ||
|
||
- | ||
message: "#^Method Icinga\\\\Module\\\\Generictts\\\\Forms\\\\Config\\\\TtsIntegrationConfigForm\\:\\:add\\(\\) has parameter \\$values with no value type specified in iterable type array\\.$#" | ||
count: 1 | ||
path: application/forms/Config/TtsIntegrationConfigForm.php | ||
|
||
- | ||
message: "#^Method Icinga\\\\Module\\\\Generictts\\\\Forms\\\\Config\\\\TtsIntegrationConfigForm\\:\\:createElements\\(\\) has no return type specified\\.$#" | ||
count: 1 | ||
path: application/forms/Config/TtsIntegrationConfigForm.php | ||
|
||
- | ||
message: "#^Method Icinga\\\\Module\\\\Generictts\\\\Forms\\\\Config\\\\TtsIntegrationConfigForm\\:\\:createElements\\(\\) has parameter \\$formData with no value type specified in iterable type array\\.$#" | ||
count: 1 | ||
path: application/forms/Config/TtsIntegrationConfigForm.php | ||
|
||
- | ||
message: "#^Method Icinga\\\\Module\\\\Generictts\\\\Forms\\\\Config\\\\TtsIntegrationConfigForm\\:\\:onRequest\\(\\) has no return type specified\\.$#" | ||
count: 1 | ||
path: application/forms/Config/TtsIntegrationConfigForm.php | ||
|
||
- | ||
message: "#^Method Icinga\\\\Module\\\\Generictts\\\\Forms\\\\Config\\\\TtsIntegrationConfigForm\\:\\:update\\(\\) has parameter \\$values with no value type specified in iterable type array\\.$#" | ||
count: 1 | ||
path: application/forms/Config/TtsIntegrationConfigForm.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$name of method Icinga\\\\Module\\\\Generictts\\\\Forms\\\\Config\\\\TtsIntegrationConfigForm\\:\\:add\\(\\) expects string, mixed given\\.$#" | ||
count: 1 | ||
path: application/forms/Config/TtsIntegrationConfigForm.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$name of method Icinga\\\\Module\\\\Generictts\\\\Forms\\\\Config\\\\TtsIntegrationConfigForm\\:\\:update\\(\\) expects string, mixed given\\.$#" | ||
count: 1 | ||
path: application/forms/Config/TtsIntegrationConfigForm.php | ||
|
||
- | ||
message: "#^Method Icinga\\\\Module\\\\Generictts\\\\Ticket\\:\\:createLink\\(\\) has parameter \\$match with no value type specified in iterable type array\\.$#" | ||
count: 1 | ||
path: library/Generictts/Ticket.php | ||
|
||
- | ||
message: "#^Method Icinga\\\\Module\\\\Generictts\\\\Ticket\\:\\:init\\(\\) has no return type specified\\.$#" | ||
count: 1 | ||
path: library/Generictts/Ticket.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$string of function rawurlencode expects string, string\\|null given\\.$#" | ||
count: 1 | ||
path: library/Generictts/Ticket.php | ||
|
||
- | ||
message: "#^Parameter \\#2 \\$pattern of method Icinga\\\\Application\\\\Hook\\\\TicketHook\\:\\:createTicketPattern\\(\\) expects string, mixed given\\.$#" | ||
count: 1 | ||
path: library/Generictts/Ticket.php | ||
|
||
- | ||
message: "#^Parameter \\#3 \\$subject of function preg_replace expects array\\|string, mixed given\\.$#" | ||
count: 1 | ||
path: library/Generictts/Ticket.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
includes: | ||
- phpstan-baseline.neon | ||
|
||
parameters: | ||
level: max | ||
|
||
checkFunctionNameCase: true | ||
checkInternalClassCaseSensitivity: true | ||
treatPhpDocTypesAsCertain: false | ||
|
||
paths: | ||
- application | ||
- library | ||
|
||
scanDirectories: | ||
- vendor | ||
|
||
ignoreErrors: | ||
- | ||
messages: | ||
- '#Unsafe usage of new static\(\)#' | ||
- '#. but return statement is missing#' | ||
reportUnmatched: false | ||
|
||
universalObjectCratesClasses: | ||
- Icinga\Web\View |