-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan-baseline.neon
37 lines (30 loc) · 1.75 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
32
33
34
35
36
parameters:
ignoreErrors:
-
message: "#^Parameter \\#1 \\$path of function dirname expects string, string\\|false given\\.$#"
count: 1
path: src/DependencyInjection/FilterExtension.php
-
message: "#^Method PUGX\\\\FilterBundle\\\\Filter\\:\\:getRequest\\(\\) should return Symfony\\\\Component\\\\HttpFoundation\\\\Request but returns Symfony\\\\Component\\\\HttpFoundation\\\\Request\\|null\\.$#"
count: 1
path: src/Filter.php
-
message: "#^Call to an undefined method PHPUnit\\\\Framework\\\\MockObject\\\\MockObject\\|Symfony\\\\Component\\\\Form\\\\FormFactory\\:\\:method\\(\\)\\.$#"
count: 3
path: tests/FilterTest.php
-
message: "#^Call to an undefined method PHPUnit\\\\Framework\\\\MockObject\\\\MockObject\\|Symfony\\\\Component\\\\HttpFoundation\\\\Session\\\\SessionInterface\\:\\:expects\\(\\)\\.$#"
count: 3
path: tests/Twig/FilterRuntimeTest.php
-
message: "#^Parameter \\#1 \\$session of method Symfony\\\\Component\\\\HttpFoundation\\\\Request\\:\\:setSession\\(\\) expects Symfony\\\\Component\\\\HttpFoundation\\\\Session\\\\SessionInterface, PHPUnit\\\\Framework\\\\MockObject\\\\MockObject\\|Symfony\\\\Component\\\\HttpFoundation\\\\Session\\\\SessionInterface given\\.$#"
count: 2
path: tests/Twig/FilterRuntimeTest.php
-
message: "#^Parameter \\#2 \\$filter of class PUGX\\\\FilterBundle\\\\Twig\\\\FilterRuntime constructor expects PUGX\\\\FilterBundle\\\\Filter, PHPUnit\\\\Framework\\\\MockObject\\\\MockObject\\|PUGX\\\\FilterBundle\\\\Filter given\\.$#"
count: 2
path: tests/Twig/FilterRuntimeTest.php
-
message: "#^Return type of call to method PHPUnit\\\\Framework\\\\TestCase\\:\\:createMock\\(\\) contains unresolvable type\\.$#"
count: 2
path: tests/Twig/FilterRuntimeTest.php