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 stricter PHP code style rules #2649

Merged
merged 13 commits into from
Jan 8, 2025

Conversation

williamjallen
Copy link
Collaborator

CDash currently uses the relatively weak PSR-2 code style standard. This PR enables the PSR-12 and Symfony rulesets for much stricter code formatting guidelines. I took the liberty to adjust some of the styles based on my opinion of the styles and their effect on the CDash codebase. Feel free to leave review comments about any or all of these changes.

Copy link
Member

@josephsnyder josephsnyder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't find any issues with functionality when testing this MR locally. The random sampling of changes I looked at seemed reasonable. It needs a rebase but otherwise, LGTM!

@williamjallen williamjallen added this pull request to the merge queue Jan 8, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 8, 2025
@williamjallen williamjallen added this pull request to the merge queue Jan 8, 2025
Merged via the queue into Kitware:master with commit 94c4492 Jan 8, 2025
6 checks passed
@williamjallen williamjallen deleted the psr12-style-rules branch January 8, 2025 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants