1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-10 09:02:59 +00:00

Switch require_once to require for autoload_static as the once variant seems unnecessary

This commit is contained in:
Jordi Boggiano 2020-04-22 17:05:37 +02:00
parent c2f77d80bd
commit 7049bbb714
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC
7 changed files with 7 additions and 7 deletions

View file

@ -30,7 +30,7 @@ class ComposerAutoloaderInitFilesAutoload
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
if ($useStaticLoader) {
require_once __DIR__ . '/autoload_static.php';
require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInitFilesAutoload::getInitializer($loader));
} else {