-
-
Notifications
You must be signed in to change notification settings - Fork 320
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
4 changed files
with
70 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
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,62 @@ | ||
parameters: | ||
ignoreErrors: | ||
- | ||
message: "#^Else branch is unreachable because ternary operator condition is always true\\.$#" | ||
count: 1 | ||
path: src\CompiledContainer.php | ||
|
||
- | ||
message: "#^Negated boolean expression is always false\\.$#" | ||
count: 1 | ||
path: src\CompiledContainer.php | ||
|
||
- | ||
message: "#^Negated boolean expression is always false\\.$#" | ||
count: 2 | ||
path: src\Compiler\Compiler.php | ||
|
||
- | ||
message: "#^If condition is always false\\.$#" | ||
count: 1 | ||
path: src\Compiler\Compiler.php | ||
|
||
- | ||
message: "#^Else branch is unreachable because ternary operator condition is always true\\.$#" | ||
count: 2 | ||
path: src\Container.php | ||
|
||
- | ||
message: "#^Negated boolean expression is always false\\.$#" | ||
count: 1 | ||
path: src\Container.php | ||
|
||
- | ||
message: "#^Result of && is always false\\.$#" | ||
count: 1 | ||
path: src\ContainerBuilder.php | ||
|
||
- | ||
message: "#^Else branch is unreachable because ternary operator condition is always true\\.$#" | ||
count: 1 | ||
path: src\ContainerBuilder.php | ||
|
||
- | ||
message: "#^Negated boolean expression is always false\\.$#" | ||
count: 1 | ||
path: src\Definition\ArrayDefinitionExtension.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$definition \\(DI\\\\Definition\\\\InstanceDefinition\\) of method DI\\\\Definition\\\\Resolver\\\\InstanceInjector\\:\\:resolve\\(\\) should be compatible with parameter \\$definition \\(DI\\\\Definition\\\\ObjectDefinition\\) of method DI\\\\Definition\\\\Resolver\\\\ObjectCreator\\:\\:resolve\\(\\)$#" | ||
count: 1 | ||
path: src\Definition\Resolver\InstanceInjector.php | ||
|
||
- | ||
message: "#^Instanceof between DI\\\\Definition\\\\Definition and DI\\\\Definition\\\\AutowireDefinition will always evaluate to false\\.$#" | ||
count: 1 | ||
path: src\Definition\Source\SourceCache.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$autoload_function of function spl_autoload_register expects callable\\(string\\)\\: void, ProxyManager\\\\Autoloader\\\\AutoloaderInterface given\\.$#" | ||
count: 1 | ||
path: src\Proxy\ProxyFactory.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 |
---|---|---|
@@ -1,7 +1,11 @@ | ||
includes: | ||
- phpstan-baseline.neon | ||
|
||
parameters: | ||
excludes_analyse: | ||
- %rootDir%/../../../src/Compiler/Template.php | ||
- src/Compiler/Template.php | ||
ignoreErrors: | ||
- '#Access to undefined constant DI\\CompiledContainer::METHOD_MAPPING.#' | ||
- '#Function apcu_.* not found.#' | ||
reportUnmatchedIgnoredErrors: false | ||
inferPrivatePropertyTypeFromConstructor: true |