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.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/php-symfony4-generate-autoloaders.php b/php-symfony4-generate-autoloaders.php
index 30a3851..a566449 100755
--- a/php-symfony4-generate-autoloaders.php
+++ b/php-symfony4-generate-autoloaders.php
@@ -320,6 +320,12 @@ final class AutoloadGenerator {
'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/process' => [
'prefix' => 'FEDORA_SYMFONY4_DIR',
'path' => 'Component/Process/autoload.php',