[Routing] add unit tests for Symfony\Component\Routing\RequestContext class
[HttpFoundation] fixed PHP warnings
bug #9917 [HttpFoundation] fixed PHP warnings (fabpot)

This PR was merged into the 2.5-dev branch.

Discussion
----------

[HttpFoundation] fixed PHP warnings

Commits
-------

cf71e22 [HttpFoundation] fixed PHP warnings
minor #9916 [Routing] add unit tests for Symfony\Component\Routing\RequestContext class (FlorianLB)

This PR was merged into the 2.3 branch.

Discussion
----------

[Routing] add unit tests for Symfony\Component\Routing\RequestContext class

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

ATM, this class don't have its own unit tests. This PR fill this gap with a full coverage.

Commits
-------

c4aaa38 [Routing] add unit tests for Symfony\Component\Routing\RequestContext class
Prepend Child Bundle paths before the parent
bug #9112 Prepend Child Bundle paths before the parent (trsteel88)

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

Discussion
----------

Prepend Child Bundle paths before the parent

This fixes #9085

Say you have AcmeDemoBundle and AppDemoBundle. AcmeDemoBundle is the parent of AppDemoBundle.

If you load templates using @AcmeDemoBundle/ControllerDir/template.html.twig it means that you cannot override the template in AppDemoBundle. The patch below prepends the AppDemoBundle Resources directory to the AcmeDemo namespace.

The namespace directories would not result in:

```
[AcmeDemo] => Array(
    [0] => [absolute-dir-here]/src/App/DemoBundle/Resources/views
    [1] => [absolute-dir-here]/app/Resources/AcmeDemoBundle/views
    [2] => [absolute-dir-here]/src/Acme/DemoBundle/Resources/views
)
```

Commits
-------

19fad88 Prepend Child Bundle paths before the parent
removed unneeded use statements
minor #9920 removed unneeded use statements (fabpot)

This PR was merged into the 2.3 branch.

Discussion
----------

removed unneeded use statements

| Q             | A
| ------------- | ---
| License       | MIT

Commits
-------

7f9a366 removed unneeded use statements
Merge branch '2.3' into 2.4

* 2.3:
  removed unneeded use statements
  Prepend Child Bundle paths before the parent
  [Routing] add unit tests for Symfony\Component\Routing\RequestContext class

Conflicts:
	src/Symfony/Component/Form/Extension/Csrf/CsrfExtension.php
	src/Symfony/Component/HttpKernel/DataCollector/TimeDataCollector.php
	src/Symfony/Component/Validator/ConstraintValidatorFactory.php
[DoctrineBridge] Fixed an issue with DoctrineParserCache
removed unneeded use statements
bug #9923 [DoctrineBridge] Fixed an issue with DoctrineParserCache (florianv)

This PR was merged into the 2.4 branch.

Discussion
----------

[DoctrineBridge] Fixed an issue with DoctrineParserCache

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

The `DoctrineParserCache` returns `false` when there is no entry (https://github.com/doctrine/cache/blob/master/lib/Doctrine/Common/Cache/Cache.php#L52).
But the `ExpressionLanguage` class expects `null` to be returned by the `ParserCacheInterface`, which causes the expressions to not be parsed when using a `DoctrineParserCache`.

Commits
-------

16728f7 [DoctrineBridge] Fixed an issue with DoctrineParserCache
minor #9921 removed unneeded use statements (fabpot)

This PR was merged into the 2.4 branch.

Discussion
----------

removed unneeded use statements

Commits
-------

fd45c83 removed unneeded use statements
Merge branch '2.4'

* 2.4:
  removed unneeded use statements
  [DoctrineBridge] Fixed an issue with DoctrineParserCache
  removed unneeded use statements
  Prepend Child Bundle paths before the parent
  [Routing] add unit tests for Symfony\Component\Routing\RequestContext class
removed unneeded use statements
[Finder] Added GLOB_BRACE support in Finder::in() method
[Finder] Added a test case for the GLOB_BRACE in Finder:in().
[Finder] Included GLOB_BRACE support in the CHANGELOG.
Revert "bug #9112 Prepend Child Bundle paths before the parent (trsteel88)"

This reverts commit cfa99a96ddccb0be75945e6c0d57e4461fd1bf62, reversing
changes made to f8965b6499726d0dae711b94f726375812d2fa34.
Merge branch '2.3' into 2.4

* 2.3:
  Revert "bug #9112 Prepend Child Bundle paths before the parent (trsteel88)"