bug #34886 [HttpKernel] fix triggering deprecation in file locator (xabbuh)
bug #34886 [HttpKernel] fix triggering deprecation in file locator (xabbuh)

This PR was merged into the 4.4 branch.

Discussion
----------

[HttpKernel] fix triggering deprecation in file locator

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #34556
| License       | MIT
| Doc PR        |

Commits
-------

142b1793e0 fix triggering deprecation in file locator

symfony/HttpKernel,symfony/http-kernel