Skip to content

Conversation

@oliverklee
Copy link
Collaborator

@oliverklee oliverklee commented Feb 26, 2025

Also fix some variable name collisions.

Part of #756

@coveralls
Copy link

coveralls commented Feb 26, 2025

Coverage Status

coverage: 54.784%. remained the same
when pulling dfba007 on cleanup/hungarian/declaration-block
into b3abf1a on main.

Also fix some variable name collisions.

Part of #756
@oliverklee oliverklee force-pushed the cleanup/hungarian/declaration-block branch from b8b058c to dc0bd3b Compare February 26, 2025 08:02
Copy link
Collaborator

@JakeQZ JakeQZ left a comment

Choose a reason for hiding this comment

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

The changes to avoid variable name collisions are good, but I'm a bit unsure about one of the renames.

Comment on lines 126 to 127
foreach ($this->selectors as $key => $subSelector) {
if ($subSelector->getSelector() === $selectorToRemove) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think $selector singular was fine here for the loop variable. $subSelector is a strange name. (The parameter name change is good.)

@oliverklee oliverklee requested a review from JakeQZ February 26, 2025 10:12
@JakeQZ JakeQZ merged commit 0642f2b into main Feb 26, 2025
21 checks passed
@JakeQZ JakeQZ deleted the cleanup/hungarian/declaration-block branch February 26, 2025 10:17
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.

4 participants