We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ed5e8b5 + a221b2f commit d3e6cd1Copy full SHA for d3e6cd1
Normalizer/GetSetMethodNormalizer.php
@@ -100,6 +100,7 @@ private function isSetMethod(\ReflectionMethod $method): bool
100
return !$method->isStatic()
101
&& !$method->getAttributes(Ignore::class)
102
&& 0 < $method->getNumberOfParameters()
103
+ && 3 < \strlen($method->name)
104
&& str_starts_with($method->name, 'set')
105
&& !ctype_lower($method->name[3])
106
;
0 commit comments