Skip to content

Commit

Permalink
PEAR/ValidDefaultValue: move syntax error to its own file
Browse files Browse the repository at this point in the history
  • Loading branch information
biinari committed Jul 15, 2024
1 parent 3d6c0cd commit 5ef1105
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,3 @@ class ConstructorPropertyPromotionMixedWithNormalParams {
mixed $requiredParam,
) {}
}

// Intentional syntax error. Must be last thing in the file.
function
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

// Intentional syntax error.
// This should be the only test in this file.
// Testing that the sniff is *not* triggered.

function

0 comments on commit 5ef1105

Please sign in to comment.