File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -244,21 +244,21 @@ phpcsfilefound=1
244244
245245for phpcsfile in " ${defaultFiles[@]} " ; do
246246 if [[ -f " $DOCKER_GITHUB_WORKSPACE /$phpcsfile " ]]; then
247- phpcs_standard=" --phpcs-standard= $DOCKER_GITHUB_WORKSPACE /$phpcsfile "
247+ phpcs_standard=" $DOCKER_GITHUB_WORKSPACE /$phpcsfile "
248248 phpcsfilefound=0
249249 fi
250250done
251251
252252if [[ $phpcsfilefound -ne 0 ]]; then
253253 if [[ -n " $1 " ]]; then
254- phpcs_standard=" --phpcs-standard= $1 "
254+ phpcs_standard=" $1 "
255255 else
256- phpcs_standard=" --phpcs-standard= WordPress"
256+ phpcs_standard=" WordPress"
257257 fi
258258fi
259259
260260if [[ -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 "
262262fi ;
263263
264264CMD+=( " --phpcs-standard=$phpcs_standard " )
You can’t perform that action at this time.
0 commit comments