Skip to content

Stop Rector from making service properties nullable #13

@DieterHolvoet

Description

@DieterHolvoet

Summary

When the dependencies of a class are injected using ContainerFactoryInterface or ContainerFactoryPluginInterface, the property types of the services are now always nullable and assigned a null value. It's same to assume these properties will never under normal circumstances be null, so they shouldn't be made nullable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions