Unit tests rely on a mongo installation so all unit tests are ran through docker. To run all unit tests execute:
docker-compose run --rm php composer testRunning unit tests with code coverage requires you build the docker composer with XDEBUG=1
docker-compose build --build-arg XDEBUG=1To change docker to a different php version
docker-compose build --build-arg PHP_VERSION=8.1then run the unit tests as
docker-compose run --rm php composer test-coverageRun phpcs as
docker-compose run --rm php composer cs-check src test config