diff --git a/.github/workflows/intl-data-tests.yml b/.github/workflows/intl-data-tests.yml index c0e56036fff6c..e037935065e6b 100644 --- a/.github/workflows/intl-data-tests.yml +++ b/.github/workflows/intl-data-tests.yml @@ -84,7 +84,11 @@ jobs: run: | [ -f src/Symfony/Component/Intl/Resources/data/locales/en.php ] [ ! -f src/Symfony/Component/Intl/Resources/data/locales/en.php.gz ] + [ -f src/Symfony/Component/Intl/Resources/data/transliterator/emoji/emoji-en.php ] + [ ! -f src/Symfony/Component/Intl/Resources/data/transliterator/emoji/emoji-en.php.gz ] src/Symfony/Component/Intl/Resources/bin/compress [ ! -f src/Symfony/Component/Intl/Resources/data/locales/en.php ] [ -f src/Symfony/Component/Intl/Resources/data/locales/en.php.gz ] + [ ! -f src/Symfony/Component/Intl/Resources/data/transliterator/emoji/emoji-en.php ] + [ -f src/Symfony/Component/Intl/Resources/data/transliterator/emoji/emoji-en.php.gz ] ./phpunit src/Symfony/Component/Intl diff --git a/src/Symfony/Component/Intl/Resources/bin/compress b/src/Symfony/Component/Intl/Resources/bin/compress index e786bd2a041c9..44125b96685dd 100755 --- a/src/Symfony/Component/Intl/Resources/bin/compress +++ b/src/Symfony/Component/Intl/Resources/bin/compress @@ -17,8 +17,15 @@ if (!extension_loaded('zlib')) { throw new Exception('This script requires the zlib extension.'); } -foreach (glob(dirname(__DIR__).'/data/*/*.php') as $file) { - if ('meta.php' === basename($file)) { +$iterator = new RecursiveIteratorIterator( + new RecursiveDirectoryIterator( + dirname(__DIR__).'/data', + FilesystemIterator::CURRENT_AS_FILEINFO | FilesystemIterator::SKIP_DOTS + ) +); + +foreach ($iterator as $file) { + if ('php' !== $file->getExtension() || 'meta.php' === $file->getFilename()) { continue; } pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy