-
-
Notifications
You must be signed in to change notification settings - Fork 453
/
phpstan.neon
24 lines (22 loc) · 1.1 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
###################################################
# Complete PHPSTAN configuration for Travis CI
###################################################
parameters:
treatPhpDocTypesAsCertain: false
ignoreErrors:
# (Really) Annoying PHPDoc tag issues...
- '#PHPDoc tag @(.*)#'
# Phpstan is not able to know the magic of Ssdb __call() implementation
- '#Call to an undefined method phpssdb(.*)#'
# Phpstan not differencing couchbase and couchbase_v3 stubs from jetbrains/phpstorm-stubs
-
message: '#(Method|Class) Couchbase(.*)#'
path: lib/Phpfastcache/Drivers/Couchbasev3/Driver.php
# See https://github.com/phpstan/phpstan/issues/10315
-
message: '#Dead catch - Phpfastcache\\Exceptions\\PhpfastcacheUnsupportedMethodException is never thrown in the try block.#'
path: lib/Phpfastcache/Core/Pool/CacheItemPoolTrait.php
# See https://github.com/phpstan/phpstan/issues/10316
-
message: '#(.*)RedisCluster(.*)#'
path: lib/Phpfastcache/Drivers/Rediscluster/Driver.php