Created
July 1, 2016 11:36
-
-
Save mnapoli/34118e57c251dda947248c90eec92a37 to your computer and use it in GitHub Desktop.
PHPUnit autocompletion with PhpStorm's latest EAP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace PHPSTORM_META { | |
$STATIC_METHOD_TYPES = [ | |
\PHPUnit_Framework_TestCase::createMock('') => [ | |
"" == "@|PHPUnit_Framework_MockObject_MockObject", | |
], | |
\PHPUnit_Framework_TestCase::getMock('') => [ | |
"" == "@|PHPUnit_Framework_MockObject_MockObject", | |
], | |
]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
$logger
is now correctly recognized as a mock object and an instance ofLoggerInterface
.