From f9aeee5e630cee960d4da6dec193943862b14dc3 Mon Sep 17 00:00:00 2001 From: Maxime Steinhausser Date: Mon, 2 Oct 2017 13:59:28 +0200 Subject: [PATCH] [DI] Fix missing CHANGELOG update + typo --- src/Symfony/Component/DependencyInjection/CHANGELOG.md | 2 ++ .../Compiler/DefinitionErrorExceptionPass.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Symfony/Component/DependencyInjection/CHANGELOG.md b/src/Symfony/Component/DependencyInjection/CHANGELOG.md index 013da9ad4ec3..a004161b963d 100644 --- a/src/Symfony/Component/DependencyInjection/CHANGELOG.md +++ b/src/Symfony/Component/DependencyInjection/CHANGELOG.md @@ -14,6 +14,8 @@ CHANGELOG * deprecated case insensitivity of parameter names * deprecated the `ResolveDefinitionTemplatesPass` class in favor of `ResolveChildDefinitionsPass` * added `TaggedIteratorArgument` with YAML (`!tagged foo`) and XML (``) support + * deprecated `AutowireExceptionPass` and `AutowirePass::getAutowiringExceptions()`, use `Definition::addError()` and the `DefinitionErrorExceptionPass` instead + 3.3.0 ----- diff --git a/src/Symfony/Component/DependencyInjection/Compiler/DefinitionErrorExceptionPass.php b/src/Symfony/Component/DependencyInjection/Compiler/DefinitionErrorExceptionPass.php index 69cd899f2a5d..73b5d1d57d58 100644 --- a/src/Symfony/Component/DependencyInjection/Compiler/DefinitionErrorExceptionPass.php +++ b/src/Symfony/Component/DependencyInjection/Compiler/DefinitionErrorExceptionPass.php @@ -30,7 +30,7 @@ protected function processValue($value, $isRoot = false) return parent::processValue($value, $isRoot); } - // only show the first error so they user can focus on it + // only show the first error so the user can focus on it $errors = $value->getErrors(); $message = reset($errors);