From 57fbbf88ce332f6da4e5aa1ea7524ef1caebb9e4 Mon Sep 17 00:00:00 2001 From: KyleKatarn Date: Mon, 5 Feb 2024 14:50:32 +0100 Subject: [PATCH] Mute expected PHPStan issue in tests --- phpstan.neon | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/phpstan.neon b/phpstan.neon index 4e27d182..c5b968f4 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -40,6 +40,10 @@ parameters: message: '#^Call to an undefined method Doctrine\\DBAL\\Types\\Type::requiresSQLCommentHint\(\)\.#' paths: - tests/Doctrine/CarbonTypesTest.php + - + message: '#^Instantiated class Doctrine\\DBAL\\Platforms\\MySQL57Platform not found\.#' + paths: + - tests/Doctrine/CarbonTypesTest.php excludePaths: - '*/src/Carbon/Laravel/ServiceProvider.php' - '*/src/Carbon/PHPStan/*'