diff --git a/tests/unit/fixtures/alternative-structure.php b/tests/unit/fixtures/alternative-structure.php index 7bb222b..33a6713 100644 --- a/tests/unit/fixtures/alternative-structure.php +++ b/tests/unit/fixtures/alternative-structure.php @@ -66,7 +66,11 @@ $flag = 'YES'; } } elseif ($flag === 'NO') { // @phpcsWarningOnThisLine - echo 'no'; + while ($flag !== 'YES') { // @phpcsWarningOnThisLine + $flag = 'YES'; + ?> +
No. Yes.
+