Skip to content

FIX / (Rector) cast $value to string in preg_match_all call#1209

Merged
stonebuzz merged 1 commit into
mainfrom
fix-rector-issue
Jun 9, 2026
Merged

FIX / (Rector) cast $value to string in preg_match_all call#1209
stonebuzz merged 1 commit into
mainfrom
fix-rector-issue

Conversation

@Mary-Clb

@Mary-Clb Mary-Clb commented Jun 8, 2026

Copy link
Copy Markdown
Contributor
  • I have performed a self-review of my code.
  • I have added tests (when available) that prove my fix is effective or that my feature works.
  • I have updated the CHANGELOG with a short functional description of the fix or new feature.
  • This change requires a documentation update.

Description

  • Rector was flagging a CI error because the preg_match_all argument $value could be of several types, so a (string) cast was added to ensure strict type compliance.

@Mary-Clb Mary-Clb self-assigned this Jun 8, 2026
@stonebuzz stonebuzz merged commit 9c4fea3 into main Jun 9, 2026
1 of 3 checks passed
@stonebuzz stonebuzz deleted the fix-rector-issue branch June 9, 2026 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants