Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
Commit9b25b6a
committed
bug#29482 Fixes sprintf(): Too few arguments in MessageFormatter::choiceFormat (stephanedelprat)
This PR was submitted for the master branch but it was merged into the 4.2 branch instead (closes#29482).Discussion----------Fixes sprintf(): Too few arguments in MessageFormatter::choiceFormatSimilar to :#29344| Q | A| ------------- | ---| Branch? | 4.2| Bug fix? | yes| New feature? | no <!-- don't forget to update src/**/CHANGELOG.md files -->| BC breaks? | no <!-- seehttps://symfony.com/bc -->| Deprecations? | related to a previous deprecation <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files -->| Tests pass? | I hope so| Fixed tickets | none| License | MIT| Doc PR | noneFixes the log produced when the method is called :Before : "sprintf(): Too few arguments"After : "The "Symfony\Component\Translation\Formatter\MessageFormatter::choiceFormat()" method is deprecated since Symfony 4.2, use the format() one instead with a %count% parameter."Reference :http://php.net/manual/function.sprintf.phpCommits-------109fee5 Fixes sprintf(): Too few arguments in TranslatorFile tree
1 file changed
+1
-1
lines changed- src/Symfony/Component/Translation/Formatter
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
0 commit comments
Comments
(0)