- Linux, Macos, WSL
- PHP >=8.2
- Xdebug
- Make
- Git
Setup SSH before clone:
git clone git@github.com:hexlet-boilerplates/php-package.git
cd php-package
make installmake lintSee configs php.xml and phpstan.neon
make testmake test-coverage
# see ./build/logs/clover.xml- the set of files under coverage is declared in
phpunit.xml - the threshold is
COVERAGE_MINin the Makefile —make test-coverageexits with an error below it, so the PHP CI badge stays green only while coverage holds - requires the Xdebug or PCOV extension, otherwise PHPUnit reports
No code coverage driver available
This repository is created and maintained by the team and the community of Hexlet, an educational project. Read more about Hexlet.
See most active contributors on hexlet-friends.
