Closed as not planned
Closed as not planned
Description
Symfony version(s) affected
7.2.7
Description
While upgrading our application to PHP 8.4 and Symfony 7.2, I had to include the Symfony/Emoji library. But after including the library, I started getting this exception during our phpunit build:
Fatal error: Cannot redeclare readonly property Transliterator::$id as non-readonly Symfony\Component\Emoji\EmojiTransliterator::$id in /application/vendor/symfony/emoji/EmojiTransliterator.php on line 20
As far as I'm seeing, the library is correctly defining the $id property as readonly.
How to reproduce
Having a basic unit unit test where the kernel get's initialized should be enough since it already happens while building the container.
Possible Solution
No response
Additional Context
No response