Opened 4 years ago
Closed 4 years ago
#57184 closed defect (bug) (duplicate)
PHP 8.1 Warnings
| Reported by: | hasanuzzamanshamim | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | HTTP API | Version: | 6.1.1 |
| Severity: | normal | Keywords: | php8 |
| Cc: | Focuses: |
Description
On PHP 8.1, the "offsetExists" function throws warnings to type hints or suggests adding a flag.
Deprecated: Return type of Requests_Cookie_Jar::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Volumes/Projects/payform/wp-includes/Requests/Cookie/Jar.php on line 63
Attachments (1)
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
We're currently tracking this issue in #54504, so I'm going to close this issue as a duplicate to keep the discussion all in one place.