-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
phpstan.neon.dist
38 lines (31 loc) · 1.38 KB
/
phpstan.neon.dist
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
includes:
- config/extensions.neon
- config/rules.neon
- phpstan-baseline.neon
parameters:
editorUrl: 'phpstorm://open?file=%%file%%&line=%%line%%'
level: max
paths:
- src/
bootstrapFiles:
- bootstrap.php
unused_public:
methods: true
properties: true
constants: true
reportUnmatchedIgnoredErrors: false
ignoreErrors:
-
message: '#.*so it can be removed from the return type.*#' # requires https://github.com/phpstan/phpstan/issues/10312
-
message: '#^Method staabm\\PHPStanDba\\DbSchema\\SchemaHasherMysql\:\:hashDb\(\) should return string but returns float\|int\|string\.$#'
path: src/DbSchema/SchemaHasherMysql.php
-
message: '#^Property staabm\\PHPStanDba\\DbSchema\\SchemaHasherMysql\:\:\$hash \(string\|null\) does not accept float\|int\|string\.$#'
path: src/DbSchema/SchemaHasherMysql.php
-
message: '#^Instanceof between mysqli_result\<array\<string, int\|string\|null\>\> and mysqli_result will always evaluate to true\.$#'
path: src/DbSchema/SchemaHasherMysql.php
-
message: '#^Instanceof between mysqli_result<array<string, int<-2147483648, 2147483647>\|string\|null>> and mysqli_result will always evaluate to true\.$#'
path: src/DbSchema/SchemaHasherMysql.php