Skip to content

Commit 95f64c1

Browse files
Merge branch '4.4' into 5.0
* 4.4: [Debug] fix ClassNotFoundFatalErrorHandler [Routing] Fix using a custom matcher & generator dumper class [Serializer] Fix cache in MetadataAwareNameConverter [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 [Messenger] Added check if json_encode succeeded [FrameworkBundle][ContainerLintCommand] Only skip .errored. services [HttpClient] fix exception in case of PSR17 discovery failure [DependencyInjection] Handle ServiceClosureArgument for callable in container linting fix processing chain adapter based cache pool [HttpKernel] release lock explicitly [Security] Prevent canceled remember-me cookie from being accepted [FrameworkBundle][TranslationUpdateCommand] Do not output positive feedback on stderr [Security\Guard] Fix missing typehints do not render preferred choices as selected
2 parents 5bd5e37 + a597890 commit 95f64c1

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)