-
-
Notifications
You must be signed in to change notification settings - Fork 93
/
phpstan-baseline.neon
31 lines (26 loc) · 1.46 KB
/
phpstan-baseline.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
parameters:
ignoreErrors:
-
message: "#^Parameter \\#1 \\$className of method PHPUnit\\\\Framework\\\\TestCase\\:\\:getMockBuilder\\(\\) expects class\\-string\\<mixed\\>, string given\\.$#"
count: 1
path: tests/Badge/Model/UseCase/CreateCircleCiBadgeTest.php
-
message: "#^Unable to resolve the template type T in call to method PHPUnit\\\\Framework\\\\TestCase\\:\\:getMockBuilder\\(\\)$#"
count: 1
path: tests/Badge/Model/UseCase/CreateCircleCiBadgeTest.php
-
message: "#^Parameter \\#1 \\$className of method PHPUnit\\\\Framework\\\\TestCase\\:\\:getMockBuilder\\(\\) expects class\\-string\\<mixed\\>, string given\\.$#"
count: 1
path: tests/Badge/Model/UseCase/CreateComposerLockBadgeTest.php
-
message: "#^Unable to resolve the template type T in call to method PHPUnit\\\\Framework\\\\TestCase\\:\\:getMockBuilder\\(\\)$#"
count: 1
path: tests/Badge/Model/UseCase/CreateComposerLockBadgeTest.php
-
message: "#^Property Symfony\\\\Component\\\\HttpFoundation\\\\Response\\:\\:\\$headers \\(Symfony\\\\Component\\\\HttpFoundation\\\\ResponseHeaderBag\\) does not accept PHPUnit\\\\Framework\\\\MockObject\\\\MockObject&Symfony\\\\Component\\\\HttpFoundation\\\\HeaderBag\\.$#"
count: 1
path: tests/EventListener/BadgeLoggerSubscriberTest.php
-
message: "#^Cannot call method getStatusCode\\(\\) on Symfony\\\\Component\\\\HttpFoundation\\\\Response\\|null\\.$#"
count: 1
path: tests/EventListener/BadgeSubscriberTest.php