Skip to content

gradzio/codility-lessons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codility Lessons - PHP

Build Status Code Coverage Minimum PHP Version
Build Status codecov Minimum PHP Version

My solutions for Codility lessons using PHP.

Criteria to pass is always reaching 100%.

Structure

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.

Installation

composer install which will install composer packages

CI pipeline

I am using travis and you can check its configuration in .travis.yml file

After each commit to master it will run following commands:

Linting

composer lint which will check for PSR1 and PSR2 style

Testing

composer test which will for breaking unit tests using phpunit

Releases

No releases published

Packages

No packages published

Languages