Skip to content

Commit

Permalink
Update extension install
Browse files Browse the repository at this point in the history
Update wpcs version
  • Loading branch information
thrijith committed Sep 19, 2024
1 parent 5b9fd92 commit 85891aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ RUN chmod +x /action/entrypoint.sh

RUN apk update && \
apk upgrade && \
apk add git composer php8-simplexml php8-tokenizer
apk add git composer php8-simplexml php8-tokenizer php8-xmlreader php8-xmlwriter

ENTRYPOINT ["/action/entrypoint.sh"]
3 changes: 2 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ if ! [ -x "$(command -v composer)" ]; then
mv composer.phar /usr/local/bin/composer
fi

composer global require "dealerdirect/phpcodesniffer-composer-installer:^0.7.1" "wp-coding-standards/wpcs:^3.1.0"
composer global config allow-plugins.dealerdirect/phpcodesniffer-composer-installer true
composer global require --dev wp-coding-standards/wpcs:"^3.0.0" --update-with-dependencies

git config --global --add safe.directory $(pwd)

Expand Down

0 comments on commit 85891aa

Please sign in to comment.