[Form] Changed Form::getErrors() to return an iterator and added two optional parameters $deep and $flatten
[Form] Changed the default value of $flatten in Form::getErrors() to true
[FrameworkBundle] set a default value for gc_probability
Add tests for RequestStack class
minor #10326 [HttpFoundation][Tests] Add tests for RequestStack class (inalgnu)

This PR was submitted for the 2.3-dev branch but it was merged into the 2.3 branch instead (closes #10326).

Discussion
----------

[HttpFoundation][Tests] Add tests for RequestStack class

| 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
-------

6f25d39 [HttpFoundation][Tests] Add tests for RequestStack class
add expression request matcher tests
minor #10322 [HttpFoundation][Tests] Add expression request matcher tests (inalgnu)

This PR was submitted for the 2.4-dev branch but it was merged into the 2.4 branch instead (closes #10322).

Discussion
----------

[HttpFoundation][Tests] Add expression request matcher tests

| 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
-------

76fe21d [HttpFoundation][Tests] add expression request matcher tests
[HttpKernel] fixed unit tests when using phpunit.phar
minor #10369 [HttpKernel] fixed unit tests when using phpunit.phar (fabpot)

This PR was merged into the 2.4 branch.

Discussion
----------

[HttpKernel] fixed unit tests when using phpunit.phar

| 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
-------

0edb192 [HttpKernel] fixed unit tests when using phpunit.phar
Merge branch '2.4'

* 2.4:
  [HttpKernel] fixed unit tests when using phpunit.phar
  add expression request matcher tests
[HttpKernel] fixed CS
added the BC docs to the contributing file
[HttpFoundation] removed test file not related to 2.3
minor #10372 [HttpKernel] fixed CS (fabpot)

This PR was merged into the 2.3 branch.

Discussion
----------

[HttpKernel] fixed CS

Commits
-------

7539e41 [HttpKernel] fixed CS
minor #10373 added the BC docs to the contributing file (fabpot)

This PR was merged into the 2.5-dev branch.

Discussion
----------

added the BC docs to the contributing file

Commits
-------

2f9432a added the BC docs to the contributing file
Merge branch '2.3' into 2.4

* 2.3:
  [HttpFoundation] removed test file not related to 2.3
  [HttpKernel] fixed CS
  Add tests for RequestStack class
Revert "[HttpFoundation] removed test file not related to 2.3"

This reverts commit 60ed3880d70b3051ba6b6de30c2b7737ad3ea46e.
Merge branch '2.4'

* 2.4:
  Revert "[HttpFoundation] removed test file not related to 2.3"
  [HttpFoundation] removed test file not related to 2.3
  [HttpKernel] fixed CS
  Add tests for RequestStack class
minor #10366 [FrameworkBundle] set a default value for gc_probability (fabpot)

This PR was merged into the 2.5-dev branch.

Discussion
----------

[FrameworkBundle] set a default value for gc_probability

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

This sets the `gc_probability` to 1 by default (which is the default value in PHP). That should help mitigate #10349.

Commits
-------

7e1bdd7 [FrameworkBundle] set a default value for gc_probability
[Component][Serializer] Add fluent interface to GetSetMethodNormalizer