diff --git a/UPGRADE-2.7.md b/UPGRADE-2.7.md index 519332155c799..42b8349702f34 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 ---------- diff --git a/src/Symfony/Component/Console/Input/InputDefinition.php b/src/Symfony/Component/Console/Input/InputDefinition.php index 7efb849ab2470..044ec265b246d 100644 --- a/src/Symfony/Component/Console/Input/InputDefinition.php +++ b/src/Symfony/Component/Console/Input/InputDefinition.php @@ -391,7 +391,7 @@ private function shortcutToName($shortcut) /** * Gets the synopsis. * - * @param bool $short Whether to return the short version (with options foloded) or not + * @param bool $short Whether to return the short version (with options folded) or not * * @return string The synopsis */ pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy