Skip to content

Commit 9671814

Browse files
committed
Update syntax test script
1 parent 468980b commit 9671814

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

tests/syntax.sh

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1 @@
1-
# FIXME: Use ruleset.xml
2-
phpcs ../src/Curl.class.php | \
3-
grep -v "| ERROR | Expected \"} else {\\\n\"; found \"}\\\n" | \
4-
grep -v "| ERROR | Missing class doc comment" | \
5-
grep -v "| ERROR | Missing file doc comment" | \
6-
grep -v "| ERROR | Missing function doc comment" | \
7-
grep -v "| ERROR | Opening brace should be on a new line" | \
8-
grep -v "| WARNING | Line exceeds 85 characters;"
1+
phpcs --standard=PSR2 ../src/Curl.class.php

0 commit comments

Comments
 (0)