Skip to content
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

Rename TimeZoneTransformer into TimezoneTransformer #21875

Closed
wants to merge 1 commit into from
Closed

Rename TimeZoneTransformer into TimezoneTransformer #21875

wants to merge 1 commit into from

Conversation

lepiaf
Copy link
Contributor

@lepiaf lepiaf commented Mar 5, 2017

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

@javiereguiluz
Copy link
Member

@lepiaf thanks for contributing a fix for this super old issue report.

To give some context:

  1. Symfony uses Timezone sometimes and TimeZone others.
  2. PHP uses "TimeZone" in its classes: http://php.net/manual/en/class.intltimezone.php
  3. In UK English, "timezone" doesn't exist (it's "time zone") but in US English, it's more common to use "timezone", so the camelized version should be "Timezone".

Symfony always favors US English, so this change looks correct to me!

UPGRADE-3.3.md Outdated
Intl
----

* Rename `TimeZoneTransformer` class into `TimezoneTransformer`
Copy link
Member

Choose a reason for hiding this comment

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

since the class is internal (since 2.8), I'd suggest removing these, and apply this PR on 3.2

Copy link
Member

Choose a reason for hiding this comment

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

LGTM

@nicolas-grekas nicolas-grekas added this to the 3.2 milestone Mar 6, 2017
@lepiaf lepiaf changed the base branch from master to 3.2 March 6, 2017 20:28
UPGRADE-3.2.md Outdated
Intl
----

* Rename `TimeZoneTransformer` class into `TimezoneTransformer`
Copy link
Member

Choose a reason for hiding this comment

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

internal class, not needed

3.2.5
-----

* Rename `TimeZoneTransformer` class into `TimezoneTransformer`
Copy link
Member

Choose a reason for hiding this comment

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

internal class, not needed

Copy link
Member

@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Member

@xabbuh xabbuh left a comment

Choose a reason for hiding this comment

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

👍

@Tobion
Copy link
Member

Tobion commented Mar 14, 2017

👍

@fabpot
Copy link
Member

fabpot commented Mar 14, 2017

Good catch, thanks @lepiaf.

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.

None yet

7 participants