@@ -159,9 +159,9 @@ jobs:
159159 id : set_ini
160160 run : |
161161 if [[ "${{ matrix.phpcs_version }}" != "dev-master" && "${{ matrix.phpcs_version }}" != "4.0.x-dev" ]]; then
162- echo 'PHP_INI=error_reporting=E_ALL & ~E_DEPRECATED, display_errors=On' >> $GITHUB_OUTPUT
162+ echo 'PHP_INI=error_reporting=E_ALL & ~E_DEPRECATED, display_errors=On' >> " $GITHUB_OUTPUT"
163163 else
164- echo 'PHP_INI=error_reporting=-1, display_errors=On' >> $GITHUB_OUTPUT
164+ echo 'PHP_INI=error_reporting=-1, display_errors=On' >> " $GITHUB_OUTPUT"
165165 fi
166166
167167 - name : Install PHP
@@ -208,20 +208,20 @@ jobs:
208208 - name : Grab PHPUnit version
209209 id : phpunit_version
210210 # yamllint disable-line rule:line-length
211- run : echo "VERSION=$(vendor/bin/phpunit --version | grep --only-matching --max-count=1 --extended-regexp '\b[0-9]+\.[0-9]+')" >> $GITHUB_OUTPUT
211+ run : echo "VERSION=$(vendor/bin/phpunit --version | grep --only-matching --max-count=1 --extended-regexp '\b[0-9]+\.[0-9]+')" >> " $GITHUB_OUTPUT"
212212
213213 - name : Determine PHPUnit config file to use
214214 id : phpunit_config
215215 run : |
216216 if [ "${{ startsWith( steps.phpunit_version.outputs.VERSION, '11.' ) }}" == "true" ]; then
217- echo 'FILE=phpunit10.xml.dist' >> $GITHUB_OUTPUT
218- echo 'EXTRA_ARGS=' >> $GITHUB_OUTPUT
217+ echo 'FILE=phpunit10.xml.dist' >> " $GITHUB_OUTPUT"
218+ echo 'EXTRA_ARGS=' >> " $GITHUB_OUTPUT"
219219 elif [ "${{ startsWith( steps.phpunit_version.outputs.VERSION, '10.' ) }}" == "true" ]; then
220- echo 'FILE=phpunit10.xml.dist' >> $GITHUB_OUTPUT
221- echo 'EXTRA_ARGS=' >> $GITHUB_OUTPUT
220+ echo 'FILE=phpunit10.xml.dist' >> " $GITHUB_OUTPUT"
221+ echo 'EXTRA_ARGS=' >> " $GITHUB_OUTPUT"
222222 else
223- echo 'FILE=phpunit.xml.dist' >> $GITHUB_OUTPUT
224- echo 'EXTRA_ARGS= --repeat 2' >> $GITHUB_OUTPUT
223+ echo 'FILE=phpunit.xml.dist' >> " $GITHUB_OUTPUT"
224+ echo 'EXTRA_ARGS= --repeat 2' >> " $GITHUB_OUTPUT"
225225 fi
226226
227227 - name : Run the unit tests without caching (non-risky)
@@ -295,9 +295,9 @@ jobs:
295295 id : set_ini
296296 run : |
297297 if [ "${{ matrix.phpcs_version }}" != "dev-master" ]; then
298- echo 'PHP_INI=error_reporting=E_ALL & ~E_DEPRECATED, display_errors=On' >> $GITHUB_OUTPUT
298+ echo 'PHP_INI=error_reporting=E_ALL & ~E_DEPRECATED, display_errors=On' >> " $GITHUB_OUTPUT"
299299 else
300- echo 'PHP_INI=error_reporting=-1, display_errors=On' >> $GITHUB_OUTPUT
300+ echo 'PHP_INI=error_reporting=-1, display_errors=On' >> " $GITHUB_OUTPUT"
301301 fi
302302
303303 - name : Install PHP
@@ -332,7 +332,7 @@ jobs:
332332 - name : Grab PHPUnit version
333333 id : phpunit_version
334334 # yamllint disable-line rule:line-length
335- run : echo "VERSION=$(vendor/bin/phpunit --version | grep --only-matching --max-count=1 --extended-regexp '\b[0-9]+\.[0-9]+')" >> $GITHUB_OUTPUT
335+ run : echo "VERSION=$(vendor/bin/phpunit --version | grep --only-matching --max-count=1 --extended-regexp '\b[0-9]+\.[0-9]+')" >> " $GITHUB_OUTPUT"
336336
337337 - name : " DEBUG: Show grabbed version"
338338 run : echo ${{ steps.phpunit_version.outputs.VERSION }}
0 commit comments