-
Notifications
You must be signed in to change notification settings - Fork 123
Expand file tree
/
Copy pathphpstan-config.neon
More file actions
34 lines (34 loc) · 1.25 KB
/
phpstan-config.neon
File metadata and controls
34 lines (34 loc) · 1.25 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
parameters:
level: 5
treatPhpDocTypesAsCertain: false
paths:
- .
excludePaths:
- Tests/*
- vendor/*
ignoreErrors:
-
message: '#^Unsafe usage of new static\(\)\.$#'
path: Form/Step.php
# TODO remove as soon as Doctrine DBAL >= 2.13.1 is required
-
message: """
#^Call to deprecated method execute\\(\\) of class Doctrine\\\\DBAL\\\\Query\\\\QueryBuilder\\:
Use \\{@see executeQuery\\(\\)\\} or \\{@see executeStatement\\(\\)\\} instead\\.$#
"""
path: Storage/DoctrineStorage.php
# TODO remove as soon as Doctrine DBAL >= 3.0 is required
-
message: '#^Cannot call method fetchColumn\(\) on Doctrine\\DBAL\\Result\|int\|string\.$#'
path: Storage/DoctrineStorage.php
# TODO remove as soon as Doctrine DBAL >= 3.1 is required
-
message: "#^Call to function method_exists\\(\\) with Doctrine\\\\DBAL\\\\Connection and 'createSchemaManager' will always evaluate to true\\.$#"
path: Storage/DoctrineStorage.php
# TODO remove as soon as Doctrine DBAL >= 3.1 is required
-
message: """
#^Call to deprecated method getSchemaManager\\(\\) of class Doctrine\\\\DBAL\\\\Connection\\:
Use \\{@see createSchemaManager\\(\\)\\} instead\\.$#
"""
path: Storage/DoctrineStorage.php