File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -136,10 +136,7 @@ before_install:
136136 # Remove the PHPCSDevCS dependency as it has different PHPCS requirements and would block installs.
137137 travis_retry composer remove --dev phpcsstandards/phpcsdevcs --no-update --no-scripts
138138 fi
139- - |
140- if [[ $PHPCS_VERSION != "n/a" ]]; then
141- travis_retry composer require --no-update --no-scripts squizlabs/php_codesniffer:${PHPCS_VERSION}
142- fi
139+ - travis_retry composer require --no-update --no-scripts squizlabs/php_codesniffer:${PHPCS_VERSION}
143140 - |
144141 if [[ "${TRAVIS_BUILD_STAGE_NAME^}" == "Sniff" ]]; then
145142 # The sniff stage doesn't run the unit tests, so no need for PHPUnit.
@@ -167,4 +164,4 @@ script:
167164 - if [[ "$LINT" == "1" ]]; then composer check-complete; fi
168165
169166 # Run the unit tests.
170- - if [[ $PHPCS_VERSION != "n/a" ]]; then composer run-tests; fi
167+ - composer run-tests
You can’t perform that action at this time.
0 commit comments