-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpstan-baseline.neon
140 lines (117 loc) · 6.4 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
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
parameters:
ignoreErrors:
-
message: '#^Method Nucleos\\Doctrine\\EventListener\\ORM\\AbstractListener\:\:createDateTimeField\(\) has parameter \$metadata with generic class Doctrine\\ORM\\Mapping\\ClassMetadata but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
path: src/EventListener/ORM/AbstractListener.php
-
message: '#^Strict comparison using \=\=\= between null and ReflectionClass\<object\> will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 1
path: src/EventListener/ORM/ConfirmableListener.php
-
message: '#^Strict comparison using \=\=\= between null and ReflectionClass\<object\> will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 1
path: src/EventListener/ORM/DeletableListener.php
-
message: '#^Strict comparison using \=\=\= between null and ReflectionClass\<object\> will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 1
path: src/EventListener/ORM/LifecycleDateListener.php
-
message: '#^Strict comparison using \=\=\= between null and ReflectionClass\<object\> will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 1
path: src/EventListener/ORM/SortableListener.php
-
message: '#^Method Nucleos\\Doctrine\\EventListener\\ORM\\TablePrefixEventListener\:\:addSequenceGenerator\(\) has parameter \$classMetadata with generic class Doctrine\\ORM\\Mapping\\ClassMetadata but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
path: src/EventListener/ORM/TablePrefixEventListener.php
-
message: '#^Method Nucleos\\Doctrine\\EventListener\\ORM\\TablePrefixEventListener\:\:addSequencePrefix\(\) has parameter \$classMetadata with generic class Doctrine\\ORM\\Mapping\\ClassMetadata but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
path: src/EventListener/ORM/TablePrefixEventListener.php
-
message: '#^Method Nucleos\\Doctrine\\EventListener\\ORM\\TablePrefixEventListener\:\:addTablePrefix\(\) has parameter \$classMetadata with generic class Doctrine\\ORM\\Mapping\\ClassMetadata but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
path: src/EventListener/ORM/TablePrefixEventListener.php
-
message: '#^Method Nucleos\\Doctrine\\EventListener\\ORM\\TablePrefixEventListener\:\:evaluteMapping\(\) has parameter \$classMetadata with generic class Doctrine\\ORM\\Mapping\\ClassMetadata but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
path: src/EventListener/ORM/TablePrefixEventListener.php
-
message: '#^Method Nucleos\\Doctrine\\EventListener\\ORM\\TablePrefixEventListener\:\:evaluteMapping\(\) has parameter \$mapping with no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: src/EventListener/ORM/TablePrefixEventListener.php
-
message: '#^Method Nucleos\\Doctrine\\EventListener\\ORM\\TablePrefixEventListener\:\:isValidTable\(\) has parameter \$classMetadata with generic class Doctrine\\ORM\\Mapping\\ClassMetadata but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
path: src/EventListener/ORM/TablePrefixEventListener.php
-
message: '#^Offset ''sequenceName'' might not exist on array\{sequenceName\: string, allocationSize\: string, initialValue\: string, quoted\?\: mixed\}\|null\.$#'
identifier: offsetAccess.notFound
count: 1
path: src/EventListener/ORM/TablePrefixEventListener.php
-
message: '#^Parameter \#1 \$definition of method Doctrine\\ORM\\Mapping\\ClassMetadata\<object\>\:\:setSequenceGeneratorDefinition\(\) expects array\{sequenceName\?\: string, allocationSize\?\: int\|string, initialValue\?\: int\|string, quoted\?\: mixed\}, array\{sequenceName\: string, allocationSize\: string, initialValue\: string, quoted\?\: mixed\}\|array\{sequenceName\: string\}\|null given\.$#'
identifier: argument.type
count: 1
path: src/EventListener/ORM/TablePrefixEventListener.php
-
message: '#^Parameter \#3 \$definition of method Nucleos\\Doctrine\\EventListener\\ORM\\TablePrefixEventListener\:\:addSequenceGenerator\(\) expects array\{allocationSize\: int\}, array\{sequenceName\: string, allocationSize\: string, initialValue\: string, quoted\?\: mixed\}\|array\{sequenceName\: string\}\|null given\.$#'
identifier: argument.type
count: 1
path: src/EventListener/ORM/TablePrefixEventListener.php
-
message: '#^Strict comparison using \=\=\= between null and ReflectionClass\<object\> will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 1
path: src/EventListener/ORM/UniqueActiveListener.php
-
message: '#^Property Nucleos\\Doctrine\\Migration\\IdToUuidMigration\:\:\$schemaManager with generic class Doctrine\\DBAL\\Schema\\AbstractSchemaManager does not specify its types\: T$#'
identifier: missingType.generics
count: 1
path: src/Migration/IdToUuidMigration.php
-
message: '#^Call to method method\(\) on an unknown class Doctrine\\ORM\\Mapping\\ClassMetadataInfo\.$#'
identifier: class.notFound
count: 4
path: src/Test/ORM/EntityManagerMockFactory.php
-
message: '#^Call to protected method createMock\(\) of class PHPUnit\\Framework\\TestCase\.$#'
identifier: method.protected
count: 1
path: src/Test/ORM/EntityManagerMockFactory.php
-
message: '#^Class Doctrine\\ORM\\Mapping\\ClassMetadataInfo not found\.$#'
identifier: class.notFound
count: 1
path: src/Test/ORM/EntityManagerMockFactory.php
-
message: '#^Trying to mock an undefined method getFieldNames\(\) on class Doctrine\\ORM\\Mapping\\ClassMetadataInfo\.$#'
identifier: phpunit.mockMethod
count: 1
path: src/Test/ORM/EntityManagerMockFactory.php
-
message: '#^Trying to mock an undefined method getIdentifier\(\) on class Doctrine\\ORM\\Mapping\\ClassMetadataInfo\.$#'
identifier: phpunit.mockMethod
count: 1
path: src/Test/ORM/EntityManagerMockFactory.php
-
message: '#^Trying to mock an undefined method getName\(\) on class Doctrine\\ORM\\Mapping\\ClassMetadataInfo\.$#'
identifier: phpunit.mockMethod
count: 1
path: src/Test/ORM/EntityManagerMockFactory.php
-
message: '#^Trying to mock an undefined method getTableName\(\) on class Doctrine\\ORM\\Mapping\\ClassMetadataInfo\.$#'
identifier: phpunit.mockMethod
count: 1
path: src/Test/ORM/EntityManagerMockFactory.php