forked from staabm/phpstan-dba
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon.dist
38 lines (30 loc) · 1.27 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
includes:
- config/stubFiles.neon
- 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: '#^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