Skip to content

Commit

Permalink
Merge pull request #321 from PHPCSStandards/feature/universal-disallo…
Browse files Browse the repository at this point in the history
…winlinetabs-update-for-upstream-merge

Universal/DisallowInlineTabs: minor tweak to the tests
  • Loading branch information
jrfnl authored Nov 8, 2024
2 parents 82c468b + a3ef964 commit 2bd085a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Universal/Tests/WhiteSpace/DisallowInlineTabsUnitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function getErrorList($testFile = '')
{
// As of PHP 8.3, comments may be tokenized within a "yield from" token, but only for PHPCS < 3.11.0.
$commentsInYieldFrom = false;
if (\PHP_VERSION_ID >= 80300 /*&& \version_compare(Config::VERSION, '3.11.0', '<')*/) {
if (\PHP_VERSION_ID >= 80300 && \version_compare(Config::VERSION, '3.11.0', '<')) {
$commentsInYieldFrom = true;
}

Expand Down

0 comments on commit 2bd085a

Please sign in to comment.