Skip to content

Commit

Permalink
Disable PHPCompat. Sniff and swap with Wordpress Sniff
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentkoc committed Jan 25, 2019
1 parent 449945b commit d98abbe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,10 @@ script:
# Run PHP Coding Standards Checks.
- if [[ "$SNIFF" == "1" ]]; then vendor/bin/phpcs --config-set ignore_warnings_on_exit 1; fi
- if [[ "$SNIFF" == "1" ]]; then vendor/bin/phpcs --config-set colors 1; fi
#- if [[ "$SNIFF" == "1" ]]; then vendor/bin/phpcs . -p --ignore=*/wptest/*,*/vendor/*,*/wpcs/*,*/intergration/whichbrowser/*,*/spec/* --standard=Wordpress; fi
- if [[ "$SNIFF" == "1" ]]; then vendor/bin/phpcs . -p --ignore=*/wptest/*,*/vendor/*,*/wpcs/*,*/intergration/whichbrowser/*,*/spec/* --standard=Wordpress; fi
#- if [[ "$SNIFF" == "1" ]]; then vendor/bin/phpcs . -p --ignore=*/wptest/*,*/vendor/*,*/wpcs/*,*/intergration/whichbrowser/*,*/spec/* --standard=Wordpress-Extra; fi
- if [[ "$SNIFF" == "1" ]]; then vendor/bin/phpcs . -p --ignore=*/wptest/*,*/vendor/*,*/wpcs/*,*/intergration/whichbrowser/*,*/spec/* --standard=PHPCompatibility; fi
- if [[ "$SNIFF" == "1" ]]; then vendor/bin/phpcs . -p --ignore=*/wptest/*,*/vendor/*,*/wpcs/*,*/intergration/whichbrowser/*,*/spec/* --standard=PHPCompatibilityWP; fi
#- if [[ "$SNIFF" == "1" ]]; then vendor/bin/phpcs . -p --ignore=*/wptest/*,*/vendor/*,*/wpcs/*,*/intergration/whichbrowser/*,*/spec/* --standard=PHPCompatibility; fi
#- if [[ "$SNIFF" == "1" ]]; then vendor/bin/phpcs . -p --ignore=*/wptest/*,*/vendor/*,*/wpcs/*,*/intergration/whichbrowser/*,*/spec/* --standard=PHPCompatibilityWP; fi

after_success:
# Submit Code Coverage and 3rd party reports
Expand Down

0 comments on commit d98abbe

Please sign in to comment.