Opened 22 months ago
Closed 22 months ago
#57184 closed defect (bug) (duplicate)
PHP 8.1 Warnings
Reported by: | hasanuzzamanshamim | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 6.1.1 |
Component: | HTTP API | Keywords: | php8 |
Focuses: | Cc: |
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.
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.