Docker Contianer for running phpcs code style checks on a joomla-cms repository
458
Docker Container for running phpcs code style checks on a joomla-cms repository
If you have a local install of phpcs you might have a newer version installed or you don't have phpcs installed at all. A lot of PR fail because of code styles failures and this takes a lot of time to communicate and to fix the code style issues. This container allows anyone to run code style checks on their local machine without installing and fighting dependencies.
docker run -it --rm -v $(pwd):/opt/src -w /opt joomlaprojects/docker-joomla-cms-phpcs
That's it.
For convenience you can create an alias e.g.
alias jcs='docker run -it --rm -v $(pwd):/opt/src -w /opt joomlaprojects/docker-joomla-cms-phpcs'
and then you can run jcs and code styles are checked
Content type
Image
Digest
Size
194 MB
Last updated
over 9 years ago
docker pull joomlaprojects/docker-joomla-cms-phpcs