Skip to content

Move issue-reproducing fixtures into downgrade rule tests - #407

Merged
TomasVotruba merged 1 commit into
mainfrom
tv-migrate-issue-fixtures
Oct 17, 2026
Merged

TomasVotruba merged 1 commit into
mainfrom
tv-migrate-issue-fixtures

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

Migrates three single-rule reproduction fixtures from rector-src tests/Issues into the downgrade rule tests they exercise here:

  • DowngradeNamedArgumentRector - named argument on parent::__construct() (adds matching Source class).
  • DowngradeMixedTypeDeclarationRector - conditional return type template.
  • ArrowFunctionToAnonymousFunctionRector - superglobal used inside an arrow function body.

The rules live in this package, so their coverage belongs here rather than as cross-package issue tests in rector-src.

@TomasVotruba
TomasVotruba merged commit f2ec312 into main Oct 17, 2026
9 checks passed
@TomasVotruba
TomasVotruba deleted the tv-migrate-issue-fixtures branch October 17, 2026 14:30
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