-
-
Notifications
You must be signed in to change notification settings - Fork 37
Description
At this time, the plugin is compatible with:
- PHP 5.4+, 7.x, and 8.x (Support for PHP v8 is available since
v0.7.0) - Composer 1.x and 2.x (Support for Composer v2 is available since
v0.7.0) - PHP_CodeSniffer 2.x and 3.x (Support for PHP_CodeSniffer v3 is available since
v0.4.0)
These are very wide ranges and is a compatibility span of more than a decade for most of these.
With this ticket, I'd like to open the discussion for limiting the range of supported versions a little.
Proposal
I would like to propose to drop support for:
- Composer 1.x - done in PR Drop support for Composer v1.xย #230 which will be included in v
1.1.0. - PHP_CodeSniffer 2.x - done in PR Drop support for PHPCS 2.xย #261 which will be included in v
1.2.0. - PHP < 7.2
Planning
I propose that these changes be made once PHP_CodeSniffer 4.0 has been released (which also drops support for PHP < 7.2).
I also propose for these changes to be released as version 1.1.0 of the plugin.
Consequences
As users of this plugin will, by definition, be using Composer, we would not be leaving users behind as Composer will handle the version negotiation and can still install the 1.0.x version if necessary.
Based on the PHP version stats available via Packagist, the PHP version drop would affect 1.5% of the users of this plugin.
While not necessarily a precise representation of the users of this plugin, based on the PHP_CodeSniffer version stats available via Packagist, the PHP_CodeSniffer version drop would affect less than 0.2% of all potential users of this plugin.
Opinions ?