Added missing pt and pt_BR translations
minor #11201 [Validator] Added missing pt and pt_BR translations (dcsg)

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

Discussion
----------

[Validator] Added missing pt and pt_BR translations

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

Commits
-------

71a2b59 Added missing pt and pt_BR translations
[DomCrawler] properly handle buttons with single and double quotes inside the name attribute
[Components][Serializer] optional constructor arguments can be omitted during the denormalization process
Added missing dutch translations
minor #11203 Added missing dutch translations (WouterJ)

This PR was squashed before being merged into the 2.4 branch (closes #11203).

Discussion
----------

Added missing dutch translations

Commits
-------

bd9283e Added missing dutch translations
bug #11220 [Components][Serializer] optional constructor arguments can be omitted during the denormalization process (xabbuh)

This PR was merged into the 2.3 branch.

Discussion
----------

[Components][Serializer] optional constructor arguments can be omitted during the denormalization process

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

Commits
-------

5bb2345 [Components][Serializer] optional constructor arguments can be omitted during the denormalization process
[Validator] added Lithuanian translation for empty file
minor #11225 [Validator] added Lithuanian translation for empty file (Tadcka)

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

Discussion
----------

[Validator] added Lithuanian translation for empty file

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

Commits
-------

a954083 [Validator] added Lithuanian translation for empty file
[ClassLoader] fixed PHP warning on PHP 5.3
[Serializer] Added a test for decoding xml with whitespaces
Fix mocks to support >=5.5.14 and >=5.4.30
minor #11230 Fix mocks to support >=5.5.14 and >=5.4.30 (jpauli)

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

Discussion
----------

Fix mocks to support >=5.5.14 and >=5.4.30

PHP 5.5.14 and PHP 5.4.30 disallow unseriliazing hand made strings for internal classes that forbids that (using zend_class_unserialize_deny)

There was a bug before, PHP did not filter those strings, which could lead to security problems.
Starting from 5.5.14 and 5.4.30 , PHP now reports an error when trying to unserialize such strings.
https://github.com/php/php-src/commit/2c88ae5c4ea8b641c407549d40c6ea61e834840d
PHPUnit relies on this (wrong) behavior to create mock objects. This is a problem for SPlFileInfo.

This PR fixes that.

Commits
-------

1c5c694 Fix mocks to support >=5.5.14 and >=5.4.30
bug #11219 [DomCrawler] properly handle buttons with single and double quotes insid... (xabbuh)

This PR was merged into the 2.3 branch.

Discussion
----------

[DomCrawler] properly handle buttons with single and double quotes insid...

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

Commits
-------

cbbdbe4 [DomCrawler] properly handle buttons with single and double quotes inside the name attribute
[Validator] Added missing Czech translation
Refactored the CssSelector to remove the circular object graph

This allows the translator and its extensions to be garbage collected
based on the refcount rather than requiring the garbage collector run,
making it much more likely to happen at the end of the
CssSelector::toXPath call.
minor #11243 [Validator] Added missing Czech translation (hason)

This PR was merged into the 2.6-dev branch.

Discussion
----------

[Validator] Added missing Czech translation

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

Commits
-------

8fe71a9 [Validator] Added missing Czech translation
bug #11242 [CssSelector] Refactored the CssSelector to remove the circular object graph (stof)

This PR was merged into the 2.3 branch.

Discussion
----------

[CssSelector] Refactored the CssSelector to remove the circular object graph

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #10879, replaces  #11221
| License       | MIT
| Doc PR        | n/a

This allows the translator and its extensions to be garbage collected based on the refcount rather than requiring the garbage collector run, making it much more likely to happen at the end of the ``CssSelector::toXPath`` call.

Node translators now receive the Translator as second argument, instead of requiring to inject it in the extension to keep a reference to it. This way, the Translator is referenced nowhere inside it, only by the caller, and so will be destructed at the end of the usage (and extensions will then be destructed after it when not used anymore).

Commits
-------

994f81f Refactored the CssSelector to remove the circular object graph
[Validator] Polish translation for "empty file" validation
minor #11247 [Validator] Polish translation for "empty file" validation (stloyd)

This PR was merged into the 2.6-dev branch.

Discussion
----------

[Validator] Polish translation for "empty file" validation

Commits
-------

7212d0e [Validator] Polish translation for "empty file" validation