8000 Symfony String Component require intl extension · Issue #49280 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
Symfony String Component require intl extension #49280
Closed
@Ferror

Description

@Ferror

Symfony version(s) affected

6.2.5

Description

https://github.com/symfony/symfony/blob/6.3/src/Symfony/Component/String/AbstractUnicodeString.php#L31-L34

Hi! The String Component uses the Normalizer class (https://www.php.net/manual/en/class.normalizer.php) which is part of the intl extension, when I tried to use a library that has a dependency on Symfony String I had to install the intl because the "Normalizer" class was missing.

How to reproduce

The Normalizer usage: https://github.com/symfony/symfony/blob/6.3/src/Symfony/Component/String/AbstractUnicodeString.php#L31-L34

The Dependencies: https://github.com/symfony/symfony/blob/6.3/src/Symfony/Component/String/composer.json

Possible Solution

Adding to the String Component requirement for ext-intl extension

Additional Context

No response

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

      0