Skip to content

Commit

Permalink
Merge pull request #549 from biinari/chore/143-PSR2_UseDeclaration_se…
Browse files Browse the repository at this point in the history
…parate_parse_error

PSR2/UseDeclaration: move parse error test case to its own file
  • Loading branch information
jrfnl authored Jul 14, 2024
2 parents 08792e9 + 2711048 commit 071344b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,3 @@ enum SomeEnum
$x = $foo ? function ($foo) use /* comment */ ($bar): int {
return 1;
} : $bar;

// Testcase must be on last line in the file.
use
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?php

// Intentional parse error. Live coding resilience.
use

0 comments on commit 071344b

Please sign in to comment.