Skip to content

Conversation

@TomasVotruba
Copy link
Member

@TomasVotruba TomasVotruba commented Dec 2, 2025

No description provided.

@TomasVotruba TomasVotruba changed the title tv rector no code return 4 [cleanup] deprecate SHOULD_KEEP_PRE_SLASH, remove dont traverse const on StringClassNameToClassConstantRector Dec 2, 2025
@TomasVotruba TomasVotruba force-pushed the tv-rector-no-code-return-4 branch from 92fb510 to ba15f07 Compare December 2, 2025 12:31
@TomasVotruba TomasVotruba merged commit 1642aea into main Dec 2, 2025
55 checks passed
@TomasVotruba TomasVotruba deleted the tv-rector-no-code-return-4 branch December 2, 2025 12:35
@samsonasik
Copy link
Member

If configurable removed, the \\ string prefix should be added if string has \\ prefix, eg:

"\Foo\Bar"

to be:

"\" . \Foo\Bar::class

so that value become equal, the use of \\ prefix is needed.

That's we keep the value without breaking change.

@TomasVotruba
Copy link
Member Author

I know. The purpose of this rule is to remove these edge-cases too.

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