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

[2.x] Codebase cleanup #4161

Open
wants to merge 40 commits into
base: 2.x
Choose a base branch
from
Open

[2.x] Codebase cleanup #4161

wants to merge 40 commits into from

Conversation

xHeaven
Copy link

@xHeaven xHeaven commented Jan 17, 2025

This PR aims to cleanup the codebase as well as utilize the latest technologies provided by PHP up to 8.2.

It's a pretty big one, but I've cut everything up into lots of commits, so if you don't like something, it's easily revertable.

There are no breaking changes here. Code style will have to be updated by StyleCI(?) - though, I wish there was php-cs-fixer or something like that included in the project, so I could properly adhere to the coding styles without thinking about it too much.

The method can either return `int` or `null`. There is no need to coalesce `null` into `null`.
No modifier = `public`, therefore I've added `public`.
@xHeaven xHeaven requested a review from a team as a code owner January 17, 2025 21:39
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.

1 participant