File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -108,15 +108,15 @@ before_install:
108108 # On stable PHPCS versions, allow for PHP deprecation notices.
109109 # Unit tests don't need to fail on those for stable releases where those issues won't get fixed anymore.
110110 - |
111- if [[ "$TRAVIS_BUILD_STAGE_NAME" != "Sniff" && "$PHPCS_VERSION" != "dev-master" && "$PHPCS_VERSION" != "n/a" ]]; then
111+ if [[ "${ TRAVIS_BUILD_STAGE_NAME^} " != "Sniff" && "$PHPCS_VERSION" != "dev-master" && "$PHPCS_VERSION" != "n/a" ]]; then
112112 echo 'error_reporting = E_ALL & ~E_DEPRECATED' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
113113 fi
114114
115115 - export XMLLINT_INDENT=" "
116116
117117 # Set up test environment using Composer.
118118 - |
119- if [[ "$TRAVIS_BUILD_STAGE_NAME" != "Sniff" ]]; then
119+ if [[ "${ TRAVIS_BUILD_STAGE_NAME^} " != "Sniff" ]]; then
120120 # Remove the PHPCSDevCS dependency as it has different PHPCS requirements and would block installs.
121121 composer remove --dev phpcsstandards/phpcsdevcs --no-update --no-scripts
122122 fi
@@ -125,7 +125,7 @@ before_install:
125125 composer require --no-update --no-scripts squizlabs/php_codesniffer:${PHPCS_VERSION}
126126 fi
127127 - |
128- if [[ "$TRAVIS_BUILD_STAGE_NAME" == "Sniff" || $PHPCS_VERSION == "n/a" ]]; then
128+ if [[ "${ TRAVIS_BUILD_STAGE_NAME^} " == "Sniff" || $PHPCS_VERSION == "n/a" ]]; then
129129 # The sniff stage doesn't run the unit tests, so no need for PHPUnit.
130130 composer remove --dev phpunit/phpunit --no-update --no-scripts
131131 elif [[ "$PHPCS_VERSION" < "3.1.0" ]]; then
You can’t perform that action at this time.
0 commit comments