atoum / phpstorm-plugin

Integrate atoum inside PhpStorm
https://plugins.jetbrains.com/plugin/8173?pr=phpStorm
MIT License
23 stars 4 forks source link

Fix warnings over unknown mock classes #43

Open mnapoli opened 8 years ago

mnapoli commented 8 years ago

PhpStorm will create warnings for classes that do not exist, for example:

$mock = new \mock\DateTime();

It would be awesome to be able to:

syrm commented 8 years ago

+1 That would be awesome

agallou commented 8 years ago

This is not currently possible with PhpStorm openapi.

There is an issue on Jetbrain's issue tracker about adding a functionality that will allow us to get rid of the warnings on atoum's mocks : https://youtrack.jetbrains.com/issue/WI-27367#comment=27-1304926

agallou commented 7 years ago

the issue on Youteack has been updated : https://youtrack.jetbrains.com/issue/WI-27367. The next EAP will provide an extension point that could help us resolve this issue.