Fixed missing plural message in portuguese validator
merged branch andreabreu98/master (PR #6534)

This PR was submitted for the master branch but it was merged into the 2.1 branch instead (closes #6534).

Commits
-------

a5e7fdf Fixed missing plural message in portuguese validator

Discussion
----------

[Validator] Fixed missing plural message

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Fixes the following tickets: #6151
Todo: -
License of the code: -
Documentation PR: -
[HttpFoundation] better fix for non-parseable Expires header date

It also fixes several phpdocs
[HttpFoundation] fix return types and handling of zero in Response
merged branch Tobion/expires-header (PR #6535)

This PR was merged into the 2.1 branch.

Commits
-------

10b01c9 [HttpFoundation] fix return types and handling of zero in Response
75952af [HttpFoundation] better fix for non-parseable Expires header date

Discussion
----------

[HttpFoundation] Response fixes

First commit is a better solution for #6471 and also fixes several phpdocs.
The second commit fixes the return types and handling of zero.

---------------------------------------------------------------------------

by Tobion at 2013-01-02T21:16:25Z

@dlsniper cc
[Form] Fixed DateType when used with the intl extension disabled.
[Form] Fixed inheritance of "error_bubbling" in RepeatedType
merged branch bschussek/issue5428 (PR #6545)

This PR was merged into the 2.1 branch.

Commits
-------

c526ad9 [Form] Fixed inheritance of "error_bubbling" in RepeatedType

Discussion
----------

[Form] Fixed inheritance of "error_bubbling" in RepeatedType

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -
Todo: -
License of the code: MIT
Documentation PR: -
merged branch jakzal/date-type-fix (PR #6543)

This PR was merged into the 2.1 branch.

Commits
-------

6c5e615 [Form] Fixed DateType when used with the intl extension disabled.

Discussion
----------

[Form] Fixed DateType when used with the intl extension disabled

DateType's month select box returns timestamps when used with intl extension disabled (see #6485).

The reason for this is that stubbed formats use *L* instead of *M* for month representation. My fix is simply taking this into account when building array for the select box.

I didn't provide unit tests since they're disabled when intl extension is not enabled. I've only manually verified if the months array contains correct data.

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: #6485
Todo: -
License of the code: MIT
Documentation PR: -

---------------------------------------------------------------------------

by bschussek at 2013-01-03T17:41:47Z

Doesn't this call for fixing the stub instead of changing the Form component?

---------------------------------------------------------------------------

by stof at 2013-01-03T17:50:49Z

@bschussek L and M are both valid for the month in Intl

---------------------------------------------------------------------------

by jakzal at 2013-01-03T17:52:41Z

[StubIntlDateFormatter uses FullTransformer](https://github.com/symfony/symfony/blob/2.1/src/Symfony/Component/Locale/Stub/StubIntlDateFormatter.php#L206) to format the date. [FullTransformer supports both *L* and *M*](https://github.com/symfony/symfony/blob/2.1/src/Symfony/Component/Locale/Stub/DateFormat/FullTransformer.php#L50) formats. Both formats are treated interchangeably.