Skip to content

BNAndras/php

 
 

Repository files navigation

Exercism PHP Track

Configlet Status Codacy Badge

Exercism exercises in PHP

Install Dependencies

All dependencies

> ./bin/install.sh

Only tests dependencies

> ./bin/install-phpunit-9.sh

Only style-check dependencies

> ./bin/install-phpcs.sh

Running Unit Test Suite

PHPUnit 9

> PHPUNIT_BIN="./bin/phpunit-9.phar" ./bin/test.sh

Running Style Checker

PSR-12 rules

> PHPCS_BIN="./bin/phpcs.phar" PHPCS_RULES="./phpcs-php.xml" ./bin/lint.sh

Contributing

  • Read the documentation at Exercism.
  • Follow the PSR-12 coding style (PHP uses a slightly modified version of PSR-12).
  • CI is run on all pull requests, it must pass the required checks for merge.

Releases

No releases published

Packages

No packages published

Languages

  • PHP 98.7%
  • Shell 1.2%
  • Smarty 0.1%