Skip to content

Commit 6cacc24

Browse files
Merge branch '7.2' into 7.3
* 7.2: Fix php.net links fix version number in deprecation [DoctrineBridge] Restore compatibility with Doctrine ODM by validating $class object type chore: Increase minimum version of type-info component [FrameworkBundle] Add functional tests for the `ContainerLintCommand` command Fix precision loss when rounding large integers in `NumberToLocalizedStringTransformer`
2 parents c70a8c7 + 0fc8446 commit 6cacc24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Node/FormThemeNode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ final class FormThemeNode extends Node
2828
public function __construct(Node $form, Node $resources, int $lineno, $only = false)
2929
{
3030
if (null === $only || \is_string($only)) {
31-
trigger_deprecation('symfony/twig-bridge', '3.12', 'Passing a tag to %s() is deprecated.', __METHOD__);
31+
trigger_deprecation('symfony/twig-bridge', '7.2', 'Passing a tag to %s() is deprecated.', __METHOD__);
3232
$only = \func_num_args() > 4 ? func_get_arg(4) : true;
3333
} elseif (!\is_bool($only)) {
3434
throw new \TypeError(\sprintf('Argument 4 passed to "%s()" must be a boolean, "%s" given.', __METHOD__, get_debug_type($only)));

0 commit comments

Comments
 (0)