Skip to content

Conversation

@xabbuh
Copy link
Member

@xabbuh xabbuh commented Sep 26, 2025

@xabbuh
Copy link
Member Author

xabbuh commented Sep 26, 2025

$ofs = ($numMatches + $ofs) % $numMatches;
}
} elseif (\ord($c) < 32) {
} elseif ('' === $c || \ord($c) < 32) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe make it the first elseif?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tests are failing then because the \ord($c) < 32 part would cover some of the earlier branches

@nicolas-grekas
Copy link
Member

Thank you @xabbuh.

@nicolas-grekas nicolas-grekas merged commit 83e91ef into symfony:6.4 Sep 26, 2025
10 of 11 checks passed
@xabbuh xabbuh deleted the php-19440 branch September 26, 2025 15:27
@fabpot fabpot mentioned this pull request Sep 27, 2025
@fabpot fabpot mentioned this pull request Oct 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants