-
-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
phpstan level as 5 & re-genrate-baseline
- Loading branch information
Showing
2 changed files
with
41 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,42 @@ | ||
parameters: | ||
ignoreErrors: | ||
- | ||
message: "#^Result of && is always false\\.$#" | ||
count: 1 | ||
path: src/AbstractPluginManager.php | ||
|
||
- | ||
message: "#^Else branch is unreachable because ternary operator condition is always true\\.$#" | ||
count: 2 | ||
path: src/AbstractPluginManager.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$detectedCycles of static method Laminas\\\\ServiceManager\\\\Exception\\\\CyclicAliasException\\:\\:printCycles\\(\\) expects array\\<array\\<string\\>\\>, array\\<array\\<bool\\>\\> given\\.$#" | ||
count: 1 | ||
path: src/Exception/CyclicAliasException.php | ||
|
||
- | ||
message: "#^If condition is always false\\.$#" | ||
count: 1 | ||
path: src/ServiceManager.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$autoload_function of function spl_autoload_register expects callable\\(string\\)\\: void, ProxyManager\\\\Autoloader\\\\AutoloaderInterface given\\.$#" | ||
count: 1 | ||
path: src/ServiceManager.php | ||
|
||
- | ||
message: "#^Negated boolean expression is always true\\.$#" | ||
count: 7 | ||
path: src/ServiceManager.php | ||
|
||
- | ||
message: "#^Left side of && is always true\\.$#" | ||
count: 1 | ||
path: src/Tool/ConfigDumper.php | ||
|
||
- | ||
message: "#^Negated boolean expression is always false\\.$#" | ||
count: 1 | ||
path: src/Tool/FactoryCreator.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 |
---|---|---|
|
@@ -2,6 +2,6 @@ includes: | |
- phpstan-baseline.neon | ||
|
||
parameters: | ||
level: 3 | ||
level: 5 | ||
paths: | ||
- src |