Skip to content

Commit 21de8ad

Browse files
rodrigoprimojrfnl
andauthored
Apply suggestions from code review
Co-authored-by: Juliette <663378+jrfnl@users.noreply.github.com>
1 parent 257630b commit 21de8ad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Standards/Generic/Tests/CodeAnalysis/JumbledIncrementerUnitTest.1.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ for ($i = 0; $i < 20; $i++) :
6060
endfor;
6161
endfor;
6262

63-
// Sniff bails early when there is no incrementor in the outer for loop.
63+
// Sniff bails early when there is no incrementor in the third expression of the outer for loop.
6464
for ($i = 0; $i < 10;) {
6565
++$i;
6666
for ($j = 0; $j < 5; $i++) {}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
// Intentional parse error (missing for body).
3+
// Intentional parse error (missing for conditions).
44
// This should be the only test in this file.
55
// Testing that the sniff is *not* triggered.
66
for

0 commit comments

Comments
 (0)