Build Status | Code Coverage | Minimum PHP Version |
---|---|---|
My solutions for Codility lessons using PHP.
Criteria to pass is always reaching 100%.
Solutions are grouped in folders that have seperate namespace with a lesson number.
Each Folder contains a solution set (component) that starts with a name of a Exercise
Each Component contains:
- Test.php file that represents BDD approach
- Solution implementation in .php
- Info file in .md with level of difficulty, complexity (detected by codility) and description of the challenge.
composer install
which will install composer packages
I am using travis and you can check its configuration in .travis.yml
file
After each commit to master it will run following commands:
composer lint
which will check for PSR1 and PSR2 style
composer test
which will for breaking unit tests using phpunit