[wp-meta] [Making WordPress.org] #3791: Consider bumping pre-commit checker on plugins to PHP 7.X

Making WordPress.org noreply at wordpress.org
Wed Mar 9 09:08:02 UTC 2022


#3791: Consider bumping pre-commit checker on plugins to PHP 7.X
------------------------------+-----------------------
 Reporter:  Ipstenu           |       Owner:  (none)
     Type:  defect            |      Status:  reopened
 Priority:  high              |   Milestone:
Component:  Plugin Directory  |  Resolution:
 Keywords:                    |
------------------------------+-----------------------

Comment (by liedekef):

 The fact that the linting prevents any real php 8 code is preventing a lot
 of up to date libraries to be included. Many libraries have built-in
 checks if they run on php 7 or 8, and svn commit is failing because it
 looks at the codebase, not the logic.
 What is the point of even releasing a post like
 https://make.wordpress.org/core/2020/11/23/wordpress-and-php-8-0/ if no
 plugin can contain php 8 code?

 I do understand the case for wordpress users, but plugin developers are
 getting limited every time a php release is done. Even the readme tag
 "Requires PHP: 8.0" won't be of much use I assume ...

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/3791#comment:41>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list