@@ -58,10 +58,10 @@ public static function provideRegistry(): iterable
58
58
if (file_exists($installedVersionsPath)) require_once $installedVersionsPath;
59
59
60
60
// 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
+ ) ;
65
65
66
66
return $loader;
67
67
})();
@@ -89,10 +89,10 @@ public static function provideRegistry(): iterable
89
89
if (file_exists($installedVersionsPath)) require_once $installedVersionsPath;
90
90
91
91
// 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
+ ) ;
96
96
97
97
return $loader;
98
98
})();
@@ -126,10 +126,10 @@ public static function provideRegistry(): iterable
126
126
if (file_exists($installedVersionsPath)) require_once $installedVersionsPath;
127
127
128
128
// 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
+ ) ;
133
133
134
134
return $loader;
135
135
})();
@@ -168,10 +168,10 @@ public static function provideRegistry(): iterable
168
168
if (file_exists($installedVersionsPath)) require_once $installedVersionsPath;
169
169
170
170
// 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
+ ) ;
175
175
176
176
return $loader;
177
177
})();
@@ -212,10 +212,10 @@ public static function provideRegistry(): iterable
212
212
if (file_exists($installedVersionsPath)) require_once $installedVersionsPath;
213
213
214
214
// 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
+ ) ;
219
219
220
220
return $loader;
221
221
})();
@@ -265,10 +265,10 @@ public static function provideRegistry(): iterable
265
265
if (file_exists($installedVersionsPath)) require_once $installedVersionsPath;
266
266
267
267
// 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
+ ) ;
272
272
273
273
return $loader;
274
274
})();
@@ -318,10 +318,10 @@ public static function provideRegistry(): iterable
318
318
if (file_exists($installedVersionsPath)) require_once $installedVersionsPath;
319
319
320
320
// 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
+ ) ;
325
325
326
326
return $loader;
327
327
})();
@@ -368,10 +368,10 @@ public static function provideRegistry(): iterable
368
368
if (file_exists($installedVersionsPath)) require_once $installedVersionsPath;
369
369
370
370
// 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
+ ) ;
375
375
376
376
return $loader;
377
377
})();
@@ -416,10 +416,10 @@ function humbug_phpscoper_expose_class($exposed, $prefixed) {
416
416
if (file_exists($installedVersionsPath)) require_once $installedVersionsPath;
417
417
418
418
// 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
+ ) ;
423
423
424
424
return $loader;
425
425
})();
@@ -471,10 +471,10 @@ function humbug_phpscoper_expose_class($exposed, $prefixed) {
471
471
if (file_exists($installedVersionsPath)) require_once $installedVersionsPath;
472
472
473
473
// 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
+ ) ;
478
478
479
479
return $loader;
480
480
})();
@@ -540,10 +540,10 @@ function humbug_phpscoper_expose_class($exposed, $prefixed) {
540
540
if (file_exists($installedVersionsPath)) require_once $installedVersionsPath;
541
541
542
542
// 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
+ ) ;
547
547
548
548
return $loader;
549
549
})();
@@ -583,10 +583,10 @@ function humbug_phpscoper_expose_class($exposed, $prefixed) {
583
583
if (file_exists($installedVersionsPath)) require_once $installedVersionsPath;
584
584
585
585
// 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
+ ) ;
590
590
591
591
return $loader;
592
592
})();
0 commit comments