mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-10 05:02:23 +00:00
[PHPStan] Clean up PHPStan ignore errors (#2089)
This commit is contained in:
parent
b8d0606305
commit
996caa3f1f
|
@ -329,7 +329,6 @@ parameters:
|
|||
-
|
||||
message: '#foreach\(\), while\(\), for\(\) or if\(\) cannot contain a complex expression\. Extract it to a new variable on a line before#'
|
||||
paths:
|
||||
- rules/CodeQuality/Rector/Return_/SimplifyUselessVariableRector.php
|
||||
- rules/Php70/Rector/FuncCall/MultiDirnameRector.php
|
||||
- src/Application/FileProcessor.php
|
||||
- src/PhpParser/Node/BetterNodeFinder.php
|
||||
|
@ -564,9 +563,6 @@ parameters:
|
|||
|
||||
- '#foreach\(\), while\(\), for\(\) or if\(\) cannot contain a complex expression\. Extract it to a new variable on a line before#'
|
||||
|
||||
# false positive
|
||||
- '#Method Rector\\Php71\\Rector\\FuncCall\\RemoveExtraParametersRector\:\:resolveMaximumAllowedParameterCount\(\) should return int but returns int<0, max>\|false#'
|
||||
|
||||
# double protection on purpose to ensure the type
|
||||
-
|
||||
message: '#Call to static method Webmozart\\Assert\\Assert\:\:allString\(\) with array<string> will always evaluate to true#'
|
||||
|
|
Loading…
Reference in New Issue
Block a user