Skip to content

Commit

Permalink
CI: Drop PHPCS <3.3.2 workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
Majkl578 committed Sep 24, 2018
1 parent 2c78365 commit 48caa7c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .travis.yml
Expand Up @@ -37,12 +37,7 @@ jobs:
packages:
- libxml2-utils
script:
- |
if dpkg --compare-versions "$(composer show -n | grep squizlabs/php_codesniffer | tr -s ' ' | cut -d ' ' -f 2)" '>=' "3.3.2"; then
xmllint --noout --schema vendor/squizlabs/php_codesniffer/phpcs.xsd lib/Doctrine/ruleset.xml
else
echo "Validation skipped, PHPCS 3.3.2+ required"
fi
- xmllint --noout --schema vendor/squizlabs/php_codesniffer/phpcs.xsd lib/Doctrine/ruleset.xml

- stage: Apply fixes
before_script:
Expand Down

0 comments on commit 48caa7c

Please sign in to comment.