atishoo/phpstan
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
docker pull atishoo/phpstan