@@ -7,11 +7,23 @@ parameters:
7
7
path : src/Doctrine/Driver/DriverDetector.php
8
8
9
9
-
10
- message : ' #^Access to constant on deprecated class Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver\.$#'
10
+ message : '''
11
+ #^Access to constant on deprecated class Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver\:
12
+ This class will be removed in 3\.0 without replacement\.$#
13
+ '''
11
14
identifier : classConstant.deprecatedClass
12
15
count : 1
13
16
path : src/Doctrine/Mapping/ClassMetadataFactory.php
14
17
18
+ -
19
+ message : '''
20
+ #^Instantiation of deprecated class Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver\:
21
+ This class will be removed in 3\.0 without replacement\.$#
22
+ '''
23
+ identifier : new.deprecatedClass
24
+ count : 1
25
+ path : src/Doctrine/Mapping/ClassMetadataFactory.php
26
+
15
27
-
16
28
message : ' #^Calling PHPStan\\Type\\TypehintHelper\:\:decideType\(\) is not covered by backward compatibility promise\. The method might change in a minor PHPStan version\.$#'
17
29
identifier : phpstanApi.method
@@ -31,25 +43,37 @@ parameters:
31
43
path : src/Stubs/Doctrine/StubFilesExtensionLoader.php
32
44
33
45
-
34
- message : ' #^Catching deprecated class Doctrine\\Common\\CommonException\.$#'
46
+ message : '''
47
+ #^Catching deprecated class Doctrine\\Common\\CommonException\:
48
+ The doctrine/common package is deprecated, please use specific packages and their exceptions instead\.$#
49
+ '''
35
50
identifier : catch.deprecatedClass
36
51
count : 1
37
52
path : src/Type/Doctrine/CreateQueryDynamicReturnTypeExtension.php
38
53
39
54
-
40
- message : ' #^Catching deprecated class Doctrine\\ORM\\ORMException\.$#'
55
+ message : '''
56
+ #^Catching deprecated class Doctrine\\ORM\\ORMException\:
57
+ Use Doctrine\\ORM\\Exception\\ORMException for catch and instanceof$#
58
+ '''
41
59
identifier : catch.deprecatedClass
42
60
count : 1
43
61
path : src/Type/Doctrine/CreateQueryDynamicReturnTypeExtension.php
44
62
45
63
-
46
- message : ' #^Access to constant on deprecated class Doctrine\\DBAL\\Types\\ArrayType\.$#'
64
+ message : '''
65
+ #^Access to constant on deprecated class Doctrine\\DBAL\\Types\\ArrayType\:
66
+ Use \{@link JsonType\} instead\.$#
67
+ '''
47
68
identifier : classConstant.deprecatedClass
48
69
count : 1
49
70
path : src/Type/Doctrine/Descriptors/ArrayType.php
50
71
51
72
-
52
- message : ' #^Access to constant on deprecated class Doctrine\\DBAL\\Types\\ObjectType\.$#'
73
+ message : '''
74
+ #^Access to constant on deprecated class Doctrine\\DBAL\\Types\\ObjectType\:
75
+ Use \{@link JsonType\} instead\.$#
76
+ '''
53
77
identifier : classConstant.deprecatedClass
54
78
count : 1
55
79
path : src/Type/Doctrine/Descriptors/ObjectType.php
@@ -67,13 +91,19 @@ parameters:
67
91
path : src/Type/Doctrine/Query/QueryResultTypeWalker.php
68
92
69
93
-
70
- message : ' #^Catching deprecated class Doctrine\\Common\\CommonException\.$#'
94
+ message : '''
95
+ #^Catching deprecated class Doctrine\\Common\\CommonException\:
96
+ The doctrine/common package is deprecated, please use specific packages and their exceptions instead\.$#
97
+ '''
71
98
identifier : catch.deprecatedClass
72
99
count : 1
73
100
path : src/Type/Doctrine/QueryBuilder/QueryBuilderGetQueryDynamicReturnTypeExtension.php
74
101
75
102
-
76
- message : ' #^Catching deprecated class Doctrine\\ORM\\ORMException\.$#'
103
+ message : '''
104
+ #^Catching deprecated class Doctrine\\ORM\\ORMException\:
105
+ Use Doctrine\\ORM\\Exception\\ORMException for catch and instanceof$#
106
+ '''
77
107
identifier : catch.deprecatedClass
78
108
count : 1
79
109
path : src/Type/Doctrine/QueryBuilder/QueryBuilderGetQueryDynamicReturnTypeExtension.php
@@ -84,20 +114,59 @@ parameters:
84
114
count : 1
85
115
path : tests/Classes/DoctrineProxyForbiddenClassNamesExtensionTest.php
86
116
117
+ -
118
+ message : '''
119
+ #^Instantiation of deprecated class Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver\:
120
+ This class will be removed in 3\.0 without replacement\.$#
121
+ '''
122
+ identifier : new.deprecatedClass
123
+ count : 1
124
+ path : tests/Classes/entity-manager.php
125
+
126
+ -
127
+ message : '''
128
+ #^Instantiation of deprecated class Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver\:
129
+ This class will be removed in 3\.0 without replacement\.$#
130
+ '''
131
+ identifier : new.deprecatedClass
132
+ count : 1
133
+ path : tests/DoctrineIntegration/ORM/entity-manager.php
134
+
87
135
-
88
136
message : ' #^Call to internal method PHPUnit\\Framework\\TestCase\:\:dataName\(\) from outside its root namespace PHPUnit\.$#'
89
137
identifier : method.internal
90
138
count : 14
91
139
path : tests/Platform/QueryResultTypeWalkerFetchTypeMatrixTest.php
92
140
141
+ -
142
+ message : '''
143
+ #^Instantiation of deprecated class Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver\:
144
+ This class will be removed in 3\.0 without replacement\.$#
145
+ '''
146
+ identifier : new.deprecatedClass
147
+ count : 1
148
+ path : tests/Platform/QueryResultTypeWalkerFetchTypeMatrixTest.php
149
+
93
150
-
94
151
message : ' #^Accessing PHPStan\\Rules\\DeadCode\\UnusedPrivatePropertyRule\:\:class is not covered by backward compatibility promise\. The class might change in a minor PHPStan version\.$#'
95
152
identifier : phpstanApi.classConstant
96
153
count : 1
97
154
path : tests/Rules/DeadCode/UnusedPrivatePropertyRuleTest.php
98
155
99
156
-
100
- message : ' #^Access to constant on deprecated class Doctrine\\DBAL\\Types\\ArrayType\.$#'
157
+ message : '''
158
+ #^Instantiation of deprecated class Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver\:
159
+ This class will be removed in 3\.0 without replacement\.$#
160
+ '''
161
+ identifier : new.deprecatedClass
162
+ count : 1
163
+ path : tests/Rules/DeadCode/entity-manager.php
164
+
165
+ -
166
+ message : '''
167
+ #^Access to constant on deprecated class Doctrine\\DBAL\\Types\\ArrayType\:
168
+ Use \{@link JsonType\} instead\.$#
169
+ '''
101
170
identifier : classConstant.deprecatedClass
102
171
count : 1
103
172
path : tests/Rules/Doctrine/ORM/EntityColumnRuleTest.php
@@ -143,3 +212,30 @@ parameters:
143
212
identifier : phpstanApi.classConstant
144
213
count : 1
145
214
path : tests/Rules/Properties/MissingReadOnlyPropertyAssignRuleTest.php
215
+
216
+ -
217
+ message : '''
218
+ #^Instantiation of deprecated class Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver\:
219
+ This class will be removed in 3\.0 without replacement\.$#
220
+ '''
221
+ identifier : new.deprecatedClass
222
+ count : 1
223
+ path : tests/Rules/Properties/entity-manager.php
224
+
225
+ -
226
+ message : '''
227
+ #^Instantiation of deprecated class Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver\:
228
+ This class will be removed in 3\.0 without replacement\.$#
229
+ '''
230
+ identifier : new.deprecatedClass
231
+ count : 1
232
+ path : tests/Type/Doctrine/DBAL/mysqli.php
233
+
234
+ -
235
+ message : '''
236
+ #^Instantiation of deprecated class Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver\:
237
+ This class will be removed in 3\.0 without replacement\.$#
238
+ '''
239
+ identifier : new.deprecatedClass
240
+ count : 1
241
+ path : tests/Type/Doctrine/DBAL/pdo.php
0 commit comments