File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -414,9 +414,19 @@ static function ($version) {
414414 break ;
415415
416416 case '8.5 ' :
417+ $ versions = array_filter (
418+ self ::$ allPhpcsVersions ,
419+ static function ($ version ) {
420+ // PHPCS 3.13.4 is the first PHPCS version with runtime support for PHP 8.5.
421+ return version_compare ($ version , '3.13.4 ' , '>= ' );
422+ }
423+ );
424+ break ;
425+
426+ case '8.6 ' :
417427 /*
418- * At this point in time, it is unclear as of which PHPCS version PHP 8.5 will be supported.
419- * In other words: tests should only use dev-master/ 4.x when on PHP 8.5 for the time being.
428+ * At this point in time, it is unclear as of which PHPCS version PHP 8.6 will be supported.
429+ * In other words: tests should only use 4.x-dev when on PHP 8.6 for the time being.
420430 */
421431 $ versions = array ();
422432 break ;
You can’t perform that action at this time.
0 commit comments