bug #42380 [HttpFoundation] Don't pass null to strpos() (derrabus)
bug #42380 [HttpFoundation] Don't pass null to strpos() (derrabus)

This PR was merged into the 5.3 branch.

Discussion
----------

[HttpFoundation] Don't pass null to strpos()

| Q             | A
| ------------- | ---
| Branch?       | 5.3
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | #41552
| License       | MIT
| Doc PR        | N/A

Passing `null` to `strpos()` triggers a deprecation warning in PHP 8.1. Let's not do that.

Commits
-------

bf9dca3f17 Don't pass null to strpos()

Tobion/symfony,mpdude/symfony,HeahDude/symfony,ro0NL/symfony,sgehrig/symfony,damienalexandre/symfony,phramz/symfony,d-ph/symfony,damienalexandre/symfony,tucksaun/symfony,d-ph/symfony,derrabus/symfony,stof/symfony,d-ph/symfony,phramz/symfony,derrabus/symfony,oleg-andreyev/symfony,mpdude/symfony,hhamon/symfony,hhamon/symfony,phramz/symfony,HeahDude/symfony,derrabus/symfony,hhamon/symfony,ro0NL/symfony,paradajozsef/symfony,tucksaun/symfony,curry684/symfony,sgehrig/symfony,ogizanagi/symfony,stof/symfony,Tobion/symfony,Tobion/symfony,nicolas-grekas/symfony,tucksaun/symfony,xabbuh/symfony,curry684/symfony,xabbuh/symfony,oleg-andreyev/symfony,tucksaun/symfony,d-ph/symfony,stof/symfony,xabbuh/symfony,symfony/symfony,ogizanagi/symfony,sgehrig/symfony,ogizanagi/symfony,nicolas-grekas/symfony,hhamon/symfony,paradajozsef/symfony,symfony/symfony,mpdude/symfony,stof/symfony,curry684/symfony,paradajozsef/symfony,HeahDude/symfony,damienalexandre/symfony,Tobion/symfony,ro0NL/symfony,nicolas-grekas/symfony,paradajozsef/symfony,derrabus/symfony,curry684/symfony,xabbuh/symfony,sgehrig/symfony,ro0NL/symfony,symfony/symfony,mpdude/symfony,nicolas-grekas/symfony,symfony/symfony,oleg-andreyev/symfony,HeahDude/symfony,damienalexandre/symfony,oleg-andreyev/symfony,ogizanagi/symfony,phramz/symfony