Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add phpcbf check workflow #1761

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

datengraben
Copy link
Contributor

@datengraben datengraben commented Feb 7, 2025

After running phpcbf on our codebase (#1730), this adds an automatic check, if we have any code format violations in future prs and suggests running phpcbf by the user.

Additionally I think it would be more comfortable for contributors to have an pre-commit hook, that checks if phpcbf should be run.

TODO

  • We should document our formatting practices in the README/TECHNICAL readme.

Copy link

github-actions bot commented Feb 7, 2025

@datengraben datengraben mentioned this pull request Feb 7, 2025
1 task
Copy link

github-actions bot commented Feb 7, 2025

PHP Code Beautifier and Fixer found the following fixable issues, fix them first to ammend to contribution guidelines.

@hansmorb
Copy link
Contributor

Das sollte ja eigentlich fehlschlagen, oder? So zumindest der Log von phpcbf:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants