[wp-trac] [WordPress Trac] #50913: PHP 8.0: various compatibility fixes

WordPress Trac noreply at wordpress.org
Tue Aug 11 22:45:29 UTC 2020


#50913: PHP 8.0: various compatibility fixes
------------------------------+--------------------
 Reporter:  jrf               |      Owner:  (none)
     Type:  task (blessed)    |     Status:  new
 Priority:  normal            |  Milestone:  5.6
Component:  General           |    Version:
 Severity:  normal            |   Keywords:  php8
  Focuses:  coding-standards  |
------------------------------+--------------------
 Once [50902] has been merged, a start can be made to apply fixes to WP
 core to fix the test failures on PHP 8.0.

 Rather than opening a new ticket for every single patch, I'm proposing to
 use this ticket as an "epic", allowing a variety of small patches each
 fixing a specific failure to be added to and committed against this
 ticket.

 For patches addressing all instances of failures related to one specific
 PHP 8.0 change across the codebase, separate tickets should still be
 opened.

 For an example of issues/patches with separate tickets, see:
 * [https://core.trac.wordpress.org/ticket/50343 PHP 8: Fix deprecation
 notices for optional function parameters declared before required
 parameter]
 * [https://core.trac.wordpress.org/ticket/50833 PHP 8: GD resources are
 GdImage object instances]
 * [https://core.trac.wordpress.org/ticket/50897 PHP 8: fix final private
 methods]

 When opening a separate ticket, please tag it with the `php8` keyword, so
 these can be easily found using this report:
 https://core.trac.wordpress.org/query?keywords=~php8

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


More information about the wp-trac mailing list