| Command | Description |
|---|---|
composer install |
Install dependencies |
composer test |
Run all tests |
composer lint |
Check PSR-12 compliance |
composer format |
Fix coding style automatically |
composer analyze |
Run static analysis with PHPStan |
- Unit tests: Located in
tests/Unit/ - Run all tests:
composer test
All contributions must include tests that pass.
This project follows the PSR-12 coding standard via the Respect Coding Standard. Run the following command before submitting:
composer lint # Check coding style
composer format # Fix coding style automaticallyThis project uses PHPStan for static analysis. Run:
composer analyze # Run static analysis