rtCamp / action-phpcs-code-review

Github Action to perform automated code review on pull requests
https://github.com/rtCamp/github-actions-library
MIT License
103 stars 27 forks source link

Bump PHP version; Fix PHPCSUtils `ERROR: No sniffs were registered` #58

Closed thelovekesh closed 1 year ago

thelovekesh commented 1 year ago

Summary

Relevant technical choices

Dockerfile

main.sh

CMD=( "--phpcs=true" )

Set --phpcs-standard

CMD+=( "--phpcs-standard=true" )

Set --phpcs-path

CMD+=( "--phpcs-path=/path/to/phpcs" )

Finally run

"${CMD[@]}"