forked from PHP-DI/PHP-DI
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpstan-baseline.neon
62 lines (50 loc) · 1.95 KB
/
phpstan-baseline.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
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