This package provides a consistent set of Composer scripts for local validation.
Tool references:
- Composer Require Checker for dependency definition checks.
- Easy Coding Standard (ECS) for coding standards.
- Infection for mutation testing.
- PHPStan for static analysis.
- PHPUnit for unit tests.
- Rector for automated refactoring.
Run Rector to apply automated code refactoring.
composer rectorValidate Rector without modifying files.
composer rector -- --dry-runRun Easy Coding Standard (ECS) and apply fixes.
composer ecsVerify that runtime dependencies are correctly declared in composer.json.
composer check-dependenciesRun mutation testing.
composer mutationRun mutation testing with static analysis enabled.
composer mutation-staticRun static analysis.
composer staticRun the full test suite.
composer testsComposer scripts support forwarding additional arguments using --.
Run PHPUnit with code coverage report generation.
composer tests -- --coverage-html code_coverageRun PHPStan with a different memory limit.
composer static -- --memory-limit=512M- 馃摎 Installation guide
- 鈿欙笍 Configuration reference
- 馃摝 Manifest resolution
- 馃挕 Usage examples
- 馃敀 Security and CSP
- 馃摉 Readme