forked from sensiolabs/GotenbergBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
44 lines (44 loc) · 1.8 KB
/
phpstan.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
37
38
39
40
41
42
43
44
parameters:
phpVersion: 80100
level: 8
paths:
- 'config'
- 'src'
- 'tests'
ignoreErrors:
-
message: "#^Cannot call method generate\\(\\) on Symfony\\\\Component\\\\Routing\\\\Generator\\\\UrlGeneratorInterface\\|null\\.$#"
count: 1
path: src/Builder/Pdf/UrlPdfBuilder.php
-
message: "#^Cannot call method getContext\\(\\) on Symfony\\\\Component\\\\Routing\\\\Generator\\\\UrlGeneratorInterface\\|null\\.$#"
count: 1
path: src/Builder/Pdf/UrlPdfBuilder.php
-
message: "#^Cannot call method setContext\\(\\) on Symfony\\\\Component\\\\Routing\\\\Generator\\\\UrlGeneratorInterface\\|null\\.$#"
count: 2
path: src/Builder/Pdf/UrlPdfBuilder.php
-
message: "#^Cannot call method generate\\(\\) on Symfony\\\\Component\\\\Routing\\\\Generator\\\\UrlGeneratorInterface\\|null\\.$#"
count: 1
path: src/Builder/Screenshot/UrlScreenshotBuilder.php
-
message: "#^Cannot call method getContext\\(\\) on Symfony\\\\Component\\\\Routing\\\\Generator\\\\UrlGeneratorInterface\\|null\\.$#"
count: 1
path: src/Builder/Screenshot/UrlScreenshotBuilder.php
-
message: "#^Cannot call method setContext\\(\\) on Symfony\\\\Component\\\\Routing\\\\Generator\\\\UrlGeneratorInterface\\|null\\.$#"
count: 2
path: src/Builder/Screenshot/UrlScreenshotBuilder.php
-
message: "#^Cannot use array destructuring on array\\<int, string\\|null\\>\\|null\\.$#"
count: 1
path: src/DataCollector/GotenbergDataCollector.php
-
message: "#^Method Sensiolabs\\\\GotenbergBundle\\\\Tests\\\\Kernel\\:\\:configureContainer\\(\\) is unused\\.$#"
count: 1
path: tests/Kernel.php
- # Fixed when requiring 8.2
message: "#^Parameter \\#1 \\$iterator of function iterator_to_array expects Traversable, iterable given\\.$#"
count: 1
path: tests/Builder/AbstractBuilderTestCase.php