Alpine-based multistage-build version of phpmd for reproducible usage in CI
379
phpmdView Dockerfile on GitHub.
Tiny Alpine-based multistage-builld dockerized version of phpmd.
The working directory inside the Docker container is /app/ and should be mounted locally to
the root of your project.
$ 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'.
Content type
Image
Digest
sha256:ca3f4dc9e…
Size
30.8 MB
Last updated
about 4 years ago
docker pull paillechat/docker-phpmd:7.4-stable