Skip to content

[Translation] removed support for using null as the locale #33276

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 21, 2019

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented Aug 21, 2019

Q A
Branch? master
Bug fix? no
New feature? no
BC breaks? yes
Deprecations? no
Tests pass? yes
Fixed tickets
License MIT
Doc PR

@fabpot
Copy link
Member

fabpot commented Aug 21, 2019

Thank you @xabbuh.

fabpot added a commit that referenced this pull request Aug 21, 2019
…le (xabbuh)

This PR was merged into the 5.0-dev branch.

Discussion
----------

[Translation] removed support for using null as the locale

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | yes
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

Commits
-------

0f4ed26 removed support for using null as the locale
@fabpot fabpot merged commit 0f4ed26 into symfony:master Aug 21, 2019
@xabbuh xabbuh deleted the pr-33272 branch August 21, 2019 13:02
if (null === $locale) {
@trigger_error(sprintf('Passing "null" as the $locale argument to %s() is deprecated since Symfony 4.4.', __METHOD__), E_USER_DEPRECATED);
}

$this->setLocale($locale, false);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've removed the false in #33154.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants