Add coding standard test script

This commit is contained in:
Zach Borboa
2014-01-10 23:45:17 -08:00
parent 3667ac11a9
commit eff61cb57d
+8
View File
@@ -0,0 +1,8 @@
# FIXME: Use ruleset.xml
phpcs ../lib/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;"