HUB
Sign inSign up
phpstan logo

sunaoka/phpstan

By sunaoka

•Updated about 20 hours ago

PHPStan (PHP Static Analysis Tool) with extensions Docker image

Image
Developer tools
1

10K+

sunaoka/phpstan repository overview

⁠PHPStan (PHP Static Analysis Tool) with extensions Docker image

Docker image with the following extensions installed on phpstan.

⁠Usage

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-deprecation-rules/rules.neon
    - /composer/vendor/phpstan/phpstan-phpunit/extension.neon
    - /composer/vendor/phpstan/phpstan-mockery/extension.neon
    - /composer/vendor/spaze/phpstan-disallowed-calls/extension.neon
    - /composer/vendor/shipmonk/dead-code-detector/rules.neon
docker run --rm -v $(pwd):/app -w /app ghcr.io/sunaoka/docker-phpstan:latest:latest analyse --ansi --memory-limit=-1
# or
docker run --rm -v $(pwd):/app -w /app sunaoka/phpstan:latest analyse --ansi --memory-limit=-1

⁠Container image

⁠GitHub

Tag summary

Content type

Image

Digest

sha256:5cc68bd9d…

Size

62.4 MB

Last updated

about 20 hours ago

docker pull sunaoka/phpstan