Skip to content

ClassStatementsGatherer blindly collects all 2-element arrays into methodCalls, causing UnusedPrivateMethodRule to evaluate isCallable() and trigger class reflection for data arrays - #6759

Open
alfredbez wants to merge 1 commit into
phpstan:2.3.xfrom
alfredbez:fix/unused-private-method-gatherer-callable-array

fix: restrict ClassStatementsGatherer to candidate callable arrays

21c42f6
Select commit
Loading
Failed to load commit list.
Sign in for the full log view

Annotations

1 notice
Download data
succeeded Oct 17, 2026 in 39s