Code quality¶
To ensure code quality, some Composer scripts are available. These are run in a Docker container to ensure the same checks as the GitHub action.
composer check- Run all checks
composer check:composer- Run all checks regarding composer.json
composer check:composer:config- Check if
composer.jsonis normalized composer check:php- Run all checks regarding PHP
composer check:php:cs- Check coding standards
composer check:php:lint- Lint all PHP files
composer fix- Run all fixes
composer fix:composer- Normalize
composer.json composer fix:php- Run all PHP fixes
composer fix:php:cs- Fix coding standard violations