Skip to content

Commit 1430c2d

Browse files
committed
Fix build
1 parent dfb2387 commit 1430c2d

File tree

2 files changed

+59
-6
lines changed

2 files changed

+59
-6
lines changed

Diff for: composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"require": {
1616
"php": "^7.4 || ^8.0",
1717
"ext-simplexml": "*",
18-
"phpstan/phpstan": "^2.1.2"
18+
"phpstan/phpstan": "^2.1.13"
1919
},
2020
"conflict": {
2121
"symfony/framework-bundle": "<3.0"

Diff for: phpstan-baseline.neon

+58-5
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,79 @@
11
parameters:
22
ignoreErrors:
33
-
4-
message: "#^Although PHPStan\\\\Reflection\\\\Php\\\\PhpPropertyReflection is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\\.$#"
4+
message: '#^Call to internal method Symfony\\Component\\Console\\Command\\Command\:\:mergeApplicationDefinition\(\) from outside its root namespace Symfony\.$#'
5+
identifier: method.internal
6+
count: 1
7+
path: src/Rules/Symfony/UndefinedArgumentRule.php
8+
9+
-
10+
message: '#^Call to internal method Symfony\\Component\\Console\\Command\\Command\:\:mergeApplicationDefinition\(\) from outside its root namespace Symfony\.$#'
11+
identifier: method.internal
12+
count: 1
13+
path: src/Rules/Symfony/UndefinedOptionRule.php
14+
15+
-
16+
message: '#^Although PHPStan\\Reflection\\Php\\PhpPropertyReflection is covered by backward compatibility promise, this instanceof assumption might break because it''s not guaranteed to always stay the same\.$#'
17+
identifier: phpstanApi.instanceofAssumption
518
count: 1
619
path: src/Symfony/RequiredAutowiringExtension.php
720

821
-
9-
message: "#^Call to function method_exists\\(\\) with Symfony\\\\Component\\\\Console\\\\Input\\\\InputOption and 'isNegatable' will always evaluate to true\\.$#"
22+
message: '#^Call to internal method Symfony\\Component\\Console\\Command\\Command\:\:mergeApplicationDefinition\(\) from outside its root namespace Symfony\.$#'
23+
identifier: method.internal
24+
count: 1
25+
path: src/Type/Symfony/CommandGetHelperDynamicReturnTypeExtension.php
26+
27+
-
28+
message: '#^Call to function method_exists\(\) with Symfony\\Component\\Console\\Input\\InputOption and ''isNegatable'' will always evaluate to true\.$#'
29+
identifier: function.alreadyNarrowedType
1030
count: 1
1131
path: src/Type/Symfony/GetOptionTypeHelper.php
1232

1333
-
14-
message: "#^Accessing PHPStan\\\\Rules\\\\Methods\\\\CallMethodsRule\\:\\:class is not covered by backward compatibility promise\\. The class might change in a minor PHPStan version\\.$#"
34+
message: '#^Call to internal method Symfony\\Component\\Console\\Command\\Command\:\:mergeApplicationDefinition\(\) from outside its root namespace Symfony\.$#'
35+
identifier: method.internal
36+
count: 1
37+
path: src/Type/Symfony/InputInterfaceGetArgumentDynamicReturnTypeExtension.php
38+
39+
-
40+
message: '#^Call to internal method Symfony\\Component\\Console\\Command\\Command\:\:mergeApplicationDefinition\(\) from outside its root namespace Symfony\.$#'
41+
identifier: method.internal
42+
count: 1
43+
path: src/Type/Symfony/InputInterfaceGetOptionDynamicReturnTypeExtension.php
44+
45+
-
46+
message: '#^Call to internal method Symfony\\Component\\Console\\Command\\Command\:\:mergeApplicationDefinition\(\) from outside its root namespace Symfony\.$#'
47+
identifier: method.internal
48+
count: 1
49+
path: src/Type/Symfony/InputInterfaceGetOptionsDynamicReturnTypeExtension.php
50+
51+
-
52+
message: '#^Call to internal method Symfony\\Component\\Console\\Command\\Command\:\:mergeApplicationDefinition\(\) from outside its root namespace Symfony\.$#'
53+
identifier: method.internal
54+
count: 1
55+
path: src/Type/Symfony/InputInterfaceHasArgumentDynamicReturnTypeExtension.php
56+
57+
-
58+
message: '#^Call to internal method Symfony\\Component\\Console\\Command\\Command\:\:mergeApplicationDefinition\(\) from outside its root namespace Symfony\.$#'
59+
identifier: method.internal
60+
count: 1
61+
path: src/Type/Symfony/InputInterfaceHasOptionDynamicReturnTypeExtension.php
62+
63+
-
64+
message: '#^Accessing PHPStan\\Rules\\Methods\\CallMethodsRule\:\:class is not covered by backward compatibility promise\. The class might change in a minor PHPStan version\.$#'
65+
identifier: phpstanApi.classConstant
1566
count: 1
1667
path: tests/Rules/NonexistentInputBagClassTest.php
1768

1869
-
19-
message: "#^Accessing PHPStan\\\\Rules\\\\Properties\\\\UninitializedPropertyRule\\:\\:class is not covered by backward compatibility promise\\. The class might change in a minor PHPStan version\\.$#"
70+
message: '#^Accessing PHPStan\\Rules\\Properties\\UninitializedPropertyRule\:\:class is not covered by backward compatibility promise\. The class might change in a minor PHPStan version\.$#'
71+
identifier: phpstanApi.classConstant
2072
count: 1
2173
path: tests/Symfony/RequiredAutowiringExtensionTest.php
2274

2375
-
24-
message: "#^Accessing PHPStan\\\\Rules\\\\Comparison\\\\ImpossibleCheckTypeMethodCallRule\\:\\:class is not covered by backward compatibility promise\\. The class might change in a minor PHPStan version\\.$#"
76+
message: '#^Accessing PHPStan\\Rules\\Comparison\\ImpossibleCheckTypeMethodCallRule\:\:class is not covered by backward compatibility promise\. The class might change in a minor PHPStan version\.$#'
77+
identifier: phpstanApi.classConstant
2578
count: 1
2679
path: tests/Type/Symfony/ImpossibleCheckTypeMethodCallRuleTest.php

0 commit comments

Comments
 (0)