Skip to content

[Symfony51] Add PreviousAdminRoleToIsImpersonatorRector to replace RenameStringRector config - #1129

Merged
TomasVotruba merged 1 commit into
mainfrom
tv-previous-admin-role-to-is-impersonator
Nov 17, 2026
Merged

TomasVotruba merged 1 commit into
mainfrom
tv-previous-admin-role-to-is-impersonator

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

Replaces the only RenameStringRector config in the symfony set with a dedicated rule, so the generic RenameStringRector can be deprecated in rector-src.

Same behavior: changes the 'ROLE_PREVIOUS_ADMIN' string to 'IS_IMPERSONATOR', bound to symfony/security-core >=5.1. See symfony/symfony#35858

@TomasVotruba
TomasVotruba merged commit 1e7139b into main Nov 17, 2026
8 checks passed
@TomasVotruba
TomasVotruba deleted the tv-previous-admin-role-to-is-impersonator branch November 17, 2026 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant