PHPCSStandards / PHPCSUtils

A suite of utility functions for use with PHP_CodeSniffer
https://phpcsutils.com/
GNU Lesser General Public License v3.0
53 stars 7 forks source link

Composer: raise the minimum supported PHPCS version to 3.9.0 and remove work-arounds #561

Closed jrfnl closed 6 months ago

jrfnl commented 6 months ago

Composer: raise the minimum supported PHPCS version to 3.9.0

... to benefit from the syntax support for PHP 8.3 which has been added to PHPCS itself.

Includes updating references to the PHPCS version whenever relevant throughout the codebase.

BCFile::getDeclarationName(): defer to upstream

No BC-layer is needed at this time with a minimum supported PHPCS version of PHPCS 3.9.0.

BCFile::getClassProperties(): defer to upstream

No BC-layer is needed at this time with a minimum supported PHPCS version of PHPCS 3.9.0.

IsShortArrayOrList::isShortArrayBracket(): remove BC layer

... which is no longer needed now support for PHPCS < 3.9.0 has been dropped.