Skip to content

Dropping support for PHP < 7.2 #2606

@jrfnl

Description

@jrfnl

Setting the scene

WordPressCS currently has a minimum PHP requirement of PHP 5.4 and supports PHP_CodeSniffer 3.x (with a minimum of PHPCS 3.13.0).

PHP_CodeSniffer 3.x has a minimum PHP requirement of PHP 5.4.
PHP_CodeSniffer 4.0 (expected soon) will have a minimum PHP requirement of PHP 7.2.

Also keep in mind, that even though PHPCS 4.x will need PHP 7.2 or higher to run, it will still be able to analyse code which needs to run on older PHP versions.

The proposal

With the above in mind and considering that:

I'm proposing to drop support for PHP < 7.2 in the next minor of WordPressCS.

Any objections ?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions