From c35f2c848234c403c4b7e1255a89e3723082190f Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Fri, 29 May 2015 12:21:38 -0400 Subject: [PATCH] Talking about getSynopsis() --- UPGRADE-2.7.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/UPGRADE-2.7.md b/UPGRADE-2.7.md index 519332155c..42b8349702 100644 --- a/UPGRADE-2.7.md +++ b/UPGRADE-2.7.md @@ -559,6 +559,31 @@ Validator (NullValidator, TrueValidator, FalseValidator) are marked as deprecated in favor of their `Is`-prefixed equivalent. +Console +------- + + * The `Symfony\Component\Console\Input\InputDefinition::getSynopsis()` method + now has an optional argument (it previously had no arguments). If you override + this method, you'll need to add this argument so that your signature matches: + + Before: + + ```php + public function getSynopsis() + { + // ... + } + ``` + + After: + + ```php + public function getSynopsis($short = false) + { + // ... + } + ``` + TwigBundle ----------