You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Investigated this a little and found that our test is throwing false negative.
The test is catching a different violation called "0 space should be used for empty hashes" when we use above code.
array (
0 =>
FriendsOfTwig\Twigcs\Validator\Violation::__set_state(array(
'line' => 31,
'column' => 41,
'reason' => '0 space should be used for empty hashes.',
'filename' => 'src.html.twig',
'severity' => 3,
'source' => 'FriendsOfTwig\\Twigcs\\Rule\\RegEngineRule',
)),
)
d34dman
changed the title
False negative when include contains an empty line
Update test to avoid false negative when include contains an empty line
Jun 21, 2022
This case is incorrectly reported as an error:
The text was updated successfully, but these errors were encountered: