You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug #45631 [HttpFoundation] Fix PHP 8.1 deprecation in Response::isNotModified (HypeMC)
This PR was merged into the 4.4 branch.
Discussion
----------
[HttpFoundation] Fix PHP 8.1 deprecation in `Response::isNotModified`
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | -
| License | MIT
| Doc PR | -
If an `If-None-Match` header is provided in the request and there's no `ETag` header in the response, the following deprecation notice occurs on PHP 8.1 in `Response::isNotModified`:
```
Deprecated: strncmp(): Passing null to parameter #1 ($string1) of type string is deprecated
```
Commits
-------
b909acf [HttpFoundation] Fix PHP 8.1 deprecation in isNotModified
0 commit comments