Loading .travis.yml +4 −1 Changes for .travis.yml: 4 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -125,12 +125,15 @@ script: - composer show squizlabs/php_codesniffer | egrep 'name |vers' - $DRUPAL_ROOT/vendor/bin/phpcs --version # Change into $MODULE directory to avoid having to add # --standard=$DRUPAL_ROOT/modules/$MODULE/phpcs.xml.dist - cd $DRUPAL_ROOT/modules/$MODULE # List all the sniffs that are used. - $DRUPAL_ROOT/vendor/bin/phpcs -i - $DRUPAL_ROOT/vendor/bin/phpcs -e # Show the violations in detail and do not fail for any errors or warnings. - cd $DRUPAL_ROOT/modules/$MODULE - $DRUPAL_ROOT/vendor/bin/phpcs . --runtime-set ignore_warnings_on_exit 1 --runtime-set ignore_errors_on_exit 1 # Run again to give a summary and totals, and fail for errors and warnings. Loading Loading
.travis.yml +4 −1 Changes for .travis.yml: 4 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -125,12 +125,15 @@ script: - composer show squizlabs/php_codesniffer | egrep 'name |vers' - $DRUPAL_ROOT/vendor/bin/phpcs --version # Change into $MODULE directory to avoid having to add # --standard=$DRUPAL_ROOT/modules/$MODULE/phpcs.xml.dist - cd $DRUPAL_ROOT/modules/$MODULE # List all the sniffs that are used. - $DRUPAL_ROOT/vendor/bin/phpcs -i - $DRUPAL_ROOT/vendor/bin/phpcs -e # Show the violations in detail and do not fail for any errors or warnings. - cd $DRUPAL_ROOT/modules/$MODULE - $DRUPAL_ROOT/vendor/bin/phpcs . --runtime-set ignore_warnings_on_exit 1 --runtime-set ignore_errors_on_exit 1 # Run again to give a summary and totals, and fail for errors and warnings. Loading