forked from repman-io/repman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
66 lines (63 loc) · 2.6 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
54
55
56
57
58
59
60
61
62
63
64
65
66
includes:
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
parameters:
level: max
reportMaybesInPropertyPhpDocTypes: false
checkExplicitMixed: false
paths:
- src
- tests
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: "#^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: "#^Service \"[.a-zA-Z\\\\]+\" is private\\.$#"
paths:
- tests/
-
message: """
#^Call to deprecated method getUsername\\(\\) of class Buddy\\\\Repman\\\\Security\\\\Model\\\\User\\:
since Symfony 5\\.3, use getUserIdentifier\\(\\) instead$#
"""
count: 1
path: tests/Unit/Security/Model/UserTest.php
-
message: """
#^Call to deprecated method getUsername\\(\\) of class Buddy\\\\Repman\\\\Security\\\\Model\\\\Organization\\:
since Symfony 5\\.3, use getUserIdentifier\\(\\) instead$#
"""
count: 1
path: tests/Unit/Security/Model/OrganizationTest.php
bootstrapFiles:
- vendor/twig/twig/src/Extension/CoreExtension.php # twig global functions
symfony:
container_xml_path: '%rootDir%/../../../var/cache/test/Buddy_Repman_KernelTestDebugContainer.xml'