This is the common Fizz Buzz test, but made with S.O.L.I.D principles.
- run
composer install
- point your server to
public/index.php
composer test
As an company challenged me to do this test with only one if, with no else or decision branchs, i made this two scripts: