Skip to content

[rector] add PreferDirectIsNameRule#245

Merged
TomasVotruba merged 1 commit intomainfrom
tv-is-direct
Nov 20, 2025
Merged

[rector] add PreferDirectIsNameRule#245
TomasVotruba merged 1 commit intomainfrom
tv-is-direct

Conversation

@TomasVotruba
Copy link
Member

@TomasVotruba TomasVotruba commented Nov 20, 2025

This rule prefernt calling this in Rector rule:

$this->nodeNameResolver->isName(...);

Use helper call instead to avoid directly exposing more services:

$this->isName(...);

@TomasVotruba TomasVotruba merged commit d64ecd2 into main Nov 20, 2025
7 checks passed
@TomasVotruba TomasVotruba deleted the tv-is-direct branch November 20, 2025 18:44
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