Sign inSign up

paillechat/docker-phpmd

By paillechat

•Updated about 4 years ago

Alpine-based multistage-build version of phpmd for reproducible usage in CI

Image
Integration & delivery
Developer tools
0

379

paillechat/docker-phpmd repository overview

⁠Docker image for phpmd

License

View Dockerfile⁠ on GitHub.

Docker hub⁠

Tiny Alpine-based multistage-builld dockerized version of phpmd⁠.

⁠Docker mounts

The working directory inside the Docker container is /app/ and should be mounted locally to the root of your project.

⁠Usage

⁠Basic
$ docker run --rm -v $(pwd):/app paillechat/docker-phpmd:8-2.13 src text cleancode

/app/src/Foo/Bar/OfferSync.php:47        UndefinedVariable  Avoid using undefined variables such as '$parameters' which will lead to PHP notices.
/app/src/Foo/Bar/OfferSync.php:104       StaticAccess       Avoid using static access to class '\App\Boo\Bar' in method 'updateVariantLogisticClassMetadata'.

⁠License

MIT License⁠

Tag summary

Content type

Image

Digest

sha256:ca3f4dc9e…

Size

30.8 MB

Last updated

about 4 years ago

docker pull paillechat/docker-phpmd:7.4-stable