Skip to content

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

License

Notifications You must be signed in to change notification settings

paillechat/docker-phpmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published