- Issue created by @cmlara
- ๐ฎ๐ณIndia chetan 11
chetan 11 โ made their first commit to this issueโs fork.
-
klausi โ
authored 496c1301 on 8.3.x
fix(UnusedPrivateMethod): Fix case insensitivity og PHP method calls (#...
-
klausi โ
authored 496c1301 on 8.3.x
- Status changed to Fixed
about 1 year ago 7:57am 24 February 2024 - ๐ฆ๐นAustria klausi ๐ฆ๐น Vienna
Thanks for reporting! Found the problem: your method call does not follow the exact upper/lower case spelling of the method. I pushed a fix to ignore case sensitivity, same as PHP does.
- ๐บ๐ธUnited States cmlara
your method call does not follow the exact upper/lower case spelling of the method.
I never noticed that typo.
I wonder if we want (as a followup) to have a sniff for case mismatch? - ๐ฆ๐นAustria klausi ๐ฆ๐น Vienna
Yes, why not! I would assume there is already a sniff out there in another standard (Squiz or Slevomat maybe?) that would check for this.
Automatically closed - issue fixed for 2 weeks with no activity.