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
Content type
Image
Digest
sha256:b5968336c…
Size
44.2 MB
Last updated
about 2 years ago
docker pull atishoo/phpstan