Internals
March 5, 2026 ยท View on GitHub
This package provides a consistent set of Composer scripts for local validation.
Tool references:
- PHPCodeSniffer for code style checks.
- PHPStan for static analysis.
- PHPUnit for unit tests.
Code style checks (PHPCodeSniffer)
Run code style checks.
composer cs
Fix code style issues.
composer cs-fix
Static analysis (PHPStan)
Run static analysis.
composer static
Unit tests (PHPUnit)
Run the full test suite.
composer tests
Passing extra arguments
Composer scripts support forwarding additional arguments using --.
Run PHPStan with a different memory limit.
composer static -- --memory-limit=512M