@@ -7,11 +7,23 @@ parameters:
77 path : src/Doctrine/Driver/DriverDetector.php
88
99 -
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+ '''
1114 identifier : classConstant.deprecatedClass
1215 count : 1
1316 path : src/Doctrine/Mapping/ClassMetadataFactory.php
1417
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+ 1527 -
1628 message : ' #^Calling PHPStan\\Type\\TypehintHelper\:\:decideType\(\) is not covered by backward compatibility promise\. The method might change in a minor PHPStan version\.$#'
1729 identifier : phpstanApi.method
@@ -31,25 +43,37 @@ parameters:
3143 path : src/Stubs/Doctrine/StubFilesExtensionLoader.php
3244
3345 -
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+ '''
3550 identifier : catch.deprecatedClass
3651 count : 1
3752 path : src/Type/Doctrine/CreateQueryDynamicReturnTypeExtension.php
3853
3954 -
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+ '''
4159 identifier : catch.deprecatedClass
4260 count : 1
4361 path : src/Type/Doctrine/CreateQueryDynamicReturnTypeExtension.php
4462
4563 -
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+ '''
4768 identifier : classConstant.deprecatedClass
4869 count : 1
4970 path : src/Type/Doctrine/Descriptors/ArrayType.php
5071
5172 -
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+ '''
5377 identifier : classConstant.deprecatedClass
5478 count : 1
5579 path : src/Type/Doctrine/Descriptors/ObjectType.php
@@ -67,13 +91,19 @@ parameters:
6791 path : src/Type/Doctrine/Query/QueryResultTypeWalker.php
6892
6993 -
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+ '''
7198 identifier : catch.deprecatedClass
7299 count : 1
73100 path : src/Type/Doctrine/QueryBuilder/QueryBuilderGetQueryDynamicReturnTypeExtension.php
74101
75102 -
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+ '''
77107 identifier : catch.deprecatedClass
78108 count : 1
79109 path : src/Type/Doctrine/QueryBuilder/QueryBuilderGetQueryDynamicReturnTypeExtension.php
@@ -84,20 +114,59 @@ parameters:
84114 count : 1
85115 path : tests/Classes/DoctrineProxyForbiddenClassNamesExtensionTest.php
86116
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+ 87135 -
88136 message : ' #^Call to internal method PHPUnit\\Framework\\TestCase\:\:dataName\(\) from outside its root namespace PHPUnit\.$#'
89137 identifier : method.internal
90138 count : 14
91139 path : tests/Platform/QueryResultTypeWalkerFetchTypeMatrixTest.php
92140
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+ 93150 -
94151 message : ' #^Accessing PHPStan\\Rules\\DeadCode\\UnusedPrivatePropertyRule\:\:class is not covered by backward compatibility promise\. The class might change in a minor PHPStan version\.$#'
95152 identifier : phpstanApi.classConstant
96153 count : 1
97154 path : tests/Rules/DeadCode/UnusedPrivatePropertyRuleTest.php
98155
99156 -
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+ '''
101170 identifier : classConstant.deprecatedClass
102171 count : 1
103172 path : tests/Rules/Doctrine/ORM/EntityColumnRuleTest.php
@@ -143,3 +212,30 @@ parameters:
143212 identifier : phpstanApi.classConstant
144213 count : 1
145214 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