From b5f75850c6901effd4d101b95cb32bd525d8d75f Mon Sep 17 00:00:00 2001 From: jrfnl Date: Thu, 22 Aug 2024 04:26:59 +0200 Subject: [PATCH] Tests/PHPCSVersions: update for latest PHPCS releases Update the list of available PHPCS versions to make sure that tests which need to run against high/low PHPCS or retrieve a random PHPCS version to run against, can also be run against the latest PHPCS versions. Refs: * https://github.com/PHPCSStandards/PHP_CodeSniffer/releases/ --- tests/PHPCSVersions.php | 109 +++++++++++++++++++++------------------- 1 file changed, 56 insertions(+), 53 deletions(-) diff --git a/tests/PHPCSVersions.php b/tests/PHPCSVersions.php index 28438c5..9499de7 100644 --- a/tests/PHPCSVersions.php +++ b/tests/PHPCSVersions.php @@ -39,59 +39,62 @@ final class PHPCSVersions * @var array */ private static $allPhpcsVersions = array( - '2.0.0' => '2.0.0', - '2.1.0' => '2.1.0', - '2.2.0' => '2.2.0', - '2.3.0' => '2.3.0', - '2.3.1' => '2.3.1', - '2.3.2' => '2.3.2', - '2.3.3' => '2.3.3', - '2.3.4' => '2.3.4', - '2.4.0' => '2.4.0', - '2.5.0' => '2.5.0', - '2.5.1' => '2.5.1', - '2.6.0' => '2.6.0', - '2.6.1' => '2.6.1', - '2.6.2' => '2.6.2', - '2.7.0' => '2.7.0', - '2.7.1' => '2.7.1', - '2.8.0' => '2.8.0', - '2.8.1' => '2.8.1', - '2.9.0' => '2.9.0', - '2.9.1' => '2.9.1', - '2.9.2' => '2.9.2', - '3.1.0' => '3.1.0', - '3.1.1' => '3.1.1', - '3.2.0' => '3.2.0', - '3.2.1' => '3.2.1', - '3.2.2' => '3.2.2', - '3.2.3' => '3.2.3', - '3.3.0' => '3.3.0', - '3.3.1' => '3.3.1', - '3.3.2' => '3.3.2', - '3.4.0' => '3.4.0', - '3.4.1' => '3.4.1', - '3.4.2' => '3.4.2', - '3.5.0' => '3.5.0', - '3.5.1' => '3.5.1', - '3.5.2' => '3.5.2', - '3.5.3' => '3.5.3', - '3.5.4' => '3.5.4', - '3.5.5' => '3.5.5', - '3.5.6' => '3.5.6', - '3.5.7' => '3.5.7', - '3.5.8' => '3.5.8', - '3.6.0' => '3.6.0', - '3.6.1' => '3.6.1', - '3.6.2' => '3.6.2', - '3.7.0' => '3.7.0', - '3.7.1' => '3.7.1', - '3.7.2' => '3.7.2', - '3.8.0' => '3.8.0', - '3.8.1' => '3.8.1', - '3.9.0' => '3.9.0', - '3.9.1' => '3.9.1', - '3.9.2' => '3.9.2', + '2.0.0' => '2.0.0', + '2.1.0' => '2.1.0', + '2.2.0' => '2.2.0', + '2.3.0' => '2.3.0', + '2.3.1' => '2.3.1', + '2.3.2' => '2.3.2', + '2.3.3' => '2.3.3', + '2.3.4' => '2.3.4', + '2.4.0' => '2.4.0', + '2.5.0' => '2.5.0', + '2.5.1' => '2.5.1', + '2.6.0' => '2.6.0', + '2.6.1' => '2.6.1', + '2.6.2' => '2.6.2', + '2.7.0' => '2.7.0', + '2.7.1' => '2.7.1', + '2.8.0' => '2.8.0', + '2.8.1' => '2.8.1', + '2.9.0' => '2.9.0', + '2.9.1' => '2.9.1', + '2.9.2' => '2.9.2', + '3.1.0' => '3.1.0', + '3.1.1' => '3.1.1', + '3.2.0' => '3.2.0', + '3.2.1' => '3.2.1', + '3.2.2' => '3.2.2', + '3.2.3' => '3.2.3', + '3.3.0' => '3.3.0', + '3.3.1' => '3.3.1', + '3.3.2' => '3.3.2', + '3.4.0' => '3.4.0', + '3.4.1' => '3.4.1', + '3.4.2' => '3.4.2', + '3.5.0' => '3.5.0', + '3.5.1' => '3.5.1', + '3.5.2' => '3.5.2', + '3.5.3' => '3.5.3', + '3.5.4' => '3.5.4', + '3.5.5' => '3.5.5', + '3.5.6' => '3.5.6', + '3.5.7' => '3.5.7', + '3.5.8' => '3.5.8', + '3.6.0' => '3.6.0', + '3.6.1' => '3.6.1', + '3.6.2' => '3.6.2', + '3.7.0' => '3.7.0', + '3.7.1' => '3.7.1', + '3.7.2' => '3.7.2', + '3.8.0' => '3.8.0', + '3.8.1' => '3.8.1', + '3.9.0' => '3.9.0', + '3.9.1' => '3.9.1', + '3.9.2' => '3.9.2', + '3.10.0' => '3.10.0', + '3.10.1' => '3.10.1', + '3.10.2' => '3.10.2', ); /**