From 3560f36bb024b18c8136c1789a3a4148f04607dd Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 13 Jan 2022 08:33:27 +0100 Subject: fix autoloader for 7.4 --- php-symfony4-generate-autoloaders.php | 29 +++++++++-------------------- 1 file changed, 9 insertions(+), 20 deletions(-) (limited to 'php-symfony4-generate-autoloaders.php') diff --git a/php-symfony4-generate-autoloaders.php b/php-symfony4-generate-autoloaders.php index 8955b93..be8a720 100755 --- a/php-symfony4-generate-autoloaders.php +++ b/php-symfony4-generate-autoloaders.php @@ -325,30 +325,19 @@ final class AutoloadGenerator { 'symfony/polyfill-intl-icu' => false, 'symfony/polyfill-intl-idn' => false, 'symfony/polyfill-mbstring' => false, - 'symfony/polyfill-php72' => (PHP_VERSION_ID < 70200) - ? [ + 'symfony/polyfill-php72' => false, + 'symfony/polyfill-php73' => false, + 'symfony/polyfill-php74' => false, + 'symfony/polyfill-php80' => + [ 'prefix' => 'FEDORA_SYMFONY4_PHP_DIR', // external 'path' => 'Symfony/Polyfill/autoload.php', - ] - : false, - 'symfony/polyfill-php73' => (PHP_VERSION_ID < 70300) - ? [ - 'prefix' => 'FEDORA_SYMFONY4_PHP_DIR', // external - 'path' => 'Symfony/Polyfill/autoload.php', - ] - : false, - 'symfony/polyfill-php80' => (PHP_VERSION_ID < 80000) - ? [ - 'prefix' => 'FEDORA_SYMFONY4_PHP_DIR', // external - 'path' => 'Symfony/Polyfill/autoload.php', - ] - : false, - 'symfony/polyfill-php81' => (PHP_VERSION_ID < 80100) - ? [ + ], + 'symfony/polyfill-php81' => + [ 'prefix' => 'FEDORA_SYMFONY4_PHP_DIR', // external 'path' => 'Symfony/Polyfill/autoload.php', - ] - : false, + ], 'symfony/process' => [ 'prefix' => 'FEDORA_SYMFONY4_DIR', 'path' => 'Component/Process/autoload.php', -- cgit