Skip to content

Commit a597890

Browse files
Merge branch '4.3' into 4.4
* 4.3: [Debug] fix ClassNotFoundFatalErrorHandler [Routing] Fix using a custom matcher & generator dumper class [Dotenv] Fixed infinite loop with missing quote followed by quoted value [HttpClient] Added missing sprintf [TwigBridge] button_widget now has its title attr translated even if its label = null or false [PhpUnitBridge] When using phpenv + phpenv-composer plugin, composer executable is wrapped into a bash script [Messenger] Added check if json_encode succeeded [Security] Prevent canceled remember-me cookie from being accepted [FrameworkBundle][TranslationUpdateCommand] Do not output positive feedback on stderr [Security\Guard] Fix missing typehints
1 parent 0d934aa commit a597890

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Tests/ErrorEnhancer/ClassNotFoundErrorEnhancerTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ public static function setUpBeforeClass(): void
3030
// get class loaders wrapped by DebugClassLoader
3131
if ($function[0] instanceof DebugClassLoader) {
3232
$function = $function[0]->getClassLoader();
33+
34+
if (!\is_array($function)) {
35+
continue;
36+
}
3337
}
3438

3539
if ($function[0] instanceof ComposerClassLoader) {

0 commit comments

Comments
 (0)