Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 493e290

Browse files
author
Hugo Hamon
committed
[DependencyInjection] remove deprecated code in YamlFileLoader class
1 parent d8594de commit 493e290

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Symfony/Component/DependencyInjection/Loader/YamlFileLoader.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -795,8 +795,6 @@ private function checkDefinition($id, array $definition, $file)
795795
if ($throw) {
796796
throw new InvalidArgumentException(sprintf('The configuration key "%s" is unsupported for definition "%s" in "%s". Allowed configuration keys are "%s".', $key, $id, $file, implode('", "', $keywords)));
797797
}
798-
799-
@trigger_error(sprintf('The configuration key "%s" is unsupported for service definition "%s" in "%s". Allowed configuration keys are "%s". The YamlFileLoader object will raise an exception instead in Symfony 4.0 when detecting an unsupported service configuration key.', $key, $id, $file, implode('", "', $keywords)), E_USER_DEPRECATED);
800798
}
801799
}
802800
}

0 commit comments

Comments
 (0)