Skip to content

Commit 77390f4

Browse files
committed
Improve test coverage for the ArbitraryParenthesesSpacing sniff
This commit improves the test coverage for the ArbitraryParenthesesSpacing sniff by adding one more test case files to exercise a part of the sniff code that checks for invalid syntax.
1 parent 6964659 commit 77390f4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
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. Testing that the sniff is *not* triggered in this case.
4+
function something $param ) {}

0 commit comments

Comments
 (0)