Skip to content

Commit b226951

Browse files
committed
Fix build
1 parent 8e76755 commit b226951

File tree

1 file changed

+49
-1
lines changed

1 file changed

+49
-1
lines changed

phpstan-baseline.neon

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ parameters:
66
count: 2
77
path: src/Doctrine/Driver/DriverDetector.php
88

9+
-
10+
message: '#^Access to constant on deprecated class Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver\.$#'
11+
identifier: classConstant.deprecatedClass
12+
count: 1
13+
path: src/Doctrine/Mapping/ClassMetadataFactory.php
14+
915
-
1016
message: '#^Calling PHPStan\\Type\\TypehintHelper\:\:decideType\(\) is not covered by backward compatibility promise\. The method might change in a minor PHPStan version\.$#'
1117
identifier: phpstanApi.method
@@ -25,11 +31,47 @@ parameters:
2531
path: src/Stubs/Doctrine/StubFilesExtensionLoader.php
2632

2733
-
28-
message: '#^Parameter references internal interface Doctrine\\ORM\\Query\\AST\\Phase2OptimizableConditional in its type\.$#'
34+
message: '#^Catching deprecated class Doctrine\\Common\\CommonException\.$#'
35+
identifier: catch.deprecatedClass
36+
count: 1
37+
path: src/Type/Doctrine/CreateQueryDynamicReturnTypeExtension.php
38+
39+
-
40+
message: '#^Catching deprecated class Doctrine\\ORM\\ORMException\.$#'
41+
identifier: catch.deprecatedClass
42+
count: 1
43+
path: src/Type/Doctrine/CreateQueryDynamicReturnTypeExtension.php
44+
45+
-
46+
message: '#^Access to constant on deprecated class Doctrine\\DBAL\\Types\\ArrayType\.$#'
47+
identifier: classConstant.deprecatedClass
48+
count: 1
49+
path: src/Type/Doctrine/Descriptors/ArrayType.php
50+
51+
-
52+
message: '#^Access to constant on deprecated class Doctrine\\DBAL\\Types\\ObjectType\.$#'
53+
identifier: classConstant.deprecatedClass
54+
count: 1
55+
path: src/Type/Doctrine/Descriptors/ObjectType.php
56+
57+
-
58+
message: '#^Parameter \$condExpr references internal interface Doctrine\\ORM\\Query\\AST\\Phase2OptimizableConditional in its type\.$#'
2959
identifier: parameter.internalInterface
3060
count: 2
3161
path: src/Type/Doctrine/Query/QueryResultTypeWalker.php
3262

63+
-
64+
message: '#^Catching deprecated class Doctrine\\Common\\CommonException\.$#'
65+
identifier: catch.deprecatedClass
66+
count: 1
67+
path: src/Type/Doctrine/QueryBuilder/QueryBuilderGetQueryDynamicReturnTypeExtension.php
68+
69+
-
70+
message: '#^Catching deprecated class Doctrine\\ORM\\ORMException\.$#'
71+
identifier: catch.deprecatedClass
72+
count: 1
73+
path: src/Type/Doctrine/QueryBuilder/QueryBuilderGetQueryDynamicReturnTypeExtension.php
74+
3375
-
3476
message: '#^Accessing PHPStan\\Rules\\Classes\\InstantiationRule\:\:class is not covered by backward compatibility promise\. The class might change in a minor PHPStan version\.$#'
3577
identifier: phpstanApi.classConstant
@@ -48,6 +90,12 @@ parameters:
4890
count: 1
4991
path: tests/Rules/DeadCode/UnusedPrivatePropertyRuleTest.php
5092

93+
-
94+
message: '#^Access to constant on deprecated class Doctrine\\DBAL\\Types\\ArrayType\.$#'
95+
identifier: classConstant.deprecatedClass
96+
count: 1
97+
path: tests/Rules/Doctrine/ORM/EntityColumnRuleTest.php
98+
5199
-
52100
message: '#^Accessing PHPStan\\Rules\\Methods\\CallMethodsRule\:\:class is not covered by backward compatibility promise\. The class might change in a minor PHPStan version\.$#'
53101
identifier: phpstanApi.classConstant

0 commit comments

Comments
 (0)