Ignore all WaitReference unused use
@@ -10,7 +10,7 @@ parameters:
- lib/swow-stub/src/Swow.php
checkGenericClassInNonGenericObjectType: false
ignoreErrors:
- - '/Anonymous function has an unused use \$wrc{0,1}\./'
+ - '/Anonymous function has an unused use \$wr[\w]*\./'
-
message: '/(Function|Method) [a-zA-Z0-9\\_:]+\(\) should return [a-z]+ but return statement is missing\./'
path: lib/swow-stub/src/Swow.php
