ddmler / docker-phpsa

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

License:The Unlicense