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

Set up PHP code formatter #34

Open
scop opened this issue Nov 12, 2024 · 0 comments
Open

Set up PHP code formatter #34

scop opened this issue Nov 12, 2024 · 0 comments

Comments

@scop
Copy link
Member

scop commented Nov 12, 2024

To provide for consistent style and minimal diffs.

Run the formatter in CI so that it verifies PR pushes conform to the chosen tool/style.
Also locally in git hooks if a fast enough one is found. Otherwise make sure it is somehow runnable locally.

For example, phpcs/phpcbf,

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

No branches or pull requests

2 participants