The package is tested with PHPUnit. To run tests:
./vendor/bin/phpunitThe package tests are checked with Infection mutation framework with Infection Static Analysis Plugin. To run it:
./vendor/bin/roave-infection-static-analysis-pluginThe code is statically analyzed with Psalm. To run static analysis:
./vendor/bin/psalmUse Rector to make codebase follow some specific rules or use either newest or any specific version of PHP:
./vendor/bin/rectorThis 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-checkerThe package provides performance benchmarks for the main use-cases, implemented with phpbench.
Benchmarks are located in tests/Benchmark and configured via phpbench.json.
To run the benchmarks:
./vendor/bin/phpbench runOr via Composer script:
composer bench