From b2a88c3120ce2d7afcce92ab0ab77faa891b0ece Mon Sep 17 00:00:00 2001 From: Teoh Han Hui Date: Thu, 27 Jun 2019 12:14:19 +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 60efa0cd90f..c71aa349b92 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 property \$headers on an unknown class Symfony\\Component\\HttpKernel\\Response\.#' - path: %currentWorkingDirectory%/tests/Bridge/Symfony/Bundle/Twig/ApiPlatformProfilerPanelTest.php - - - message: '#Call to method getStatusCode\(\) on an unknown class Symfony\\Component\\HttpKernel\\Response\.#' - 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\.#'