Skip to content

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)

$range = $request->input('range', $default);

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