forked from ymirapp/wordpress-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
26 lines (26 loc) · 856 Bytes
/
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
includes:
- vendor/szepeviktor/phpstan-wordpress/extension.neon
parameters:
level: 5
paths:
- src
excludePaths:
- src/Configuration
- src/QueryMonitor
- src/Subscriber\QueryMonitorSubscriber.php
ignoreErrors:
- message: '#Constant [^\s]* not found#'
paths:
- src/Http/Client.php
- message: '#invalid typehint type \\GdImage#'
paths:
- src/Attachment/GDImageEditor.php
- message: '#method RedisCluster::#'
paths:
- src/ObjectCache/RedisClusterObjectCache.php
- message: '#unknown class PHPMailer|invalid typehint type PHPMailer#'
paths:
- src/Email/Email.php
- message: '#unknown class CurlHandle|Class CurlHandle not found#'
paths:
- src/Http/Client.php