From 083bf2e5ae9f0548a8f8f87875acd1188622ee21 Mon Sep 17 00:00:00 2001 From: Teoh Han Hui Date: Wed, 26 Jun 2019 19:32:28 +0200 Subject: [PATCH] Remove ignored errors in phpstan which have been resolved upstream --- phpstan.neon.dist | 7 ------- 1 file changed, 7 deletions(-) diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 50ac5d2c506..8856f96b268 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -32,13 +32,6 @@ parameters: path: %currentWorkingDirectory%/src/GraphQl/Resolver/FieldsToAttributesTrait.php - '#Access to an undefined property Prophecy\\Prophecy\\ObjectProphecy<(\\?[a-zA-Z0-9_]+)+>::\$[a-zA-Z0-9_]+#' - '#Call to an undefined method Doctrine\\Common\\Persistence\\ObjectManager::getConnection\(\)#' - # https://github.com/symfony/symfony/pull/31903 - - - message: '#Access to an undefined property object::\$headers\.#' - path: %currentWorkingDirectory%/tests/Bridge/Symfony/Bundle/Twig/ApiPlatformProfilerPanelTest.php - - - message: '#Call to an undefined method object::getStatusCode\(\)\.#' - path: %currentWorkingDirectory%/tests/Bridge/Symfony/Bundle/Twig/ApiPlatformProfilerPanelTest.php - '#Parameter \#1 \$function of function call_user_func expects callable\(\): mixed, .+ given\.#' - '#Parameter \#1 \$exception of static method Symfony\\Component\\Debug\\Exception\\FlattenException::create\(\) expects Exception, Symfony\\Component\\Serializer\\Exception\\ExceptionInterface given\.#' - '#Parameter \#1 \$classes of class ApiPlatform\\Core\\Metadata\\Resource\\ResourceNameCollection constructor expects array, array given\.#'