Skip to content

Make test AddFullyQualifiedIdentifierDocblockRector idempotent - #8717

Merged
TomasVotruba merged 1 commit into
mainfrom
tv-import-docblock-rule-idempotent
Oct 19, 2026
Merged

TomasVotruba merged 1 commit into
mainfrom
tv-import-docblock-rule-idempotent

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

The AddFullyQualifiedIdentifierDocblockRector test Source rule re-added its @var tag on every pass. Bail out when the var tag is already present, so it is idempotent across repeated traverse passes.

Skip when the var tag is already present, so repeated passes do not re-add it.
@TomasVotruba
TomasVotruba merged commit e0e6504 into main Oct 19, 2026
48 of 49 checks passed
@TomasVotruba
TomasVotruba deleted the tv-import-docblock-rule-idempotent branch October 19, 2026 17:17
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