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 34a6bb5

Browse files
PHPStan baseline
1 parent 0509872 commit 34a6bb5

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

‎Makefile‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,7 @@ cs-fix:
2121
.PHONY: phpstan
2222
phpstan:
2323
php vendor/bin/phpstan analyse -l 8 -c phpstan.neon src tests
24+
25+
.PHONY: phpstan-generate-baseline
26+
phpstan-generate-baseline:
27+
php vendor/bin/phpstan analyse -l 8 -c phpstan.neon src tests -b phpstan-baseline.neon

‎phpstan-baseline.neon‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
parameters:
2+
ignoreErrors:
3+
-
4+
message: "#^Accessing PHPStan\\\\Rules\\\\Comparison\\\\ImpossibleCheckTypeMethodCallRule\\:\\:class is not covered by backward compatibility promise\\. The class might change in a minor PHPStan version\\.$#"
5+
count: 1
6+
path: tests/Rules/PHPUnit/AssertSameMethodDifferentTypesRuleTest.php
7+
8+
-
9+
message: "#^Accessing PHPStan\\\\Rules\\\\Comparison\\\\ImpossibleCheckTypeStaticMethodCallRule\\:\\:class is not covered by backward compatibility promise\\. The class might change in a minor PHPStan version\\.$#"
10+
count: 1
11+
path: tests/Rules/PHPUnit/AssertSameStaticMethodDifferentTypesRuleTest.php

‎phpstan.neon‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ includes:
33
- rules.neon
44
- vendor/phpstan/phpstan-strict-rules/rules.neon
55
- phar://phpstan.phar/conf/bleedingEdge.neon
6+
- phpstan-baseline.neon
67

78
parameters:
89
excludePaths:

0 commit comments

Comments
(0)

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