File tree 3 files changed +15
-15
lines changed
3 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 54
54
id : set_ini
55
55
run : |
56
56
if [ "${{ matrix.phpcs_version }}" != "dev-master" ]; then
57
- echo 'PHP_INI=error_reporting=E_ALL & ~E_DEPRECATED, display_errors=On' >> $GITHUB_OUTPUT
57
+ echo 'PHP_INI=error_reporting=E_ALL & ~E_DEPRECATED, display_errors=On' >> " $GITHUB_OUTPUT"
58
58
else
59
- echo 'PHP_INI=error_reporting=-1, display_errors=On' >> $GITHUB_OUTPUT
59
+ echo 'PHP_INI=error_reporting=-1, display_errors=On' >> " $GITHUB_OUTPUT"
60
60
fi
61
61
62
62
- name : Install PHP
@@ -98,15 +98,15 @@ jobs:
98
98
99
99
- name : Grab PHPUnit version
100
100
id : phpunit_version
101
- run : echo "VERSION=$(vendor/bin/phpunit --version | grep --only-matching --max-count=1 --extended-regexp '\b[0-9]+\.[0-9]+')" >> $GITHUB_OUTPUT
101
+ run : echo "VERSION=$(vendor/bin/phpunit --version | grep --only-matching --max-count=1 --extended-regexp '\b[0-9]+\.[0-9]+')" >> " $GITHUB_OUTPUT"
102
102
103
103
- name : Determine PHPUnit composer script to use
104
104
id : phpunit_script
105
105
run : |
106
106
if [ "${{ startsWith( steps.phpunit_version.outputs.VERSION, '10.' ) || startsWith( steps.phpunit_version.outputs.VERSION, '11.' ) }}" == "true" ]; then
107
- echo 'SUFFIX=' >> $GITHUB_OUTPUT
107
+ echo 'SUFFIX=' >> " $GITHUB_OUTPUT"
108
108
else
109
- echo 'SUFFIX=-lte9' >> $GITHUB_OUTPUT
109
+ echo 'SUFFIX=-lte9' >> " $GITHUB_OUTPUT"
110
110
fi
111
111
112
112
- name : Run the unit tests for the PHPCSDebug sniff
Original file line number Diff line number Diff line change 98
98
# On stable PHPCS versions, allow for PHP deprecation notices.
99
99
# Unit tests don't need to fail on those for stable releases where those issues won't get fixed anymore.
100
100
if [[ "${{ matrix.phpcs_version }}" != "dev-master" && "${{ matrix.phpcs_version }}" != "4.0.x-dev" ]]; then
101
- echo 'PHP_INI=error_reporting=E_ALL & ~E_DEPRECATED, display_errors=On' >> $GITHUB_OUTPUT
101
+ echo 'PHP_INI=error_reporting=E_ALL & ~E_DEPRECATED, display_errors=On' >> " $GITHUB_OUTPUT"
102
102
else
103
- echo 'PHP_INI=error_reporting=-1, display_errors=On' >> $GITHUB_OUTPUT
103
+ echo 'PHP_INI=error_reporting=-1, display_errors=On' >> " $GITHUB_OUTPUT"
104
104
fi
105
105
106
106
- name : Install PHP
@@ -152,15 +152,15 @@ jobs:
152
152
153
153
- name : Grab PHPUnit version
154
154
id : phpunit_version
155
- run : echo "VERSION=$(vendor/bin/phpunit --version | grep --only-matching --max-count=1 --extended-regexp '\b[0-9]+\.[0-9]+')" >> $GITHUB_OUTPUT
155
+ run : echo "VERSION=$(vendor/bin/phpunit --version | grep --only-matching --max-count=1 --extended-regexp '\b[0-9]+\.[0-9]+')" >> " $GITHUB_OUTPUT"
156
156
157
157
- name : Determine PHPUnit composer script to use
158
158
id : phpunit_script
159
159
run : |
160
160
if [ "${{ startsWith( steps.phpunit_version.outputs.VERSION, '10.' ) || startsWith( steps.phpunit_version.outputs.VERSION, '11.' ) }}" == "true" ]; then
161
- echo 'SUFFIX=' >> $GITHUB_OUTPUT
161
+ echo 'SUFFIX=' >> " $GITHUB_OUTPUT"
162
162
else
163
- echo 'SUFFIX=-lte9' >> $GITHUB_OUTPUT
163
+ echo 'SUFFIX=-lte9' >> " $GITHUB_OUTPUT"
164
164
fi
165
165
166
166
- name : Run the unit tests for the PHPCSDebug sniff
Original file line number Diff line number Diff line change 42
42
REF : ${{ github.ref }}
43
43
run : |
44
44
if [ "${{ github.event_name }}" == "pull_request" ]; then
45
- echo "BRANCH=$REF" >> $GITHUB_OUTPUT
45
+ echo "BRANCH=$REF" >> " $GITHUB_OUTPUT"
46
46
else
47
- echo 'BRANCH=stable' >> $GITHUB_OUTPUT
47
+ echo 'BRANCH=stable' >> " $GITHUB_OUTPUT"
48
48
fi
49
49
50
50
- name : Checkout code
68
68
SHA : ${{ github.sha }}
69
69
run : |
70
70
shortsha=$(echo "$SHA" | cut -b 1-6)
71
- echo "SHORTSHA=$shortsha" >> $GITHUB_OUTPUT
71
+ echo "SHORTSHA=$shortsha" >> " $GITHUB_OUTPUT"
72
72
73
73
- name : Prepare commit message
74
74
id : commit_msg
77
77
COMMIT_MSG : ${{ github.event.head_commit.message }}
78
78
run : |
79
79
if [[ "${{ github.event_name }}" == 'push' && "${{ github.ref_type }}" == 'tag' ]]; then
80
- echo "MSG=Update website for release of version $REF_NAME" >> $GITHUB_OUTPUT
80
+ echo "MSG=Update website for release of version $REF_NAME" >> " $GITHUB_OUTPUT"
81
81
else
82
- echo "MSG=Sync website after commit (sha: ${{ steps.set_sha.outputs.SHORTSHA }})" >> $GITHUB_OUTPUT
82
+ echo "MSG=Sync website after commit (sha: ${{ steps.set_sha.outputs.SHORTSHA }})" >> " $GITHUB_OUTPUT"
83
83
fi
84
84
85
85
- name : Check GitHub Pages status
You can’t perform that action at this time.
0 commit comments