Skip to content

Deprecated ReturnTypeWillChangeRector should be reinstated as a downgrade rule #9515

Description

@TobiasBg

Bug Report

Subject Details
Rector version 2.2.8

The deprecation of ReturnTypeWillChangeRector no longer leaves a way to add #[\ReturnTypeWillChange] in downgraded code.

See rectorphp/rector-src#7570 (comment) for details and an example.

Expected Behaviour

The ReturnTypeWillChangeRector functionality should be reinstated as a downgrade rule.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions