[wp-trac] [WordPress Trac] #57972: PHP Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-includes/Requests/Utility/CaseInsensitiveDictionary.php

WordPress Trac noreply at wordpress.org
Thu Mar 23 02:21:16 UTC 2023


#57972: PHP Deprecated:  Return type of
Requests_Utility_CaseInsensitiveDictionary::getIterator() should either be
compatible with IteratorAggregate::getIterator(): Traversable, or the
#[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /wp-includes/Requests/Utility/CaseInsensitiveDictionary.php
--------------------------+------------------------
 Reporter:  codelyfe      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |     Version:
 Severity:  normal        |  Resolution:  duplicate
 Keywords:                |     Focuses:
--------------------------+------------------------
Changes (by costdev):

 * status:  new => closed
 * resolution:   => duplicate
 * milestone:  Awaiting Review =>


Comment:

 Hi @codelyfe, welcome to Trac and thanks for opening this ticket!

 This has been resolved as part of the upgrade of Requests (#54504)
 included in WordPress 6.2.

 I'll close this ticket as a duplicate of #54504. Thanks a lot for this
 report! Hope you'll join in testing
 [https://wordpress.org/news/2023/03/wordpress-6-2-release-candidate-3/
 WordPress 6.2 RC3] and, after March 28th, WordPress 6.2!

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57972#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list