[wp-trac] [WordPress Trac] #53635: PHP 8.1: various compatibility fixes

WordPress Trac noreply at wordpress.org
Fri Jul 23 01:15:57 UTC 2021


#53635: PHP 8.1: various compatibility fixes
----------------------------+-------------------------------
 Reporter:  SergeyBiryukov  |       Owner:  (none)
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  5.9
Component:  General         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  php81           |     Focuses:  coding-standards
----------------------------+-------------------------------
Changes (by jrf):

 * Attachment "53635-WP_Hook-iterator-arrayaccess.patch" added.

 Fix various "Deprecated: Return type of WP_Hook::[METHODNAME]() should
 either be compatible with ...., or the #[ReturnTypeWillChange] attribute
 should be used to temporarily suppress the notice"

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53635>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list