[Form][2.3] Fixes empty file-inputs getting treated as extra field.
bug #10251 [Form][2.3] Fixes empty file-inputs getting treated as extra field. (jenkoian)

This PR was squashed before being merged into the 2.3 branch (closes #10251).

Discussion
----------

[Form][2.3] Fixes empty file-inputs getting treated as extra field.

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #8575 (https://github.com/symfony/symfony/pull/8575#issuecomment-34867485)
| License       | MIT

Re-applies 968fe23 (PR #8575).

The test for this already exists, it was just this line that got overwritten by https://github.com/symfony/symfony/commit/eb9f76d5bad120c1d4b3b30c2d8c73bb9d5928e8#diff-ca5e25b47f3ecc94cd557946aeb486c6L542

To clarify, this is a PR into 2.3 branch - this already exists in 2.4 (and later from this PR: https://github.com/symfony/symfony/pull/9146)

Commits
-------

8d99d75 [Form][2.3] Fixes empty file-inputs getting treated as extra field.
Merge branch '2.3' into 2.4

* 2.3:
  [Form][2.3] Fixes empty file-inputs getting treated as extra field.
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
[HttpKernel] fixed CS
[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
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.
Fix gitignore
minor #10377 [HttpKernel] Fix gitignore (florianv)

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

Discussion
----------

[HttpKernel] Fix gitignore

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

The kernel rootDir is Fixtures:

https://github.com/symfony/symfony/blob/master/src/Symfony/Component/HttpKernel/Tests/KernelTest.php#L787-L789

https://github.com/symfony/symfony/blob/master/src/Symfony/Component/HttpKernel/Tests/KernelTest.php#L800-L802

Commits
-------

9980ba2 [HttpKernel] Fix gitignore