forked from contributte/doctrine-dbal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
54 lines (46 loc) · 1.69 KB
/
phpstan.neon
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
46
47
48
49
50
51
52
53
includes:
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
- vendor/phpstan/phpstan-nette/extension.neon
- vendor/phpstan/phpstan-nette/rules.neon
#- vendor/phpstan/phpstan-strict-rules/rules.neon
parameters:
level: 8
paths:
- src
ignoreErrors:
-
message:
"""
#^Fetching class constant class of deprecated class Doctrine\\\\DBAL\\\\Tools\\\\Console\\\\Helper\\\\ConnectionHelper\\:
use a ConnectionProvider instead\\.$#
"""
count: 1
path: src/DI/DbalConsoleExtension.php
-
message:
"""
#^Fetching class constant class of deprecated class Doctrine\\\\DBAL\\\\Tools\\\\Console\\\\Command\\\\ImportCommand\\:
Use a database client application instead$#
"""
count: 1
path: src/DI/DbalConsoleExtension.php
-
message: "#^Parameter \\#1 \\$argument of class ReflectionClass constructor expects class\\-string\\<T of object\\>\\|T of object, string given\\.$#"
count: 1
path: src/DI/DbalExtension.php
-
message: "#^Parameter \\#1 \\$function of function call_user_func expects callable\\(\\)\\: mixed, array\\{object, 'getSubscribedEvents'\\} given\\.$#"
count: 1
path: src/DI/DbalExtension.php
-
message: "#^Method Nettrine\\\\DBAL\\\\Events\\\\ContainerAwareEventManager\\:\\:getInitializedListeners\\(\\) should return array\\<object\\> but returns array\\<object\\|string\\>\\.$#"
count: 2
path: src/Events/ContainerAwareEventManager.php
-
message:
"""
#^Call to deprecated method fetchAll\\(\\) of class Doctrine\\\\DBAL\\\\Driver\\\\ResultStatement\\:
Use fetchAllNumeric\\(\\), fetchAllAssociative\\(\\) or fetchFirstColumn\\(\\) instead\\.$#
"""
count: 1
path: src/Utils/DataUtils.php