Sign inSign up

bestit/qa-phpmd

By bestit

•Updated about 2 years ago

PHP Mess Detector (phpmd) based on https://phpmd.org/

Image
Integration & delivery
Developer tools
0

402

bestit/qa-phpmd repository overview

⁠bestit/qa-phpcs

PHP CodeSniffer Image based on https://phpmd.org/⁠

⁠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-phpmd:2.15.0

⁠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.

⁠Local Testing

To test the Dockerfiles locally you can execute this command to build the image on amd64 and arm64 architectures:

docker buildx build --force-rm --no-cache -t qa-phpmd --platform linux/arm64,linux/amd64 . && docker run -it qa-phpmd

Tag summary

Content type

Image

Digest

sha256:45eafeca1…

Size

34.7 MB

Last updated

about 2 years ago

docker pull bestit/qa-phpmd:2.15.0