Sign inSign up

rvannauker/phpstan

By rvannauker

•Updated over 9 years ago

PHP Static Analysis Tool - discover bugs in your code without running it!

Image
1

1.1K

rvannauker/phpstan repository overview

⁠PHPStan - PHP Static Analysis Tool - discover bugs in your code without running it!

Docker Pulls Docker Stars GitHub issues license

Docker container to install and run phpstan

⁠Installation / Usage
  1. Install the rvannauker/phpstan container:
docker pull rvannauker/phpstan
  1. Run phpstan through the phpstan container:
sudo docker run --rm --volume $(pwd):/workspace --name="phpstan" "rvannauker/phpstan" analyse --level=5 --no-progress --no-interaction -vvv {destination}
⁠Download the source:

To run, test and develop the PHPSTAN Dockerfile itself, you must use the source directly:

  1. Download the source:
git clone https://github.com/RichVRed/docker-phpstan.git
  1. Build the container:
sudo docker build --force-rm --tag "rvannauker/phpstan" --file phpstan.dockerfile .
  1. Test running the container:
 $ docker run rvannauker/phpstan --help

Tag summary

Content type

Image

Digest

Size

29.2 MB

Last updated

over 9 years ago

docker pull rvannauker/phpstan