From 3d9e9ba66f77c506e6c69b7df41d300959e2f962 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Wed, 27 Oct 2021 15:10:11 +0200 Subject: [PATCH] Fix exclusion of fooProvider errors --- phpstan/config.neon | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/phpstan/config.neon b/phpstan/config.neon index 50c15fbcf..ee1aec43a 100644 --- a/phpstan/config.neon +++ b/phpstan/config.neon @@ -41,14 +41,7 @@ parameters: # Ignore some irrelevant errors in test files - '~Method Composer\\Test\\[^:]+::(setUp(BeforeClass)?|tearDown(AfterClass)?|test[^(]+)\(\) has no return typehint specified.~' - - '~Method Composer\\Test\\[^:]+::(data\w+|provide\w+|\w+Provider)\(\) has no return typehint specified.~' - - # Level 6 TODO - #- '~parameter .*? with no typehint specified.$~' - #- '~parameter .*? with no value type specified in iterable type array.$~' - #- '~has no return typehint specified.$~' - #- '~return type has no value type specified in iterable type array.$~' - #- '~ignorePlatformReqs~' + - '~Method Composer\\Test\\[^:]+::(data\w+|provide\w+|\w+?Provider)\(\) has no return typehint specified.~' bootstrapFiles: - ../tests/bootstrap.php