Skip to content

Commit 3798bda

Browse files
committed
Squiz/ControlSignature: move parse error to its own file
1 parent 6284297 commit 3798bda

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

src/Standards/Squiz/Tests/ControlStructures/ControlSignatureUnitTest.1.inc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,3 @@ endif;
318318

319319
// Reset property.
320320
// phpcs:set Squiz.ControlStructures.ControlSignature requiredSpacesBeforeColon 1
321-
322-
// Intentional parse error. This should be the last test in the file.
323-
foreach
324-
// Some unrelated comment.

src/Standards/Squiz/Tests/ControlStructures/ControlSignatureUnitTest.1.inc.fixed

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,3 @@ endif;
322322

323323
// Reset property.
324324
// phpcs:set Squiz.ControlStructures.ControlSignature requiredSpacesBeforeColon 1
325-
326-
// Intentional parse error. This should be the last test in the file.
327-
foreach
328-
// Some unrelated comment.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?php
2+
3+
// Intentional parse error. Live coding resilience.
4+
foreach
5+
// Some unrelated comment.

0 commit comments

Comments
 (0)