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

WordPress Trac noreply at wordpress.org
Fri Aug 14 17:25:43 UTC 2020


#50913: PHP 8.0: various compatibility fixes
----------------------------+-------------------------------
 Reporter:  jrf             |       Owner:  SergeyBiryukov
     Type:  task (blessed)  |      Status:  reviewing
 Priority:  normal          |   Milestone:  5.6
Component:  General         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  php8 has-patch  |     Focuses:  coding-standards
----------------------------+-------------------------------
Description changed by SergeyBiryukov:

Old description:

> 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

New description:

 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:
 * #50343 PHP 8: Fix deprecation notices for optional function parameters
 declared before required parameter
 * #50833 PHP 8: GD resources are GdImage object instances
 * #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#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list