Closed GeoffreyDijkstra closed 4 years ago
If you create your own phpcs.xml
file and specify the root folder it will check them all ignoring the configuration you specify in the yml
@GeoffreyDijkstra this action is a GitHub action based on vip-go-ci
As mentioned in the limitations: https://github.com/rtCamp/action-phpcs-code-review/#limitations It is not possible right now to run it on the entire project.
This action is built to comment on issues found in code inside a PR. If run over the entire project, it will find phpcs issues for files that may not be there in the PR as well, but then it will not be able to request changes for them and will fail.
This action is built with the purpose to request changes on phpcs issue found in PR, so running on entire project will not be added. It is not in the roadmap for now.
When using this action yml file:
According to your readme phpcs is run only on the files in the pull request diff, is it also possible to run it on the entire code base? Can you maybe add a flag or so for this? :smiley: