atishoo/phpstan

By atishoo

Updated 7 months ago

phpstan tool

Image
Developer Tools

185

How to use this image

Basic usage using current user.

docker run --rm \
    --user $(id -u):$(id -g) \
    --volume /local/path:/app \
    atishoo/phpstan[:tag] [<options>]

For example, to generate metrics of our src directory.

docker run --rm \
    --user $(id -u):$(id -g) \
    --volume `pwd`:/app \
    atishoo/phpstan analyze --memory-limit 1G

Volumes

  • /app: Your PHP project directory.

Docker Pull Command

docker pull atishoo/phpstan