-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathphpstan.neon.dist
More file actions
45 lines (40 loc) · 1.07 KB
/
phpstan.neon.dist
File metadata and controls
45 lines (40 loc) · 1.07 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
parameters:
level: 8
treatPhpDocTypesAsCertain: false
bootstrapFiles:
- tests/phpstan-bootstrap.php
paths:
- ./
excludePaths:
- vendor/
ignoreErrors:
- '#Unsafe usage of new static\(\).#'
-
identifier: notIdentical.alwaysTrue
-
identifier: missingType.iterableValue
-
message: '#^Access to constant ATTR_SSL_KEY on an unknown class Pdo\\Mysql\.$#'
identifier: class.notFound
count: 1
path: Driver/Mysql.php
-
message: '#^Access to constant ATTR_SSL_CERT on an unknown class Pdo\\Mysql\.$#'
identifier: class.notFound
count: 1
path: Driver/Mysql.php
-
message: '#^Access to constant ATTR_SSL_CA on an unknown class Pdo\\Mysql\.$#'
identifier: class.notFound
count: 1
path: Driver/Mysql.php
-
message: '#^Access to constant ATTR_USE_BUFFERED_QUERY on an unknown class Pdo\\Mysql\.$#'
identifier: class.notFound
count: 1
path: Driver/Mysql.php
-
message: '#^Dead catch \- InvalidArgumentException is never thrown in the try block\.$#'
identifier: catch.neverThrown
count: 1
path: Type/DateTimeType.php