summaryrefslogtreecommitdiffstats
path: root/php-symfony4-generate-autoloaders.php
diff options
context:
space:
mode:
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',