Commit e8cc53b
Skip NullToStrictStringFuncCallArgRector on CalendarApiFeedType
987ae75 removed the (string) casts around preg_match / preg_replace /
trim in applyModifiersToEvents because they silently turned a
preg_replace null return (PCRE runtime error) into an empty title,
letting an event through with no filter applied. Rector wants the
casts back; applying them re-introduces the silent coercion the
commit specifically set out to remove. Suppressing the rule on this
file alone is the honest answer.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 10882d2 commit e8cc53b
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
31 | 41 | | |
0 commit comments