Skip to content

Deprecated Rector Class #586

@mjamilasfihani

Description

@mjamilasfihani

use Rector\Php74\Rector\Property\TypedPropertyRector;

from the comment :

/**
 * @deprecated Moving doc types to type declarations is dangerous. Use specific strict types instead.
 * This rule will be split info many small ones.
 */

and I've check the devkit that it should change to Rector\TypeDeclaration\Rector\Property\TypedPropertyFromAssignsRector.

here is the commit history codeigniter4/devkit@cf4df09

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions