forked from predis/predis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.dist.neon
25 lines (23 loc) · 774 Bytes
/
phpstan.dist.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
parameters:
level: 0
paths:
- src
- tests
ignoreErrors:
- '#^Function phpiredis_\w+ not found\.$#'
-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 3
path: src/Client.php
-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 1
path: src/Connection/Parameters.php
-
message: "#^Static method Predis\\\\Command\\\\RawCommand\\:\\:create\\(\\) invoked with 0 parameters, at least 1 required\\.$#"
count: 1
path: tests/Predis/Command/RawCommandTest.php
-
message: "#^Call to an undefined method Predis\\\\Configuration\\\\Option\\\\AggregateTest\\:\\:getMockConnectionClass\\(\\)\\.$#"
count: 2
path: tests/Predis/Configuration/Option/AggregateTest.php