Skip to content

Commit be2ba2b

Browse files
Merge branch '3.4' into 4.1
* 3.4: Remove duplicate condition fix useless space in docblock remove unneeded tearDown method [Intl] Update the ICU data to 63.1 [FrameworkBundle] Fix broken exception message [TwigBundle] Fix usage of TwigBundle without FrameworkBundle Revert "fixed CS" Skip empty proxy code [Security] Fix "exclude-from-classmap" add missing double-quotes to extra_fields output message Convert InsufficientAuthenticationException to HttpException
2 parents 8034a7a + 87f0952 commit be2ba2b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dumper/PhpDumper.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,9 @@ private function generateProxyClasses()
373373
$alreadyGenerated[$class] = true;
374374
// register class' reflector for resource tracking
375375
$this->container->getReflectionClass($class);
376-
$proxyCode = "\n".$proxyDumper->getProxyCode($definition);
376+
if ("\n" === $proxyCode = "\n".$proxyDumper->getProxyCode($definition)) {
377+
continue;
378+
}
377379
if ($strip) {
378380
$proxyCode = "<?php\n".$proxyCode;
379381
$proxyCode = substr(Kernel::stripComments($proxyCode), 5);

0 commit comments

Comments
 (0)