File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ public static function load($class)
76
76
if (strpos (__DIR__ , 'phar:// ' ) !== 0
77
77
&& file_exists (__DIR__ .'/../../autoload.php ' ) === true
78
78
) {
79
- self ::$ composerAutoloader = include_once __DIR__ .'/../../autoload.php ' ;
79
+ self ::$ composerAutoloader = include __DIR__ .'/../../autoload.php ' ;
80
80
if (self ::$ composerAutoloader instanceof \Composer \Autoload \ClassLoader) {
81
81
self ::$ composerAutoloader ->unregister ();
82
82
self ::$ composerAutoloader ->register ();
@@ -164,7 +164,7 @@ public static function loadFile($path)
164
164
$ interfaces = get_declared_interfaces ();
165
165
$ traits = get_declared_traits ();
166
166
167
- include_once $ path ;
167
+ include $ path ;
168
168
169
169
$ className = null ;
170
170
$ newClasses = array_reverse (array_diff (get_declared_classes (), $ classes ));
Original file line number Diff line number Diff line change @@ -313,7 +313,7 @@ private function run()
313
313
314
314
// Include bootstrap files.
315
315
foreach ($ this ->config ->bootstrap as $ bootstrap ) {
316
- include_once $ bootstrap ;
316
+ include $ bootstrap ;
317
317
}
318
318
319
319
if ($ this ->config ->stdin === true ) {
You can’t perform that action at this time.
0 commit comments