forked from nelmio/NelmioSecurityBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan-baseline.neon
70 lines (58 loc) · 3.27 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
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: "#^Offset 'enforce'\\|'report' does not exist on array\\{enforce\\?\\: array\\<string, mixed\\>, report\\?\\: array\\<string, mixed\\>\\}\\.$#"
count: 3
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: "#^Offset 'enforce'\\|'report' does not exist on array\\{enforce\\?\\: array\\{browser_adaptive\\: array\\{enabled\\: bool, parser\\: string\\}\\}, report\\?\\: array\\{browser_adaptive\\: array\\{enabled\\: bool, parser\\: string\\}\\}\\}\\.$#"
count: 2
path: src/DependencyInjection/NelmioSecurityExtension.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: "#^Parameter \\#1 \\$value of method Nelmio\\\\SecurityBundle\\\\Signer\\:\\:getSignedValue\\(\\) expects string, string\\|null given\\.$#"
count: 1
path: src/EventListener/SignedCookieListener.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: """
#^Fetching deprecated class constant MASTER_REQUEST of class Symfony\\\\Component\\\\HttpKernel\\\\HttpKernelInterface\\:
since symfony/http\\-kernel 5\\.3, use MAIN_REQUEST instead\\.
To ease the migration, this constant won't be removed until Symfony 7\\.0\\.$#
"""
count: 1
path: tests/Listener/ListenerTestCase.php
-
message: """
#^Fetching deprecated class constant MASTER_REQUEST of class Symfony\\\\Component\\\\HttpKernel\\\\HttpKernelInterface\\:
since symfony/http\\-kernel 5\\.3, use MAIN_REQUEST instead\\.
To ease the migration, this constant won't be removed until Symfony 7\\.0\\.$#
"""
count: 1
path: tests/Twig/IntegrationTest.php