Skip to content

feat: add StringUtil::replaceLineBreaksWithSpaces - #104

Open
Ralf77 wants to merge 1 commit into
masterfrom
replace-line-breaks-with-spaces
Open

Ralf77 wants to merge 1 commit into
masterfrom
replace-line-breaks-with-spaces

Conversation

@Ralf77

@Ralf77 Ralf77 commented Nov 9, 2026

Copy link
Copy Markdown
Member

Replaces line breaks with spaces and collapses consecutive whitespace into one space, for joining multi-line text into a single line.

🤖 Generated with Claude Code

Replaces line breaks with spaces and collapses consecutive whitespace,
for joining multi-line text into a single line.

🤖 Generated with Claude Code
@Ralf77
Ralf77 requested a review from spawnia November 9, 2026 16:04
@github-code-quality

Copy link
Copy Markdown

Code coverage overview

Languages: PHP

PHP / code-coverage/phpunit

master 2949ba3 replace-line-breaks-... 0e2b0d5 +/-
89% 90% +1%
View coverage of the 7 most impacted files.
File master 2949ba3 replace-line-breaks-... 0e2b0d5 +/-
IlluminaSampleS...ingsSection.php 100% 100% 0%
InterOp/RunResult.php 100% 100% 0%
StringUtil.php 63% 64% +1%
CSVArray.php 90% 96% +6%
PHPStan/Rules/M...ypehintRule.php 0% 88% +88%
PHPStan/Rules/M...ypehintRule.php 0% 100% +100%
PHPStan/Rules/C...ypehintRule.php 0% 100% +100%

ℹ️ Calculations represent line coverage. Results may change as calculations are updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant