Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.18 KB

File metadata and controls

46 lines (31 loc) · 1.18 KB

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 with Infection Static Analysis Plugin. To run it:

./vendor/bin/roave-infection-static-analysis-plugin

Static analysis

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

./vendor/bin/psalm

Code style

Package used PHP CS Fixer to maintain PER CS 2.0 code style and Rector to make codebase follow some specific rules or use either newest or any specific version of PHP:

composer php-cs-fixer
composer rector

Dependencies

This package uses composer-require-checker to check if all dependencies are correctly defined in composer.json. To run the checker, execute the following command:

./vendor/bin/composer-require-checker