Skip to content

Commit 5ef1105

Browse files
committed
PEAR/ValidDefaultValue: move syntax error to its own file
1 parent 3d6c0cd commit 5ef1105

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

src/Standards/PEAR/Tests/Functions/ValidDefaultValueUnitTest.1.inc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,3 @@ class ConstructorPropertyPromotionMixedWithNormalParams {
114114
mixed $requiredParam,
115115
) {}
116116
}
117-
118-
// Intentional syntax error. Must be last thing in the file.
119-
function
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?php
2+
3+
// Intentional syntax error.
4+
// This should be the only test in this file.
5+
// Testing that the sniff is *not* triggered.
6+
7+
function

0 commit comments

Comments
 (0)