-
Notifications
You must be signed in to change notification settings - Fork 89
/
phpstan-baseline.neon
73 lines (62 loc) · 3.88 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
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
67
68
69
70
71
72
73
parameters:
ignoreErrors:
-
message: "#^Method Nelmio\\\\SecurityBundle\\\\ContentSecurityPolicy\\\\DirectiveSet\\:\\:normalizeSignatures\\(\\) should return array\\<string, string\\>\\|null but returns array\\<string, array\\<int, string\\>\\|string\\>\\.$#"
count: 1
path: src/ContentSecurityPolicy/DirectiveSet.php
-
message: "#^Parameter \\#1 \\$bool of method Nelmio\\\\SecurityBundle\\\\ContentSecurityPolicy\\\\DirectiveSet\\:\\:setLevel1Fallback\\(\\) expects bool, mixed given\\.$#"
count: 1
path: src/ContentSecurityPolicy/DirectiveSet.php
-
message: "#^Parameter \\#1 \\$sourceList of method Nelmio\\\\SecurityBundle\\\\ContentSecurityPolicy\\\\ContentSecurityPolicyParser\\:\\:parseSourceList\\(\\) expects array\\<int, string\\>\\|true, mixed given\\.$#"
count: 1
path: src/ContentSecurityPolicy/DirectiveSet.php
-
message: "#^Property Nelmio\\\\SecurityBundle\\\\ContentSecurityPolicy\\\\Violation\\\\Report\\:\\:\\$data \\(array\\{document\\-uri\\?\\: string, referrer\\?\\: string, blocked\\-uri\\?\\: string, effective\\-directive\\?\\: string, violated\\-directive\\?\\: string, original\\-policy\\?\\: string, disposition\\?\\: string, status\\-code\\?\\: int, \\.\\.\\.\\}\\) does not accept array\\{document\\-uri\\?\\: int\\|string, referrer\\?\\: int\\|string, blocked\\-uri\\?\\: int\\|string, effective\\-directive\\?\\: int\\|string, violated\\-directive\\?\\: int\\|string, original\\-policy\\?\\: int\\|string, disposition\\?\\: int\\|string, status\\-code\\?\\: int\\|string, \\.\\.\\.\\}\\.$#"
count: 1
path: src/ContentSecurityPolicy/Violation/Report.php
-
message: "#^Parameter \\#1 \\$name of class Symfony\\\\Component\\\\HttpFoundation\\\\Cookie constructor expects string, string\\|false given\\.$#"
count: 1
path: src/EventListener/FlexibleSslListener.php
-
message: "#^Parameter \\#2 \\$value of class Symfony\\\\Component\\\\HttpFoundation\\\\Cookie constructor expects string\\|null, string\\|false given\\.$#"
count: 1
path: src/EventListener/FlexibleSslListener.php
-
message: """
#^Fetching class constant class of deprecated class Nelmio\\\\SecurityBundle\\\\EventListener\\\\XssProtectionListener\\:
since NelmioSecurityBundle 3\\.4\\.0, to be removed in 4\\.0\\.$#
"""
count: 2
path: src/Resources/config/xss_protection.php
-
message: "#^Method Nelmio\\\\SecurityBundle\\\\UserAgent\\\\UAFamilyParser\\\\PsrCacheUAFamilyParser\\:\\:getUaFamily\\(\\) should return string but returns mixed\\.$#"
count: 1
path: src/UserAgent/UAFamilyParser/PsrCacheUAFamilyParser.php
-
message: "#^Parameter \\#1 \\$parsedYaml of method Nelmio\\\\SecurityBundle\\\\Tests\\\\DependencyInjection\\\\ConfigurationTest\\:\\:processYaml\\(\\) expects array, mixed given\\.$#"
count: 1
path: tests/DependencyInjection/ConfigurationTest.php
-
message: """
#^Instantiation of deprecated class Nelmio\\\\SecurityBundle\\\\EventListener\\\\XssProtectionListener\\:
since NelmioSecurityBundle 3\\.4\\.0, to be removed in 4\\.0\\.$#
"""
count: 6
path: tests/Listener/XssProtectionListenerTest.php
-
message: """
#^Parameter \\$listener of method Nelmio\\\\SecurityBundle\\\\Tests\\\\Listener\\\\XssProtectionListenerTest\\:\\:callListener\\(\\) has typehint with deprecated class Nelmio\\\\SecurityBundle\\\\EventListener\\\\XssProtectionListener\\:
since NelmioSecurityBundle 3\\.4\\.0, to be removed in 4\\.0\\.$#
"""
count: 1
path: tests/Listener/XssProtectionListenerTest.php
-
message: """
#^Parameter \\$listener of method Nelmio\\\\SecurityBundle\\\\Tests\\\\Listener\\\\XssProtectionListenerTest\\:\\:testLegacyVariousConfig\\(\\) has typehint with deprecated class Nelmio\\\\SecurityBundle\\\\EventListener\\\\XssProtectionListener\\:
since NelmioSecurityBundle 3\\.4\\.0, to be removed in 4\\.0\\.$#
"""
count: 1
path: tests/Listener/XssProtectionListenerTest.php