Docker image with the following extensions installed on phpstan.
You can update the phpstan.neon
file in order to use the extension:
includes:
- /composer/vendor/phpstan/phpstan-strict-rules/rules.neon
- /composer/vendor/phpstan/phpstan-phpunit/extension.neon
- /composer/vendor/phpstan/phpstan-mockery/extension.neon
docker run --rm -v $(pwd):/app -w /app sunaoka/phpstan:latest analyse --ansi --memory-limit=-1