Skip to content

Commit 48caa7c

Browse files
committed
CI: Drop PHPCS <3.3.2 workaround
1 parent 2c78365 commit 48caa7c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.travis.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,7 @@ jobs:
3737
packages:
3838
- libxml2-utils
3939
script:
40-
- |
41-
if dpkg --compare-versions "$(composer show -n | grep squizlabs/php_codesniffer | tr -s ' ' | cut -d ' ' -f 2)" '>=' "3.3.2"; then
42-
xmllint --noout --schema vendor/squizlabs/php_codesniffer/phpcs.xsd lib/Doctrine/ruleset.xml
43-
else
44-
echo "Validation skipped, PHPCS 3.3.2+ required"
45-
fi
40+
- xmllint --noout --schema vendor/squizlabs/php_codesniffer/phpcs.xsd lib/Doctrine/ruleset.xml
4641

4742
- stage: Apply fixes
4843
before_script:

0 commit comments

Comments
 (0)