/docker-phpsa

A docker image for phpsa, a static analysis tool for PHP.

The UnlicenseUnlicense

docker-phpsa

A docker image for phpsa, a static analysis tool for PHP.

How to use

Pull the latest image

docker pull ddmler/phpsa

Run

docker run --rm --volume $(pwd):/workspace ddmler/phpsa check {dir}

Where {dir} is the directory you want to run the tool on. It also supports other commands than check, for a list of those see the link above.