PHPCSStandards / composer-installer

Composer installer for PHP_CodeSniffer coding standards
https://packagist.org/packages/dealerdirect/phpcodesniffer-composer-installer
MIT License
549 stars 36 forks source link

Drop support for 5.3 #145

Closed Potherca closed 2 years ago

Potherca commented 2 years ago

Based on the usage statistics from Packagist and supported versions from PHP_CS we no longer need to support 5.3.

Support can be dropped before we label a stable 1.0 version

jrfnl commented 2 years ago

I'm all for it. 👍🏻

PHPCS 3.x has been out for over four years now (May 2017) and dropped support for PHP 5.3 as well, so I would think most external standards will be using PHPCS 3.x by now and for those who still use PHPCS 2.x, PHP 5.4 would be the new minimum for the plugin and is fully supported on PHPCS 2.x.

It will also simplify a number of things for getting the tests up and running.

The PHP usage stats for this plugin can be found here: https://packagist.org/packages/dealerdirect/phpcodesniffer-composer-installer/php-stats

And this is the status per today: image

The PHPCS version usage stats can be seen here: https://packagist.org/packages/squizlabs/php_codesniffer/stats

With this showing that PHPCS 2.x usage is down to ~2% of all PHPCS installs over the last year or so: image