Browse Source

Remove explicit standard from phpcs command.

This allows the phpcs.xml.dist to be used instead.
ADmad 7 years ago
parent
commit
6314160643
1 changed files with 1 additions and 1 deletions
  1. 1 1
      contrib/pre-commit

+ 1 - 1
contrib/pre-commit

@@ -28,7 +28,7 @@ done
 if [ "$SFILES" != "" ]
 then
     echo "Running PHPCS"
-    ./vendor/bin/phpcs --standard=vendor/cakephp/cakephp-codesniffer/CakePHP $SFILES
+    ./vendor/bin/phpcs $SFILES
     if [ $? != 0 ]
     then
         echo "PHPCS Errors found; commit aborted."