mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-29 19:54:49 +00:00
Add coding standard test script
This commit is contained in:
@@ -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;"
|
||||
Reference in New Issue
Block a user