Installing PHP locally was (is) quite a pain. This gets multiplied if there are more developers with different environments (Windows, Mac, Linux…). As Docker has become the de-facto standard for containers and a common denominator among developers and also DevOps, there is an image for running PHPUnits tests in docker: https://hub.docker.com/r/phpunit/phpunit/
I “stored” my docker run command in a shell file:
The output may then look something like this: