<table role="table">
<thead>
<tr>
<th>Q</th>
<th>A</th>
</tr>
</thead>
<tbody>
<tr>
<td>Bug report?</td>
<td>no</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.4</td>
</tr>
</tbody>
</table>
<p dir="auto">After upgrading to Symfony 3.4 beta1, I'm seeing a ton of deprecations like this one:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="The &quot;Twig_Extension::getName()&quot; method is deprecated since 1.26 (to be removed
in 2.0), not used anymore internally. You should not extend it from
&quot;Symfony\Bridge\Twig\Extension\LogoutUrlExtension&quot;"><pre class="notranslate"><code class="notranslate">The "Twig_Extension::getName()" method is deprecated since 1.26 (to be removed
in 2.0), not used anymore internally. You should not extend it from
"Symfony\Bridge\Twig\Extension\LogoutUrlExtension"
</code></pre></div>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sstok/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sstok">@sstok</a> suggested on the Symfony Slack chat to require Twig 1.26 as the minimum version, because that's the one which deprecated <code class="notranslate">getName()</code> and the first version where we can remove it without making the applications fail.</p>
<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.4</td>
</tr>
</tbody>
</table>
<p dir="auto">The Debug component detects usages of deprecated methods since <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="248393939" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/23816" data-hovercard-type="pull_request" data-hovercard-url="/symfony/symfony/pull/23816/hovercard" href="https://github.com/symfony/symfony/pull/23816">#23816</a>.</p>
<p dir="auto">Problem is that the TwigBridge's Twig extensions are all implementing <code class="notranslate">Twig\Extension::getName()</code> which is deprecated since Twig 1.26 (only via <code class="notranslate">@deprecated</code> phpdoc annotations to avoid unexpected deprecation notices, see <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="179374258" data-permission-text="Title is private" data-url="https://github.com/twigphp/Twig/issues/2148" data-hovercard-type="pull_request" data-hovercard-url="/twigphp/Twig/pull/2148/hovercard" href="https://github.com/twigphp/Twig/pull/2148">twigphp/Twig#2148</a>).</p>
<p dir="auto">As a result, using symfony/debug 3.4 + symfony/twig-bridge 3.4 + twig 1.x triggers the following deprecation:</p>
<blockquote>
<p dir="auto">The "Twig_Extension::getName()" method is deprecated since 1.26 (to be removed in 2.0), not used anymore internally. You should not extend it from "Symfony\Bridge\Twig\Extension\AssetExtension".</p>
</blockquote>
<p dir="auto">Same for every Twig extension provided by TwigBridge (16)</p>