Repository navigation
fix(stubs): preg_grep() can return false - #14574
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Behaviour change
|
✅ Performance: unchanged · Types: increased
How to read this table
✅ laravel: issues +2 −0Memory 1 749 → 1 749 MB (<0.1 %) · Wall 95.4 → 95.0 s (−0.3 %) Weighted 53 460 → 53 464 (+4, +0.01 %): L2 +2
Added (2)
✅ symfony: issues +8 −1Memory 3 599 → 3 599 MB (<0.1 %) · Wall 179.1 → 180.9 s (+1.0 %) Weighted 98 403 → 98 420 (+17, +0.02 %): L2 +4 · L3 +3
Changed in place (1)
Added (7)
✅ drupal: issues +17 −1Memory 4 842 → 4 842 MB (<0.1 %) · Wall 237.9 → 237.7 s (−0.1 %) Weighted 169 293 → 169 336 (+43, +0.03 %): L1 +3 · L2 +3 · L3 +8 · L5 +2
Added (17)
Removed (1)
head b26ca5a · base 46d8098 (merge-base) · workflow run |
|
Correction to my corpus numbers: they came from my local subsets. On the full projects, the perf report of the current head (b26ca5a) shows the same kinds of issues in larger numbers:
All of them are places that use the result of |
|
Thanks @jirkace! |
Psalm types
preg_grep()as never returningfalse, so the check of its failure value is reported as impossible.Before
After
Fixes #9543