-
-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathphpstan.neon
49 lines (41 loc) · 1.36 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
includes:
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
- vendor/phpstan/phpstan-nette/extension.neon
- vendor/phpstan/phpstan-nette/rules.neon
parameters:
level: 8
paths:
- src
excludePaths:
- src/DI/RedisExtension24.php
ignoreErrors:
- "#^Do\\-while loop condition is always false\\.$#"
# backward compatibility with nette/caching < 3.1
-
message: """
#^Class Contributte\\\\Redis\\\\Caching\\\\RedisJournal implements deprecated interface Nette\\\\Caching\\\\Storages\\\\IJournal\\:
use Nette\\\\Caching\\\\Storages\\\\Journal$#
"""
count: 1
path: src/Caching/RedisJournal.php
-
message: """
#^Class Contributte\\\\Redis\\\\Caching\\\\RedisStorage implements deprecated interface Nette\\\\Caching\\\\IStorage\\:
use Nette\\\\Caching\\\\Storage$#
"""
count: 1
path: src/Caching/RedisStorage.php
-
message: """
#^Parameter \\$journal of method Contributte\\\\Redis\\\\Caching\\\\RedisStorage\\:\\:__construct\\(\\) has typehint with deprecated interface Nette\\\\Caching\\\\Storages\\\\IJournal\\:
use Nette\\\\Caching\\\\Storages\\\\Journal$#
"""
count: 1
path: src/Caching/RedisStorage.php
-
message: """
#^Fetching class constant class of deprecated class Nette\\\\Caching\\\\IStorage\\:
use Nette\\\\Caching\\\\Storage$#
"""
count: 3
path: src/DI/RedisExtension.php