Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 911 Bytes

internals.md

File metadata and controls

43 lines (28 loc) · 911 Bytes

Internals

Unit testing

The package is tested with PHPUnit. To run tests:

./vendor/bin/phpunit

Mutation testing

The package tests are checked with Infection mutation framework. To run it:

./vendor/bin/infection

Static analysis

The code is statically analyzed with PHPStan. To run static analysis:

./vendor/bin/phpstan

Code style

Use Rector to make codebase follow some specific rules or use either newest or any specific version of PHP:

./vendor/bin/rector

Dependencies

Use Composer Dependency Analyser to detect unknown, shadow, and unused Composer dependencies:

./vendor/bin/composer-dependency-analyser