Skip to content

Commit 071344b

Browse files
authored
Merge pull request #549 from biinari/chore/143-PSR2_UseDeclaration_separate_parse_error
PSR2/UseDeclaration: move parse error test case to its own file
2 parents 08792e9 + 2711048 commit 071344b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.1.inc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,3 @@ enum SomeEnum
3838
$x = $foo ? function ($foo) use /* comment */ ($bar): int {
3939
return 1;
4040
} : $bar;
41-
42-
// Testcase must be on last line in the file.
43-
use
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?php
2+
3+
// Intentional parse error. Live coding resilience.
4+
use

0 commit comments

Comments
 (0)