-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
116 lines (97 loc) · 4.19 KB
/
phpstan-baseline.neon
File metadata and controls
116 lines (97 loc) · 4.19 KB
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
parameters:
ignoreErrors:
-
message: '#^Method Firehed\\Mocktrine\\CriteriaEvaluator\:\:matchCompositeOrExpression\(\) should return array\<Entity of object\> but returns array\.$#'
identifier: return.type
count: 1
path: src/CriteriaEvaluator.php
-
message: '#^Parameter \#1 \$haystack of function str_contains expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: src/CriteriaEvaluator.php
-
message: '#^Parameter \#1 \$haystack of function str_ends_with expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: src/CriteriaEvaluator.php
-
message: '#^Parameter \#1 \$haystack of function str_starts_with expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: src/CriteriaEvaluator.php
-
message: '#^Return type \(Firehed\\Mocktrine\\InMemoryRepository\<Entity of object\>\) of method Firehed\\Mocktrine\\InMemoryEntityManager\:\:getRepository\(\) should be compatible with return type \(Doctrine\\ORM\\EntityRepository\<object\>\) of method Doctrine\\ORM\\EntityManagerInterface\:\:getRepository\(\)$#'
identifier: method.childReturnType
count: 1
path: src/InMemoryEntityManager.php
-
message: '#^Property Firehed\\Mocktrine\\RepositoryContainer\:\:\$values with generic class Firehed\\Mocktrine\\InMemoryRepository does not specify its types\: Entity$#'
identifier: missingType.generics
count: 1
path: src/RepositoryContainer.php
-
message: '#^Property Firehed\\Mocktrine\\Entities\\GrabBag\:\:\$boolField is never read, only written\.$#'
identifier: property.onlyWritten
count: 1
path: tests/Entities/GrabBag.php
-
message: '#^Property Firehed\\Mocktrine\\Entities\\GrabBag\:\:\$dateField is never read, only written\.$#'
identifier: property.onlyWritten
count: 1
path: tests/Entities/GrabBag.php
-
message: '#^Property Firehed\\Mocktrine\\Entities\\GrabBag\:\:\$floatField is never read, only written\.$#'
identifier: property.onlyWritten
count: 1
path: tests/Entities/GrabBag.php
-
message: '#^Property Firehed\\Mocktrine\\Entities\\GrabBag\:\:\$id is unused\.$#'
identifier: property.unused
count: 1
path: tests/Entities/GrabBag.php
-
message: '#^Property Firehed\\Mocktrine\\Entities\\GrabBag\:\:\$strField is never read, only written\.$#'
identifier: property.onlyWritten
count: 1
path: tests/Entities/GrabBag.php
-
message: '#^Class Firehed\\Mocktrine\\Entities\\ReadonlyGeneratedId has an uninitialized readonly property \$id\. Assign it in the constructor\.$#'
identifier: property.uninitializedReadonly
count: 1
path: tests/Entities/ReadonlyGeneratedId.php
-
message: '#^Property Firehed\\Mocktrine\\Entities\\StringId\:\:\$id \(string\|null\) is never assigned string so it can be removed from the property type\.$#'
identifier: property.unusedType
count: 1
path: tests/Entities/StringId.php
-
message: '#^Property Firehed\\Mocktrine\\Entities\\TypedId\:\:\$id is never written, only read\.$#'
identifier: property.onlyRead
count: 1
path: tests/Entities/TypedId.php
-
message: '#^Property Firehed\\Mocktrine\\Entities\\UnspecifiedId\:\:\$id \(string\|null\) is never assigned string so it can be removed from the property type\.$#'
identifier: property.unusedType
count: 1
path: tests/Entities/UnspecifiedId.php
-
message: '#^Property Firehed\\Mocktrine\\Entities\\User\:\:\$active is never read, only written\.$#'
identifier: property.onlyWritten
count: 1
path: tests/Entities/User.php
-
message: '#^Property Firehed\\Mocktrine\\Entities\\User\:\:\$notAColumn is never read, only written\.$#'
identifier: property.onlyWritten
count: 1
path: tests/Entities/User.php
-
message: '#^Call to method PHPUnit\\Framework\\Assert\:\:assertTrue\(\) with false and ''First callback did…'' will always evaluate to false\.$#'
identifier: method.impossibleType
count: 1
path: tests/InMemoryEntityManagerTest.php
-
message: '#^Call to method PHPUnit\\Framework\\Assert\:\:assertTrue\(\) with false and ''Second callback did…'' will always evaluate to false\.$#'
identifier: method.impossibleType
count: 1
path: tests/InMemoryEntityManagerTest.php