Contributing
Code of Conduct
This project follows the Contributor Covenant Code of Conduct. Please read the full text before participating. For reports of abusive or unacceptable behavior, contact userli@systemli.org.
Coding style
Code style is enforced by PHP CS Fixer, Rector, and Psalm.
Check code style without making changes:
composer cs-check
Automatically fix code style:
composer cs-fix
Run Rector refactoring checks:
composer rector-check # dry-run
composer rector-fix # apply changes
Run Psalm static analysis:
composer psalm
Tip
Run all three checks before pushing to catch issues early. CI will reject code that fails these checks.
Commits
- Use Gitmojis in commit messages
- Write commit messages in English
Translations
Translation files are in default_translations/.
English and German translations are managed manually in the repository.
All other languages are managed via Weblate.
All user-facing text in templates must use the |trans Twig filter with translation keys from default_translations/.