[wp-trac] [WordPress Trac] #56009: Prepare for PHP 8.2
WordPress Trac
noreply at wordpress.org
Mon Jun 20 11:33:09 UTC 2022
#56009: Prepare for PHP 8.2
----------------------------+---------------------
Reporter: jrf | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 6.1
Component: General | Version:
Severity: normal | Resolution:
Keywords: php82 | Focuses:
----------------------------+---------------------
Comment (by jrf):
Replying to [comment:4 johnbillion]:
> Yeah I understand those tools won't be updated to sniff the new syntaxes
for a while yet, I just meant we need to be sure they run on PHP 8.2
without issue.
I understand what you are saying, but as sniffs are designed to give the
same results ''independently of the PHP version on which they are run'',
it isn't relevant for ensuring PHP 8.2 compatibility for WordPress.
I mean, even if you run PHPCompatibility on PHP 5.4, it will still flag
the same PHP 8.2 incompatibilities as when you run PHPCompatibility on PHP
8.2.
Those tools currently run on PHP 7.4 and it is not ''necessary'' to update
that version. Might be a nice to have, but not a necessity. I.e. not
essential.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56009#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list