[wp-trac] [WordPress Trac] #50913: PHP 8.0: various compatibility fixes
WordPress Trac
noreply at wordpress.org
Thu Sep 24 14:41: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 needs-dev-note | Focuses: coding-standards
-------------------------------------------+-------------------------------
Comment (by SergeyBiryukov):
Replying to [comment:44 xknown]:
> I'm also going through some issues reported by PHPStan (see
https://github.com/WordPress/wordpress-develop/pull/553), mostly in places
where we are passing the incorrect type to WP core or PHP's built-in
functions.
That looks great, thanks!
> what would be the best way to handle this given the amount of changes
that are required? I'm doing one commit per affected file which will
hopefully make things easier to include it in core.
That works for me :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50913#comment:45>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list