You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: phpstan.neon
-12Lines changed: 0 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -9,12 +9,6 @@ parameters:
9
9
- phtml
10
10
11
11
ignoreErrors:
12
-
- # IResponse::setCookie() interface does not yet declare $sameSite parameter, Response::setCookie() does
13
-
message:'#^Unknown parameter \$sameSite in call to method Nette\\Http\\IResponse\:\:setCookie\(\)\.$#'
14
-
identifier:argument.unknown
15
-
count:1
16
-
path:src/Http/Helpers.php
17
-
18
12
- # runtime validation of HTTP header value coming from untrusted client input
19
13
message:'#^Right side of && is always true\.$#'
20
14
identifier:booleanAnd.rightAlwaysTrue
@@ -33,12 +27,6 @@ parameters:
33
27
count:1
34
28
path:src/Http/RequestFactory.php
35
29
36
-
- # IResponse::setCookie() interface does not yet declare $sameSite parameter, see Helpers.php
37
-
message:'#^Method Nette\\Http\\IResponse\:\:setCookie\(\) invoked with 8 parameters, 3\-7 required\.$#'
38
-
identifier:arguments.count
39
-
count:1
40
-
path:src/Http/Session.php
41
-
42
30
- # session_get_cookie_params() declares 'samesite' key but it may legitimately be missing on older configurations
43
31
message:'#^Offset ''samesite'' on array\{lifetime\: int\<0, max\>, path\: non\-falsy\-string, domain\: string, secure\: bool, httponly\: bool, samesite\: ''Lax''\|''lax''\|''None''\|''none''\|''Strict''\|''strict''\} on left side of \?\? always exists and is not nullable\.$#'
0 commit comments