Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
Commit3cea8e7
committed
bug#45631 [HttpFoundation] Fix PHP 8.1 deprecation in
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 isNotModifiedResponse::isNotModified (HypeMC)File tree
2 files changed
+15
-2
lines changed- src/Symfony/Component/HttpFoundation
- Tests
2 files changed
+15
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1079 | 1079 | | |
1080 | 1080 | | |
1081 | 1081 | | |
1082 | | - | |
1083 | | - | |
| 1082 | + | |
1084 | 1083 | | |
1085 | 1084 | | |
1086 | 1085 | | |
| |||
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
287 | 301 | | |
288 | 302 | | |
289 | 303 | | |
| |||
0 commit comments
Comments
(0)