Skip to content

feat: add StringUtil::removeZeroWidthCharacters - #103

Merged
spawnia merged 1 commit into
masterfrom
remove-zero-width-characters
Nov 9, 2026
Merged

spawnia merged 1 commit into
masterfrom
remove-zero-width-characters

Conversation

@Ralf77

@Ralf77 Ralf77 commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

Text pasted from mails or web pages often carries zero-width characters (U+200B to U+200D, U+FEFF).
Charsets such as Mac Roman cannot encode them, so saving such text fails.
StringUtil::removeZeroWidthCharacters removes them.

🤖 Generated with Claude Code

Removes U+200B to U+200D and U+FEFF, which text pasted from mails or web
pages often carries and which charsets such as Mac Roman cannot encode.

🤖 Generated with Claude Code
@github-code-quality

Copy link
Copy Markdown

Code coverage overview

Languages: PHP

PHP / code-coverage/phpunit

master 2949ba3 remove-zero-width-ch... aced448 +/-
89% 90% +1%
View coverage of the 7 most impacted files.
File master 2949ba3 remove-zero-width-ch... aced448 +/-
StringUtil.php 63% 63% 0%
IlluminaSampleS...ingsSection.php 100% 100% 0%
InterOp/RunResult.php 100% 100% 0%
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.

@Ralf77
Ralf77 marked this pull request as ready for review November 9, 2026 15:22
@Ralf77
Ralf77 requested a review from spawnia November 9, 2026 15:22
@spawnia
spawnia merged commit 1a7f01a into master Nov 9, 2026
30 checks passed
@spawnia
spawnia deleted the remove-zero-width-characters branch November 9, 2026 15:48
github-actions Bot pushed a commit that referenced this pull request Nov 9, 2026
## [7.1.0](v7.0.1...v7.1.0) (2026-11-09)

### Features

* add StringUtil::removeZeroWidthCharacters ([#103](#103)) ([1a7f01a](1a7f01a))
@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 7.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Labels

Development

Successfully merging this pull request may close these issues.

2 participants