A docker image for phpsa, a static analysis tool for PHP.
docker pull ddmler/phpsa
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.