File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -244,21 +244,21 @@ phpcsfilefound=1
244
244
245
245
for phpcsfile in " ${defaultFiles[@]} " ; do
246
246
if [[ -f " $DOCKER_GITHUB_WORKSPACE /$phpcsfile " ]]; then
247
- phpcs_standard=" --phpcs-standard= $DOCKER_GITHUB_WORKSPACE /$phpcsfile "
247
+ phpcs_standard=" $DOCKER_GITHUB_WORKSPACE /$phpcsfile "
248
248
phpcsfilefound=0
249
249
fi
250
250
done
251
251
252
252
if [[ $phpcsfilefound -ne 0 ]]; then
253
253
if [[ -n " $1 " ]]; then
254
- phpcs_standard=" --phpcs-standard= $1 "
254
+ phpcs_standard=" $1 "
255
255
else
256
- phpcs_standard=" --phpcs-standard= WordPress"
256
+ phpcs_standard=" WordPress"
257
257
fi
258
258
fi
259
259
260
260
if [[ -n " $PHPCS_STANDARD_FILE_NAME " ]] && [[ -f " $DOCKER_GITHUB_WORKSPACE /$PHPCS_STANDARD_FILE_NAME " ]]; then
261
- phpcs_standard=" --phpcs-standard= $DOCKER_GITHUB_WORKSPACE /$PHPCS_STANDARD_FILE_NAME "
261
+ phpcs_standard=" $DOCKER_GITHUB_WORKSPACE /$PHPCS_STANDARD_FILE_NAME "
262
262
fi ;
263
263
264
264
CMD+=( " --phpcs-standard=$phpcs_standard " )
You can’t perform that action at this time.
0 commit comments