Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Symfony string component uses interface of other component without requiring it #37060

Copy link
Copy link
Closed
@freshp

Description

@freshp
Issue body actions

Symfony version(s) affected: 5.1.0

Description
I use the symfony/string component as standalone package. After the update to version 5.1.0 the following error occured.

Error : Interface 'Symfony\Contracts\Translation\LocaleAwareInterface' not found

How to reproduce
Create a new package without any requirements and require the string component. Create a new instance of the AsciiSlugger and the error occured.

Possible Solution
Maybe the package should require the translation-contracts.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.