-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpstan.dist.neon
More file actions
30 lines (30 loc) · 1.05 KB
/
phpstan.dist.neon
File metadata and controls
30 lines (30 loc) · 1.05 KB
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
includes:
# - phpstan.dev.neon
parameters:
level: max
paths:
- Src/
excludePaths:
- vendor/
ignoreErrors:
-
messages:
- '#^Parameter \#1 \$name of class TheWebSolver\\Codegarage\\Generator\\Parameter constructor expects string, mixed given\.$#'
- '#^Parameter \#2 \$string of function explode expects string, mixed given\.$#'
- '#^Parameter \#1 \$value of class Nette\\PhpGenerator\\Literal constructor expects string, mixed given\.$#'
path: Src/Parameter.php
- # ::set() method is difficult to infer.
path: Src/ArrayPhpFile.php
message: '|Parameter \&\$array|'
identifier: paramOut.type
count: 2
- # ::set() method is difficult to infer.
path: Src/ArrayPhpFile.php
message: '#^Cannot access offset string on mixed.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
- # PhpNamespace::getUses() method's return value is legit.
path: Src/Traits/NamespaceImporter.php
message: '|\$namespaceImports \(array\<string, string\>\) does not accept array\<string\>|'
identifier: assign.propertyType
count: 1