Open
Description
PhpStorm will create warnings for classes that do not exist, for example:
$mock = new \mock\DateTime();
It would be awesome to be able to:
- suppress the warning, i.e. make PhpStorm believe the class exists (even better, when Ctrl+Click go to the original class)
- offer auto-completion for the
$mock
object over mock methods + the original class methods (this is for example what this plugin does for PHPUnit: https://github.com/Haehnchen/idea-php-toolbox#screenshots)