Skip to content

Commit 2bd085a

Browse files
authored
Merge pull request #321 from PHPCSStandards/feature/universal-disallowinlinetabs-update-for-upstream-merge
Universal/DisallowInlineTabs: minor tweak to the tests
2 parents 82c468b + a3ef964 commit 2bd085a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Universal/Tests/WhiteSpace/DisallowInlineTabsUnitTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function getErrorList($testFile = '')
7676
{
7777
// As of PHP 8.3, comments may be tokenized within a "yield from" token, but only for PHPCS < 3.11.0.
7878
$commentsInYieldFrom = false;
79-
if (\PHP_VERSION_ID >= 80300 /*&& \version_compare(Config::VERSION, '3.11.0', '<')*/) {
79+
if (\PHP_VERSION_ID >= 80300 && \version_compare(Config::VERSION, '3.11.0', '<')) {
8080
$commentsInYieldFrom = true;
8181
}
8282

0 commit comments

Comments
 (0)