Closed Danila1985 closed 5 years ago
Sorry for the late response! I'm afraid this is something you should take up with the PHPMD team (https://phpmd.org/). There is also a way to surpress certain warnings or create your own PHPMD rules, see https://phpmd.org/documentation/index.html.
I have false-positive message
Avoid unused local variables such as '$prop'.
in anonymous class placed inside another class or function:function getData($var) { return new class($var) { private $prop;
}