Skip to content

[CLEANUP] Avoid Hungarian notation in OutputFormatter #969

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

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

oliverklee
Copy link
Collaborator

Part of #756

@coveralls
Copy link

Coverage Status

coverage: 53.778%. remained the same
when pulling b89ce63 on cleanup/hungarian/formatter
into 981464c on main.

$sString = \explode(';', $sString);
if (\count($sString) < 2) {
return $sString[0];
$parts = \explode(';', $string);
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'd also noted the rewriting of the parameter and thought a fresh local variable would be better 👍

*
* @throws \InvalidArgumentException
*/
public function space(string $sName): string
public function space(string $name): string
Copy link
Collaborator

Choose a reason for hiding this comment

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

$name is not very descriptive, but that is beyond the scope of this PR.

@JakeQZ JakeQZ merged commit 2f0e48f into main Feb 20, 2025
21 checks passed
@JakeQZ JakeQZ deleted the cleanup/hungarian/formatter branch February 20, 2025 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants