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