@@ -58,10 +58,10 @@ public static function provideRegistry(): iterable
5858 if (file_exists($installedVersionsPath)) require_once $installedVersionsPath;
5959
6060 // Restore the backup and ensure the excluded files are properly marked as loaded
61- $GLOBALS['__composer_autoload_files'] = [
62- ... $existingComposerAutoloadFiles,
63- ... array_fill_keys([], true),
64- ] ;
61+ $GLOBALS['__composer_autoload_files'] = \array_merge(
62+ $existingComposerAutoloadFiles,
63+ \ array_fill_keys([], true)
64+ ) ;
6565
6666 return $loader;
6767 })();
@@ -89,10 +89,10 @@ public static function provideRegistry(): iterable
8989 if (file_exists($installedVersionsPath)) require_once $installedVersionsPath;
9090
9191 // Restore the backup and ensure the excluded files are properly marked as loaded
92- $GLOBALS['__composer_autoload_files'] = [
93- ... $existingComposerAutoloadFiles,
94- ... array_fill_keys(['a610a8e036135f992c6edfb10ca9f4e9', 'e252736c6babb7c097ab6692dbcb2a5a'], true),
95- ] ;
92+ $GLOBALS['__composer_autoload_files'] = \array_merge(
93+ $existingComposerAutoloadFiles,
94+ \ array_fill_keys(['a610a8e036135f992c6edfb10ca9f4e9', 'e252736c6babb7c097ab6692dbcb2a5a'], true)
95+ ) ;
9696
9797 return $loader;
9898 })();
@@ -126,10 +126,10 @@ public static function provideRegistry(): iterable
126126 if (file_exists($installedVersionsPath)) require_once $installedVersionsPath;
127127
128128 // Restore the backup and ensure the excluded files are properly marked as loaded
129- $GLOBALS['__composer_autoload_files'] = [
130- ... $existingComposerAutoloadFiles,
131- ... array_fill_keys([], true),
132- ] ;
129+ $GLOBALS['__composer_autoload_files'] = \array_merge(
130+ $existingComposerAutoloadFiles,
131+ \ array_fill_keys([], true)
132+ ) ;
133133
134134 return $loader;
135135 })();
@@ -168,10 +168,10 @@ public static function provideRegistry(): iterable
168168 if (file_exists($installedVersionsPath)) require_once $installedVersionsPath;
169169
170170 // Restore the backup and ensure the excluded files are properly marked as loaded
171- $GLOBALS['__composer_autoload_files'] = [
172- ... $existingComposerAutoloadFiles,
173- ... array_fill_keys([], true),
174- ] ;
171+ $GLOBALS['__composer_autoload_files'] = \array_merge(
172+ $existingComposerAutoloadFiles,
173+ \ array_fill_keys([], true)
174+ ) ;
175175
176176 return $loader;
177177 })();
@@ -212,10 +212,10 @@ public static function provideRegistry(): iterable
212212 if (file_exists($installedVersionsPath)) require_once $installedVersionsPath;
213213
214214 // Restore the backup and ensure the excluded files are properly marked as loaded
215- $GLOBALS['__composer_autoload_files'] = [
216- ... $existingComposerAutoloadFiles,
217- ... array_fill_keys([], true),
218- ] ;
215+ $GLOBALS['__composer_autoload_files'] = \array_merge(
216+ $existingComposerAutoloadFiles,
217+ \ array_fill_keys([], true)
218+ ) ;
219219
220220 return $loader;
221221 })();
@@ -265,10 +265,10 @@ public static function provideRegistry(): iterable
265265 if (file_exists($installedVersionsPath)) require_once $installedVersionsPath;
266266
267267 // Restore the backup and ensure the excluded files are properly marked as loaded
268- $GLOBALS['__composer_autoload_files'] = [
269- ... $existingComposerAutoloadFiles,
270- ... array_fill_keys(['a610a8e036135f992c6edfb10ca9f4e9', 'e252736c6babb7c097ab6692dbcb2a5a'], true),
271- ] ;
268+ $GLOBALS['__composer_autoload_files'] = \array_merge(
269+ $existingComposerAutoloadFiles,
270+ \ array_fill_keys(['a610a8e036135f992c6edfb10ca9f4e9', 'e252736c6babb7c097ab6692dbcb2a5a'], true)
271+ ) ;
272272
273273 return $loader;
274274 })();
@@ -318,10 +318,10 @@ public static function provideRegistry(): iterable
318318 if (file_exists($installedVersionsPath)) require_once $installedVersionsPath;
319319
320320 // Restore the backup and ensure the excluded files are properly marked as loaded
321- $GLOBALS['__composer_autoload_files'] = [
322- ... $existingComposerAutoloadFiles,
323- ... array_fill_keys([], true),
324- ] ;
321+ $GLOBALS['__composer_autoload_files'] = \array_merge(
322+ $existingComposerAutoloadFiles,
323+ \ array_fill_keys([], true)
324+ ) ;
325325
326326 return $loader;
327327 })();
@@ -368,10 +368,10 @@ public static function provideRegistry(): iterable
368368 if (file_exists($installedVersionsPath)) require_once $installedVersionsPath;
369369
370370 // Restore the backup and ensure the excluded files are properly marked as loaded
371- $GLOBALS['__composer_autoload_files'] = [
372- ... $existingComposerAutoloadFiles,
373- ... array_fill_keys([], true),
374- ] ;
371+ $GLOBALS['__composer_autoload_files'] = \array_merge(
372+ $existingComposerAutoloadFiles,
373+ \ array_fill_keys([], true)
374+ ) ;
375375
376376 return $loader;
377377 })();
@@ -416,10 +416,10 @@ function humbug_phpscoper_expose_class($exposed, $prefixed) {
416416 if (file_exists($installedVersionsPath)) require_once $installedVersionsPath;
417417
418418 // Restore the backup and ensure the excluded files are properly marked as loaded
419- $GLOBALS['__composer_autoload_files'] = [
420- ... $existingComposerAutoloadFiles,
421- ... array_fill_keys([], true),
422- ] ;
419+ $GLOBALS['__composer_autoload_files'] = \array_merge(
420+ $existingComposerAutoloadFiles,
421+ \ array_fill_keys([], true)
422+ ) ;
423423
424424 return $loader;
425425 })();
@@ -471,10 +471,10 @@ function humbug_phpscoper_expose_class($exposed, $prefixed) {
471471 if (file_exists($installedVersionsPath)) require_once $installedVersionsPath;
472472
473473 // Restore the backup and ensure the excluded files are properly marked as loaded
474- $GLOBALS['__composer_autoload_files'] = [
475- ... $existingComposerAutoloadFiles,
476- ... array_fill_keys([], true),
477- ] ;
474+ $GLOBALS['__composer_autoload_files'] = \array_merge(
475+ $existingComposerAutoloadFiles,
476+ \ array_fill_keys([], true)
477+ ) ;
478478
479479 return $loader;
480480 })();
@@ -540,10 +540,10 @@ function humbug_phpscoper_expose_class($exposed, $prefixed) {
540540 if (file_exists($installedVersionsPath)) require_once $installedVersionsPath;
541541
542542 // Restore the backup and ensure the excluded files are properly marked as loaded
543- $GLOBALS['__composer_autoload_files'] = [
544- ... $existingComposerAutoloadFiles,
545- ... array_fill_keys([], true),
546- ] ;
543+ $GLOBALS['__composer_autoload_files'] = \array_merge(
544+ $existingComposerAutoloadFiles,
545+ \ array_fill_keys([], true)
546+ ) ;
547547
548548 return $loader;
549549 })();
@@ -583,10 +583,10 @@ function humbug_phpscoper_expose_class($exposed, $prefixed) {
583583 if (file_exists($installedVersionsPath)) require_once $installedVersionsPath;
584584
585585 // Restore the backup and ensure the excluded files are properly marked as loaded
586- $GLOBALS['__composer_autoload_files'] = [
587- ... $existingComposerAutoloadFiles,
588- ... array_fill_keys([], true),
589- ] ;
586+ $GLOBALS['__composer_autoload_files'] = \array_merge(
587+ $existingComposerAutoloadFiles,
588+ \ array_fill_keys([], true)
589+ ) ;
590590
591591 return $loader;
592592 })();
0 commit comments