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:
parent
c2f77d80bd
commit
7049bbb714
7 changed files with 7 additions and 7 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue