1
0
Fork 0

Ignore less things in tests

pull/10224/head
Jordi Boggiano 2021-10-26 21:14:35 +02:00
parent 79da1c266e
commit f19d01ef92
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 2 deletions

View File

@ -40,8 +40,7 @@ parameters:
- '~^Call to an undefined method (PHPUnit\\Framework\\MockObject\\MockObject|Prophecy\\Prophecy\\ObjectProphecy)::.*$~'
# Ignore some irrelevant errors in test files
- '~Method Composer\\Test\\[^:]+::(setUp(BeforeClass)?|tearDown(AfterClass)?|test[^(]+|get[^(]*?Mock[^(]*)\(\) has no return typehint specified.~'
- '~Method Composer\\Test\\[^:]+::test[^(]+\(\) has parameter \$\w+ with no typehint specified.~'
- '~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