Skip to content

Commit a1a9efb

Browse files
committed
Fix build
1 parent 4497663 commit a1a9efb

File tree

1 file changed

+78
-0
lines changed

1 file changed

+78
-0
lines changed

phpstan-baseline.neon

+78
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,15 @@ parameters:
1515
count: 1
1616
path: src/Doctrine/Mapping/ClassMetadataFactory.php
1717

18+
-
19+
message: '''
20+
#^Call to method __construct\(\) of deprecated class Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver\:
21+
This class will be removed in 3\.0 without replacement\.$#
22+
'''
23+
identifier: method.deprecatedClass
24+
count: 1
25+
path: src/Doctrine/Mapping/ClassMetadataFactory.php
26+
1827
-
1928
message: '''
2029
#^Instantiation of deprecated class Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver\:
@@ -114,6 +123,15 @@ parameters:
114123
count: 1
115124
path: tests/Classes/DoctrineProxyForbiddenClassNamesExtensionTest.php
116125

126+
-
127+
message: '''
128+
#^Call to method __construct\(\) of deprecated class Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver\:
129+
This class will be removed in 3\.0 without replacement\.$#
130+
'''
131+
identifier: method.deprecatedClass
132+
count: 1
133+
path: tests/Classes/entity-manager.php
134+
117135
-
118136
message: '''
119137
#^Instantiation of deprecated class Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver\:
@@ -123,6 +141,15 @@ parameters:
123141
count: 1
124142
path: tests/Classes/entity-manager.php
125143

144+
-
145+
message: '''
146+
#^Call to method __construct\(\) of deprecated class Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver\:
147+
This class will be removed in 3\.0 without replacement\.$#
148+
'''
149+
identifier: method.deprecatedClass
150+
count: 1
151+
path: tests/DoctrineIntegration/ORM/entity-manager.php
152+
126153
-
127154
message: '''
128155
#^Instantiation of deprecated class Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver\:
@@ -138,6 +165,15 @@ parameters:
138165
count: 14
139166
path: tests/Platform/QueryResultTypeWalkerFetchTypeMatrixTest.php
140167

168+
-
169+
message: '''
170+
#^Call to method __construct\(\) of deprecated class Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver\:
171+
This class will be removed in 3\.0 without replacement\.$#
172+
'''
173+
identifier: method.deprecatedClass
174+
count: 1
175+
path: tests/Platform/QueryResultTypeWalkerFetchTypeMatrixTest.php
176+
141177
-
142178
message: '''
143179
#^Instantiation of deprecated class Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver\:
@@ -147,12 +183,27 @@ parameters:
147183
count: 1
148184
path: tests/Platform/QueryResultTypeWalkerFetchTypeMatrixTest.php
149185

186+
-
187+
message: '#^Call to internal method Doctrine\\DBAL\\Driver\\PDO\\Connection\:\:__construct\(\) from outside its root namespace Doctrine\.$#'
188+
identifier: method.internal
189+
count: 1
190+
path: tests/Platform/UnknownDriver.php
191+
150192
-
151193
message: '#^Accessing PHPStan\\Rules\\DeadCode\\UnusedPrivatePropertyRule\:\:class is not covered by backward compatibility promise\. The class might change in a minor PHPStan version\.$#'
152194
identifier: phpstanApi.classConstant
153195
count: 1
154196
path: tests/Rules/DeadCode/UnusedPrivatePropertyRuleTest.php
155197

198+
-
199+
message: '''
200+
#^Call to method __construct\(\) of deprecated class Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver\:
201+
This class will be removed in 3\.0 without replacement\.$#
202+
'''
203+
identifier: method.deprecatedClass
204+
count: 1
205+
path: tests/Rules/DeadCode/entity-manager.php
206+
156207
-
157208
message: '''
158209
#^Instantiation of deprecated class Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver\:
@@ -213,6 +264,15 @@ parameters:
213264
count: 1
214265
path: tests/Rules/Properties/MissingReadOnlyPropertyAssignRuleTest.php
215266

267+
-
268+
message: '''
269+
#^Call to method __construct\(\) of deprecated class Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver\:
270+
This class will be removed in 3\.0 without replacement\.$#
271+
'''
272+
identifier: method.deprecatedClass
273+
count: 1
274+
path: tests/Rules/Properties/entity-manager.php
275+
216276
-
217277
message: '''
218278
#^Instantiation of deprecated class Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver\:
@@ -222,6 +282,15 @@ parameters:
222282
count: 1
223283
path: tests/Rules/Properties/entity-manager.php
224284

285+
-
286+
message: '''
287+
#^Call to method __construct\(\) of deprecated class Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver\:
288+
This class will be removed in 3\.0 without replacement\.$#
289+
'''
290+
identifier: method.deprecatedClass
291+
count: 1
292+
path: tests/Type/Doctrine/DBAL/mysqli.php
293+
225294
-
226295
message: '''
227296
#^Instantiation of deprecated class Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver\:
@@ -231,6 +300,15 @@ parameters:
231300
count: 1
232301
path: tests/Type/Doctrine/DBAL/mysqli.php
233302

303+
-
304+
message: '''
305+
#^Call to method __construct\(\) of deprecated class Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver\:
306+
This class will be removed in 3\.0 without replacement\.$#
307+
'''
308+
identifier: method.deprecatedClass
309+
count: 1
310+
path: tests/Type/Doctrine/DBAL/pdo.php
311+
234312
-
235313
message: '''
236314
#^Instantiation of deprecated class Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver\:

0 commit comments

Comments
 (0)