8000 [Locale][Stub] Fixed CS by stloyd · Pull Request #2890 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Locale][Stub] Fixed CS #2890

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
Dec 17, 2011
Merged

[Locale][Stub] Fixed CS #2890

merged 1 commit into from
Dec 17, 2011

Conversation

stloyd
Copy link
Contributor
@stloyd stloyd commented Dec 15, 2011

Bug fix: no
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes

Just fixed code according to Symfony2 CS.

}

return $regExp;
return 1 == $length ? '\d{1,2}' : '\d{'.$length.'}';
Copy link
Member

Choose a reason for hiding this comment

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

this should even be a strict comparison

fabpot added a commit that referenced this pull request Dec 17, 2011
Commits
-------

ed353da [Locale][Stub] Fixed CS

Discussion
----------

[Locale][Stub] Fixed CS

Bug fix: no
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes

Just fixed code according to Symfony2 CS.
@fabpot fabpot merged commit ed353da into symfony:2.0 Dec 17, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0