summaryrefslogtreecommitdiffstats
path: root/php-symfony4-generate-autoloaders.php
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-01-13 08:33:27 +0100
committerRemi Collet <remi@php.net>2022-01-13 08:33:27 +0100
commit3560f36bb024b18c8136c1789a3a4148f04607dd (patch)
tree7b32edeb8e751b985d16abf2e7b57625259e9bdd /php-symfony4-generate-autoloaders.php
parentc78d99c3acef8ed9c9c64fc8182c5a327223b428 (diff)
fix autoloader for 7.4
Diffstat (limited to 'php-symfony4-generate-autoloaders.php')
-rwxr-xr-xphp-symfony4-generate-autoloaders.php29
1 files changed, 9 insertions, 20 deletions
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',