Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
theofidry committed Jun 17, 2024
1 parent f85f21d commit 692facd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Composer/AutoloadDumperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public static function autoloadProvider(): iterable
$loader = (static function () {
// Backup the autoloaded Composer files
$existingComposerAutoloadFiles = $GLOBALS['__composer_autoload_files'] ?? [];
$existingComposerAutoloadFiles = isset($GLOBALS['__composer_autoload_files']) ? $GLOBALS['__composer_autoload_files'] : [];
// @generated by Humbug Box
Expand Down Expand Up @@ -261,7 +261,7 @@ public static function autoloadProvider(): iterable
\$loader = (static function () {
// Backup the autoloaded Composer files
\$existingComposerAutoloadFiles = \$GLOBALS['__composer_autoload_files'] ?? [];
\$existingComposerAutoloadFiles = \isset($GLOBALS['__composer_autoload_files']) ? $GLOBALS['__composer_autoload_files'] : [];
// @generated by Humbug Box
Expand Down Expand Up @@ -361,7 +361,7 @@ public static function autoloadProvider(): iterable
namespace {
$loader = (static function () {
// Backup the autoloaded Composer files
$existingComposerAutoloadFiles = $GLOBALS['__composer_autoload_files'] ?? [];
$existingComposerAutoloadFiles = isset($GLOBALS['__composer_autoload_files']) ? $GLOBALS['__composer_autoload_files'] : [];
// @generated by Humbug Box
Expand Down

0 comments on commit 692facd

Please sign in to comment.