From 967181499a84d8a7da77fbd37c56bd4bb14d0675 Mon Sep 17 00:00:00 2001 From: Zach Borboa Date: Sat, 29 Mar 2014 01:19:49 -0700 Subject: [PATCH] Update syntax test script --- tests/syntax.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/tests/syntax.sh b/tests/syntax.sh index 6d597fc..a5a32f1 100644 --- a/tests/syntax.sh +++ b/tests/syntax.sh @@ -1,8 +1 @@ -# FIXME: Use ruleset.xml -phpcs ../src/Curl.class.php | \ - grep -v "| ERROR | Expected \"} else {\\\n\"; found \"}\\\n" | \ - grep -v "| ERROR | Missing class doc comment" | \ - grep -v "| ERROR | Missing file doc comment" | \ - grep -v "| ERROR | Missing function doc comment" | \ - grep -v "| ERROR | Opening brace should be on a new line" | \ - grep -v "| WARNING | Line exceeds 85 characters;" +phpcs --standard=PSR2 ../src/Curl.class.php