Results 1104 comments of Anders Jenbo

Sure, will try and get around to it some time this week.

Oh, I forgot all about this one. I'll try come up with a same that show the issue.

No fair you guys merged another fix for this just a month later, and the didn't even trace down what the cause was :joy: https://github.com/phpmd/phpmd/pull/818

Ok, I added a test, removed the "be quiet" fix, and made this one more explicit as to what it is doing. Hope that makes it good enough to merge...

Without `PHP < 5.6` it will fail because `isVeriadic()` is only available from PHP 5.6. I chose to use `||` in case someone is trying to analyze PHP 5.6 code...

If this feature is important to you, you could also hire a freelancer to work on it

Another related pattern is initializing a class while providing spies for it's constructor arguments. Possibly with an option to provide an associative array with concrete values: ```php class A {}...

Here's a simple example of @Noughtnaut's suggestion: Before: ```php class MyTests extends TestCase { /** @var MockInterface & stdClass */ private $obj1; /** @var MockInterface & stdClass */ private $obj2;...

@noughtnaut's suggestion can be solved with the following base test class: ```php

@Geolim4 are you asking when the issue will be resolved (unknown) or are you offering to work on it?