Skip to content

Commit 1adc9e9

Browse files
fix merge
1 parent e16caff commit 1adc9e9

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/Symfony/Component/HttpKernel/Kernel.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -678,10 +678,6 @@ protected function dumpContainer(ConfigCache $cache, ContainerBuilder $container
678678
'file' => $cache->getPath(),
679679
'as_files' => true,
680680
'debug' => $this->debug,
681-
<<<<<<< HEAD
682-
=======
683-
'inline_class_loader_parameter' => \PHP_VERSION_ID >= 70000 && !$this->loadClassCache && !class_exists(ClassCollectionLoader::class, false) ? 'container.dumper.inline_class_loader' : null,
684-
>>>>>>> 3.4
685681
));
686682

687683
$rootCode = array_pop($content);

src/Symfony/Component/Yaml/Parser.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,8 @@ private function doParse(string $value, int $flags)
310310
throw new ParseException(sprintf('Duplicate key "%s" detected.', $key), $this->getRealCurrentLineNb() + 1, $this->currentLine);
311311
}
312312
} else {
313+
// remember the parsed line number here in case we need it to provide some contexts in error messages below
314+
$realCurrentLineNbKey = $this->getRealCurrentLineNb();
313315
$value = $this->parseBlock($this->getRealCurrentLineNb() + 1, $this->getNextEmbedBlock(), $flags);
314316
if ('<<' === $key) {
315317
$this->refs[$refMatches['ref']] = $value;

0 commit comments

Comments
 (0)