Skip to content

[Routing] UrlGenerator::doGenerate uses deprecated functionality #8176

@Tobion

Description

@Tobion

The UrlGenerator::doGenerate method expects the "_scheme" requirement to be part of $route->getRequirements() which is deprecated. It's in $route->getSchemes() now.
So the signiture of the method enforces people to use a deprecated feature.
I think it should be fixed for 2.3.

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