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

Codebase health checkup #234

Merged
merged 20 commits into from
Feb 1, 2025
Merged

Codebase health checkup #234

merged 20 commits into from
Feb 1, 2025

Conversation

xHeaven
Copy link
Contributor

@xHeaven xHeaven commented Jan 31, 2025

Just a code health improvement PR. There are lots of modifications here and there, but I tried to put each type of change into its own commit, so that if you don't like something, it can be easily reverted.

@szepeviktor
Copy link
Collaborator

Reported to typos.
crate-ci/typos#1221 (comment)

return in_array($range, array_keys($this->ranges())) ? $range : $default;
return array_key_exists($range, $this->ranges()) ? $range : $default;
Copy link
Collaborator

Choose a reason for hiding this comment

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

👍🏻

@xHeaven
Copy link
Contributor Author

xHeaven commented Jan 31, 2025

I've fixed most of the issues with eclint, however, I'm a bit unsure about what to do with src/Root.php:120 - it's still 188 characters long, which is way over the 160 char limit.

@iamgergo
Copy link
Member

iamgergo commented Feb 1, 2025

That looks good, thanks a lot!

@iamgergo iamgergo merged commit da81c80 into conedevelopment:master Feb 1, 2025
14 of 16 checks passed
@xHeaven xHeaven deleted the patch-1 branch February 2, 2025 00:53
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