This is a simple refactoring exercise that is meant to teach something about dependency inversion and dependency injection.
This is the initial code for this kata written in PHP.
The documentation: http://matteo.vaccari.name/blog/archives/154
In order to use this Kata boilerplate you need to have installed Docker and Docker Compose.
To get started you should create a new project throught composer, based on this repository on packagist
git clone [email protected]:rigorsquad/birthday-greetings-kata-php.git
cd birthday-greetings-kata-php
composer install
To check that all the tests are passing just execute PHPUnit
php bin/phpunit
Now open your favourite IDE/text editor and start hacking.