Skip to content

Conversation

@nickygerritsen
Copy link
Member

I removed some rules we didn't like before, but I think this is a good set of rules to use.

The rector.php file can be used to rerun rector.

@vmcj
Copy link
Member

vmcj commented Dec 27, 2025

Why is this better? https://github.com/DOMjudge/domjudge/pull/3314/files#diff-ebb0d9a14289d7ffedd4c5f1df222e3215630edd6e6b96aaeaab21dd6f61bcb3R975 maybe we should add rector as an CI job to detect such cases like we have for PHPCS, otherwise I think we will get both styles inconsistently.

@nickygerritsen
Copy link
Member Author

Why is this better? https://github.com/DOMjudge/domjudge/pull/3314/files#diff-ebb0d9a14289d7ffedd4c5f1df222e3215630edd6e6b96aaeaab21dd6f61bcb3R975 maybe we should add rector as an CI job to detect such cases like we have for PHPCS, otherwise I think we will get both styles inconsistently.

Way less typing without losing much legibility imho. But if others disagree we can drop this one

@nickygerritsen nickygerritsen added this pull request to the merge queue Dec 28, 2025
Merged via the queue into DOMjudge:main with commit 4010dc9 Dec 28, 2025
38 checks passed
@nickygerritsen nickygerritsen deleted the rector branch December 28, 2025 11:42
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.

3 participants