exercism / Php
Licence: mit
Exercism exercises in PHP.
Stars: ✭ 100
Labels
Projects that are alternatives of or similar to Php
Lfe
Exercism exercises in Lisp Flavoured Erlang (LFE).
Stars: ✭ 17 (-83%)
Mutual labels: exercism-track
PHP
Exercism exercises in PHP
Install Dependencies
All dependencies
> ./bin/install.sh
Only tests dependencies
> ./bin/install-phpunit-8.sh
> ./bin/install-phpunit-9.sh
Only style-check dependencies
> ./bin/install-phpcs.sh
Running Unit Test Suite
PHPUnit 8
> PHPUNIT_BIN="./bin/phpunit-8.phar" ./bin/test.sh
PHPUnit 9
> PHPUNIT_BIN="./bin/phpunit-9.phar" ./bin/test.sh
Running Style Checker
PSR-2 rules
> PHPCS_BIN="./bin/phpcs.phar" PHPCS_RULES="./phpcs-php.xml" ./bin/lint.sh
PSR-12 rules
> PHPCS_BIN="./bin/phpcs.phar" PHPCS_RULES="./phpcs-php-psr12.xml" ./bin/lint.sh
Contributing
- Follow the PSR-2 coding style (PHP uses a slightly modified version of PSR-2).
- Follow the contributing guide.
- CI is run on all pull requests, it must pass the required checks for merge.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].