Skip to content

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

Open
Mary-Clb wants to merge 1 commit into
mainfrom
fix-rector-issue
Open

FIX / (Rector) cast $value to string in preg_match_all call#1209
Mary-Clb wants to merge 1 commit into
mainfrom
fix-rector-issue

Conversation

@Mary-Clb
Copy link
Copy Markdown

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

  • 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
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.

2 participants