diff --git a/tests/phpstan/phpstan.neon b/tests/phpstan/phpstan.neon index ff372d778..9125630cc 100644 --- a/tests/phpstan/phpstan.neon +++ b/tests/phpstan/phpstan.neon @@ -124,8 +124,11 @@ parameters: # Support for deprecated features - - message: '#Instantiation of deprecated class Doctrine\\Common\\Cache\\MemcacheCache#' + message: '#Instantiation of deprecated class Doctrine\\Common\\Cache\\(\w+)Cache#' path: '*/system/src/Grav/Common/Cache.php' + - + message: '#Instantiation of deprecated class Doctrine\\Common\\Cache\\(\w+)Cache#' + path: '*/system/src/Grav/Common/GPM/Remote/*.php' - message: '#Call to deprecated method order#' path: '*/system/src/Grav/Common/Page/Pages.php'