Skip to content

Commit

Permalink
minor #4327 Fix deprecation messages (fabpot)
Browse files Browse the repository at this point in the history
This PR was merged into the 3.x branch.

Discussion
----------

Fix deprecation messages

Commits
-------

07b626a Fix deprecation messages
  • Loading branch information
fabpot committed Sep 19, 2024
2 parents 30aac6d + 07b626a commit 9e1b544
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/ExpressionParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ public function parseStringExpression()
}

/**
* @deprecated since 3.11, use parseSequenceExpression() instead
* @deprecated since Twig 3.11, use parseSequenceExpression() instead
*/
public function parseArrayExpression()
{
Expand Down Expand Up @@ -360,7 +360,7 @@ public function parseSequenceExpression()
}

/**
* @deprecated since 3.11, use parseMappingExpression() instead
* @deprecated since Twig 3.11, use parseMappingExpression() instead
*/
public function parseHashExpression()
{
Expand Down
4 changes: 2 additions & 2 deletions src/Node/Expression/CallExpression.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ protected function compileArguments(Compiler $compiler, $isArray = false): void
}

/**
* @deprecated since 3.12, use Twig\Util\CallableArgumentsExtractor::getArguments() instead
* @deprecated since Twig 3.12, use Twig\Util\CallableArgumentsExtractor::getArguments() instead
*/
protected function getArguments($callable, $arguments)
{
Expand Down Expand Up @@ -258,7 +258,7 @@ protected function getArguments($callable, $arguments)
}

/**
* @deprecated since 3.12
* @deprecated since Twig 3.12
*/
protected function normalizeName(string $name): string
{
Expand Down

0 comments on commit 9e1b544

Please sign in to comment.