You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #31706 [Form] Remove the scale argument of the IntegerToLocalizedStringTransformer (yceruto)
This PR was merged into the 5.0-dev branch.
Discussion
----------
[Form] Remove the scale argument of the IntegerToLocalizedStringTransformer
| Q | A
| ------------- | ---
| Branch? | master
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | -
| License | MIT
| Doc PR | -
See #28569
Commits
-------
2cef8a2 Remove the scale argument of the IntegerToLocalizedStringTransformer
if (\is_int($grouping) || \is_bool($roundingMode) || 2 < \func_num_args()) {
33
-
@trigger_error(sprintf('Passing a precision as the first value to %s::__construct() is deprecated since Symfony 4.2 and support for it will be dropped in 5.0.', __CLASS__), E_USER_DEPRECATED);
Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/IntegerToLocalizedStringTransformerTest.php
-43Lines changed: 0 additions & 43 deletions
Original file line number
Diff line number
Diff line change
@@ -91,18 +91,6 @@ public function testTransformWithRounding($input, $output, $roundingMode)
* @expectedDeprecation Passing a precision as the first value to %s::__construct() is deprecated since Symfony 4.2 and support for it will be dropped in 5.0.
* @expectedDeprecation Passing a precision as the first value to %s::__construct() is deprecated since Symfony 4.2 and support for it will be dropped in 5.0.
* @expectedDeprecation Passing a precision as the first value to %s::__construct() is deprecated since Symfony 4.2 and support for it will be dropped in 5.0.
0 commit comments