Remove deprecated code

This commit is contained in:
Fabien Potencier
2024-08-28 13:58:16 +02:00
parent e2f0128774
commit 7cfcefcaef
5 changed files with 3 additions and 44 deletions
-4
View File
@@ -538,10 +538,6 @@ class ExpressionParser
public function parseFilterExpressionRaw($node)
{
if (func_num_args() > 1) {
trigger_deprecation('twig/twig', '3.12', 'Passing a second argument to "%s()" is deprecated.', __METHOD__);
}
while (true) {
$token = $this->parser->getStream()->expect(Token::NAME_TYPE);