<table role="table">
<thead>
<tr>
<th>Q</th>
<th>A</th>
</tr>
</thead>
<tbody>
<tr>
<td>Bug report?</td>
<td>yes</td>
</tr>
<tr>
<td>Feature request?</td>
<td>no</td>
</tr>
<tr>
<td>BC Break report?</td>
<td>no</td>
</tr>
<tr>
<td>RFC?</td>
<td>no</td>
</tr>
<tr>
<td>Symfony version</td>
<td>3.3</td>
</tr>
</tbody>
</table>
<p dir="auto">When we have:</p>
<ul dir="auto">
<li>embedded formB inside formA</li>
<li>validation on both forms defined in yamls</li>
<li>validation on formA -&gt; formB include <code class="notranslate">Valid</code> constraint</li>
<li>eg. fieldA on formB has NotBlank with groups: "groupA" defined</li>
<li>we have hardcoded groups <code class="notranslate">['Default', 'groupA']</code> in <code class="notranslate">validation_groups</code> options on formB</li>
</ul>
<p dir="auto">And we want to validate formA (containing formB), the validation group is not working (NotBlank is not validated). What's odd, when we add same <code class="notranslate">Valid</code> constraint directly in <code class="notranslate">constraints</code> option on formA form builder - it's working as expected <g-emoji class="g-emoji" alias="confused" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f615.png">😕</g-emoji></p>
<p dir="auto">I'll provide a reproducible code in a while.</p>
<p dir="auto">Hi all,</p>
<p dir="auto">I am not sure if this is a bug or if I am doing something wrong, but after 'composer update' I have sf 2.6. components and my cilex cli application is broken.</p>
<p dir="auto">It seems like Symfony\Component\Console\Application is using deprecated helpers:</p>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="use Symfony\Component\Console\Helper\DialogHelper;
use Symfony\Component\Console\Helper\ProgressHelper;
use Symfony\Component\Console\Helper\TableHelper;

...

/**
     * Gets the default helper set with the helpers that should always be available.
     *
     * @return HelperSet A HelperSet instance
     */
    protected function getDefaultHelperSet()
    {
        return new HelperSet(array(
            new FormatterHelper(),
            new DialogHelper(),
            new ProgressHelper(),
            new TableHelper(),
            new DebugFormatterHelper(),
            new ProcessHelper(),
            new QuestionHelper(),
        ));
    }"><pre class="notranslate"><span class="pl-k">use</span> <span class="pl-v">Symfony</span>\<span class="pl-v">Component</span>\<span class="pl-v">Console</span>\<span class="pl-v">Helper</span>\<span class="pl-v">DialogHelper</span>;
<span class="pl-k">use</span> <span class="pl-v">Symfony</span>\<span class="pl-v">Component</span>\<span class="pl-v">Console</span>\<span class="pl-v">Helper</span>\<span class="pl-v">ProgressHelper</span>;
<span class="pl-k">use</span> <span class="pl-v">Symfony</span>\<span class="pl-v">Component</span>\<span class="pl-v">Console</span>\<span class="pl-v">Helper</span>\<span class="pl-v">TableHelper</span>;

<span class="pl-c1">.</span>.<span class="pl-c1">.</span>

<span class="pl-c">/**</span>
<span class="pl-c">     * Gets the default helper set with the helpers that should always be available.</span>
<span class="pl-c">     *</span>
<span class="pl-c">     * @return HelperSet A HelperSet instance</span>
<span class="pl-c">     */</span>
    protected <span class="pl-k">function</span> getDefaultHelperSet()
    {
        return <span class="pl-k">new</span> <span class="pl-v">HelperSet</span>(<span class="pl-en">array</span>(
            <span class="pl-k">new</span> <span class="pl-v">FormatterHelper</span>(),
            <span class="pl-k">new</span> <span class="pl-v">DialogHelper</span>(),
            <span class="pl-k">new</span> <span class="pl-v">ProgressHelper</span>(),
            <span class="pl-k">new</span> <span class="pl-v">TableHelper</span>(),
            <span class="pl-k">new</span> <span class="pl-v">DebugFormatterHelper</span>(),
            <span class="pl-k">new</span> <span class="pl-v">ProcessHelper</span>(),
            <span class="pl-k">new</span> <span class="pl-v">QuestionHelper</span>(),
        ));
    }</pre></div>
<p dir="auto">Is it correct to use deprecated code in the component? If so....how to get rid of the errors?</p>
<p dir="auto">TIA!</p>