Closed
Description
Symfony version(s) affected
6.3.1
Description
Compression of emoji data was introduced in Symfony 6.3 as per #50055.
When I try to compress the data by using the supplied compress
tool (running php ./vendor/symfony/intl/Resources/bin/compress
), all PHP files in the ./vendor/symfony/intl/Resources/data
directory get compressed, except the data in ./vendor/symfony/intl/Resources/data/transliterator/emoji
.
How to reproduce
Pre-Conditions
- Intl package installed
- Emoji data was not already compressed
Steps
- Run
php ./vendor/symfony/intl/Resources/bin/compress
in the project directory - Go into the
./vendor/symfony/intl/Resources/data/currencies
directory to make sure that the other files were gzipped - Go into the
./vendor/symfony/intl/Resources/data/transliterator/emoji
directory to verify that no PHP files were gzipped
Possible Solution
- Move files in the
emoji
sub-directory up one directory to directly have them in thetransliterator
directory - Adjust the
compress
tool to traverse the data directory recursively to find PHP files also in subdirectories
Additional Context
Environments tested
- Alpine Linux 3.18
- macOS 13.4.1