forked from repman-io/repman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
53 lines (50 loc) · 2.14 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
45
46
47
48
49
50
51
52
53
includes:
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
parameters:
level: max
reportMaybesInPropertyPhpDocTypes: false
ignoreErrors:
-
message: "#^Strict comparison using \\!\\=\\= between string and null will always evaluate to true\\.$#"
count: 1
path: src/Service/PackageSynchronizer/ComposerPackageSynchronizer.php
-
message: "#^Variable method call on Composer\\\\Package\\\\PackageInterface\\.$#"
count: 1
path: src/Service/PackageSynchronizer/ComposerPackageSynchronizer.php
-
message: "#^Variable property access on DateInterval\\.$#"
count: 1
path: src/Service/Twig/DateExtension.php
-
message: "#^Only booleans are allowed in a ternary operator condition, int given\\.$#"
count: 1
path: src/Service/Twig/DateExtension.php
-
message: "#^Expression on left side of \\?\\? is not nullable\\.$#"
count: 4
path: src/Service/PackageSynchronizer/ComposerPackageSynchronizer.php
-
message: "#^Variable \\$http_response_header in isset\\(\\) always exists and is not nullable\\.$#"
count: 1
path: src/Service/Downloader/ReactDownloader.php
-
message: "#^Property .+ is never read, only written\\.$#"
path: src/Entity/
-
message: "#^Property .+\\:\\:\\$key is unused\\.$#"
count: 1
path: src/Entity/Config.php
-
message: "#^Variable method call on React\\\\Http\\\\Browser\\.$#"
count: 1
path: src/Service/Downloader/ReactDownloader.php
-
message: "#^Call to an undefined method Symfony\\\\Component\\\\HttpFoundation\\\\Session\\\\SessionInterface\\:\\:getFlashBag\\(\\)\\.$#"
paths:
- src/
- tests/
bootstrapFiles:
- vendor/twig/twig/src/Extension/CoreExtension.php # twig global functions
symfony:
container_xml_path: '%rootDir%/../../../var/cache/test/Buddy_Repman_KernelTestDebugContainer.xml'