phpstan.neon
###################################################
# 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