Skip to content

symfony/intl interferes with testing on PHP < 8.1 #625

Description

@GPHemsley

https://github.com/symfony/intl/blob/5.4/Resources/functions.php implements the same intl functions that https://github.com/symfony/polyfill/blob/1.x/src/Intl/Icu/bootstrap.php implements (and probably similar for the various classes, too).

symfony/intl is a dev dependency, I think just in order to verify currencies:
https://github.com/symfony/polyfill/blob/1.x/tests/Intl/Icu/CurrenciesTest.php

On PHP versions that can't load symfony/intl after 5.4, this means that in some scenarios tests are running against symfony/intl's deprecated intl polyfills instead of Intl\Icu's, and there are implementation differences between them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions