-
-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathphpstan.neon
More file actions
35 lines (29 loc) · 982 Bytes
/
Copy pathphpstan.neon
File metadata and controls
35 lines (29 loc) · 982 Bytes
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
parameters:
level: 8
paths:
- src
excludePaths:
- src/compatibility.php
fileExtensions:
- php
- phtml
ignoreErrors:
- # generated Latte code: attribute interpolation emits a dead `=== null` check for values that are never null
identifier: identical.alwaysFalse
count: 2
path: src/Bridges/SecurityTracy/dist/tab.phtml
-
message: '#^Method Nette\\Http\\IResponse\:\:setCookie\(\) invoked with 8 parameters, 3\-7 required\.$#'
identifier: arguments.count
count: 1
path: src/Bridges/SecurityHttp/CookieStorage.php
-
message: '#^Instanceof between string and Nette\\Security\\Role will always evaluate to false\.$#'
identifier: instanceof.alwaysFalse
count: 1
path: src/Security/User.php
-
message: '#^Parameter \#1 \$credentials of method Nette\\Security\\IAuthenticator\:\:authenticate\(\) expects array\{string, string\}, list\<mixed\> given\.$#'
identifier: argument.type
count: 1
path: src/Security/User.php