Sign inSign up

bestit/qa-phpcs

By bestit

•Updated over 1 year ago

Slim Docker Image for https://github.com/PHPCSStandards/PHP_CodeSniffer

Image
Integration & delivery
Developer tools
0

659

bestit/qa-phpcs repository overview

⁠bestit/qa-phpcs

PHP CodeSniffer Image based on https://github.com/PHPCSStandards/PHP_CodeSniffer⁠

⁠Usage

To run the tool on your local working directory for all PHP files under custom/static-plugins do:

docker run -v $PWD:/workdir --workdir /workdir  --rm -it bestit/qa-phpcs:3.9.2 -d memory_limit=1G --standard=psr12 ./custom/static-plugins

⁠Releasing new versions

The build is using a docker multi stage build. To release a new version the following steps are required:

  1. Update tool_version in Dockerfile (amd64) and Dockerfile.arm64v8 (arm64v8)
  2. Update versions in multi-arch-manifest.yaml for both platforms.
  3. Update CHANGLOG.md accordingly.
  4. Push new tag, dockerhub will start the build automatically.

Tag summary

Content type

Image

Digest

sha256:1ccc56ba1…

Size

34.5 MB

Last updated

over 1 year ago

docker pull bestit/qa-phpcs:3.12.2