Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6317ec1

Browse files
Fix build
1 parent ce89f09 commit 6317ec1

File tree

2 files changed

+36
-22
lines changed

2 files changed

+36
-22
lines changed

‎composer.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
],
88
"require": {
99
"php": "^7.4 || ^8.0",
10-
"phpstan/phpstan": "^2.1.10"
10+
"phpstan/phpstan": "^2.1.13"
1111
},
1212
"conflict": {
1313
"doctrine/collections": "<1.0",
@@ -31,7 +31,7 @@
3131
"gedmo/doctrine-extensions": "^3.8",
3232
"nesbot/carbon": "^2.49",
3333
"php-parallel-lint/php-parallel-lint": "^1.2",
34-
"phpstan/phpstan-deprecation-rules": "^2.0",
34+
"phpstan/phpstan-deprecation-rules": "^2.0.2",
3535
"phpstan/phpstan-phpunit": "^2.0",
3636
"phpstan/phpstan-strict-rules": "^2.0",
3737
"phpunit/phpunit": "^9.6.20",

‎phpstan-baseline.neon‎

Lines changed: 34 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,85 @@
11
parameters:
22
ignoreErrors:
33
-
4-
message: "#^Calling PHPStan\\\\Type\\\\ParserNodeTypeToPHPStanType\\:\\:resolve\\(\\) is not covered by backward compatibility promise\\. The method might change in a minor PHPStan version\\.$#"
5-
count: 1
6-
path: src/Rules/Doctrine/ORM/EntityColumnRule.php
4+
message: '#^Call to internal method Doctrine\\DBAL\\Connection\:\:getParams\(\) from outside its root namespace Doctrine\.$#'
5+
identifier: method.internal
6+
count: 2
7+
path: src/Doctrine/Driver/DriverDetector.php
78

89
-
9-
message: "#^Calling PHPStan\\\\Type\\\\TypehintHelper\\:\\:decideType\\(\\) is not covered by backward compatibility promise\\. The method might change in a minor PHPStan version\\.$#"
10+
message: '#^Calling PHPStan\\Type\\TypehintHelper\:\:decideType\(\) is not covered by backward compatibility promise\. The method might change in a minor PHPStan version\.$#'
11+
identifier: phpstanApi.method
1012
count: 1
1113
path: src/Rules/Doctrine/ORM/EntityColumnRule.php
1214

1315
-
14-
message: "#^Calling PHPStan\\\\Type\\\\ParserNodeTypeToPHPStanType\\:\\:resolve\\(\\) is not covered by backward compatibility promise\\. The method might change in a minor PHPStan version\\.$#"
15-
count: 1
16-
path: src/Rules/Doctrine/ORM/EntityRelationRule.php
17-
18-
-
19-
message: "#^Calling PHPStan\\\\Type\\\\TypehintHelper\\:\\:decideType\\(\\) is not covered by backward compatibility promise\\. The method might change in a minor PHPStan version\\.$#"
16+
message: '#^Calling PHPStan\\Type\\TypehintHelper\:\:decideType\(\) is not covered by backward compatibility promise\. The method might change in a minor PHPStan version\.$#'
17+
identifier: phpstanApi.method
2018
count: 1
2119
path: src/Rules/Doctrine/ORM/EntityRelationRule.php
2220

2321
-
24-
message: "#^PHPDoc tag @var with type class\\-string is not subtype of native type 'Doctrine\\\\\\\\Bundle...'\\.$#"
22+
message: '#^PHPDoc tag @var with type class\-string is not subtype of native type ''Doctrine\\\\Bundle...''\.$#'
23+
identifier: varTag.nativeType
2524
count: 1
2625
path: src/Stubs/Doctrine/StubFilesExtensionLoader.php
2726

2827
-
29-
message: "#^Accessing PHPStan\\\\Rules\\\\Classes\\\\InstantiationRule\\:\\:class is not covered by backward compatibility promise\\. The class might change in a minor PHPStan version\\.$#"
28+
message: '#^Accessing PHPStan\\Rules\\Classes\\InstantiationRule\:\:class is not covered by backward compatibility promise\. The class might change in a minor PHPStan version\.$#'
29+
identifier: phpstanApi.classConstant
3030
count: 1
3131
path: tests/Classes/DoctrineProxyForbiddenClassNamesExtensionTest.php
3232

3333
-
34-
message: "#^Accessing PHPStan\\\\Rules\\\\DeadCode\\\\UnusedPrivatePropertyRule\\:\\:class is not covered by backward compatibility promise\\. The class might change in a minor PHPStan version\\.$#"
34+
message: '#^Call to internal method PHPUnit\\Framework\\TestCase\:\:dataName\(\) from outside its root namespace PHPUnit\.$#'
35+
identifier: method.internal
36+
count: 14
37+
path: tests/Platform/QueryResultTypeWalkerFetchTypeMatrixTest.php
38+
39+
-
40+
message: '#^Accessing PHPStan\\Rules\\DeadCode\\UnusedPrivatePropertyRule\:\:class is not covered by backward compatibility promise\. The class might change in a minor PHPStan version\.$#'
41+
identifier: phpstanApi.classConstant
3542
count: 1
3643
path: tests/Rules/DeadCode/UnusedPrivatePropertyRuleTest.php
3744

3845
-
39-
message: "#^Accessing PHPStan\\\\Rules\\\\Methods\\\\CallMethodsRule\\:\\:class is not covered by backward compatibility promise\\. The class might change in a minor PHPStan version\\.$#"
46+
message: '#^Accessing PHPStan\\Rules\\Methods\\CallMethodsRule\:\:class is not covered by backward compatibility promise\. The class might change in a minor PHPStan version\.$#'
47+
identifier: phpstanApi.classConstant
4048
count: 1
4149
path: tests/Rules/Doctrine/ORM/MagicRepositoryMethodCallRuleTest.php
4250

4351
-
44-
message: "#^Accessing PHPStan\\\\Rules\\\\Exceptions\\\\CatchWithUnthrownExceptionRule\\:\\:class is not covered by backward compatibility promise\\. The class might change in a minor PHPStan version\\.$#"
52+
message: '#^Accessing PHPStan\\Rules\\Exceptions\\CatchWithUnthrownExceptionRule\:\:class is not covered by backward compatibility promise\. The class might change in a minor PHPStan version\.$#'
53+
identifier: phpstanApi.classConstant
4554
count: 1
4655
path: tests/Rules/Exceptions/CatchWithUnthrownExceptionRuleTest.php
4756

4857
-
49-
message: "#^Accessing PHPStan\\\\Rules\\\\Exceptions\\\\TooWideMethodThrowTypeRule\\:\\:class is not covered by backward compatibility promise\\. The class might change in a minor PHPStan version\\.$#"
58+
message: '#^Accessing PHPStan\\Rules\\Exceptions\\TooWideMethodThrowTypeRule\:\:class is not covered by backward compatibility promise\. The class might change in a minor PHPStan version\.$#'
59+
identifier: phpstanApi.classConstant
5060
count: 1
5161
path: tests/Rules/Exceptions/TooWideMethodThrowTypeRuleTest.php
5262

5363
-
54-
message: "#^Accessing PHPStan\\\\Rules\\\\DeadCode\\\\UnusedPrivatePropertyRule\\:\\:class is not covered by backward compatibility promise\\. The class might change in a minor PHPStan version\\.$#"
64+
message: '#^Accessing PHPStan\\Rules\\DeadCode\\UnusedPrivatePropertyRule\:\:class is not covered by backward compatibility promise\. The class might change in a minor PHPStan version\.$#'
65+
identifier: phpstanApi.classConstant
5566
count: 1
5667
path: tests/Rules/Properties/MissingGedmoByPhpDocPropertyAssignRuleTest.php
5768

5869
-
59-
message: "#^Accessing PHPStan\\\\Rules\\\\DeadCode\\\\UnusedPrivatePropertyRule\\:\\:class is not covered by backward compatibility promise\\. The class might change in a minor PHPStan version\\.$#"
70+
message: '#^Accessing PHPStan\\Rules\\DeadCode\\UnusedPrivatePropertyRule\:\:class is not covered by backward compatibility promise\. The class might change in a minor PHPStan version\.$#'
71+
identifier: phpstanApi.classConstant
6072
count: 1
6173
path: tests/Rules/Properties/MissingGedmoPropertyAssignRuleTest.php
6274

6375
-
64-
message: "#^Accessing PHPStan\\\\Rules\\\\Properties\\\\MissingReadOnlyByPhpDocPropertyAssignRule\\:\\:class is not covered by backward compatibility promise\\. The class might change in a minor PHPStan version\\.$#"
76+
message: '#^Accessing PHPStan\\Rules\\Properties\\MissingReadOnlyByPhpDocPropertyAssignRule\:\:class is not covered by backward compatibility promise\. The class might change in a minor PHPStan version\.$#'
77+
identifier: phpstanApi.classConstant
6578
count: 1
6679
path: tests/Rules/Properties/MissingReadOnlyByPhpDocPropertyAssignRuleTest.php
6780

6881
-
69-
message: "#^Accessing PHPStan\\\\Rules\\\\Properties\\\\MissingReadOnlyPropertyAssignRule\\:\\:class is not covered by backward compatibility promise\\. The class might change in a minor PHPStan version\\.$#"
82+
message: '#^Accessing PHPStan\\Rules\\Properties\\MissingReadOnlyPropertyAssignRule\:\:class is not covered by backward compatibility promise\. The class might change in a minor PHPStan version\.$#'
83+
identifier: phpstanApi.classConstant
7084
count: 1
7185
path: tests/Rules/Properties/MissingReadOnlyPropertyAssignRuleTest.php

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /