Skip to content

Instantly share code, notes, and snippets.

@aleduca
Created September 19, 2023 10:58
Show Gist options
  • Save aleduca/42a77ec39551720e44da40946771a530 to your computer and use it in GitHub Desktop.
Save aleduca/42a77ec39551720e44da40946771a530 to your computer and use it in GitHub Desktop.
<?php
namespace PHPSTORM_META;
override(
\PHPUnit\Framework\TestCase::createMock(0),
map(['' => "@&\PHPUnit\Framework\MockObject\MockObject"])
);
override(
\PHPUnit\Framework\TestCase::createStub(0),
map(['' => "@&\PHPUnit\Framework\MockObject\Stub"])
);
override(
\PHPUnit\Framework\TestCase::createConfiguredMock(0),
map(['' => "@&\PHPUnit\Framework\MockObject\MockObject"])
);
override(
\PHPUnit\Framework\TestCase::createPartialMock(0),
map(['' => "@&\PHPUnit\Framework\MockObject\MockObject"])
);
override(
\PHPUnit\Framework\TestCase::createTestProxy(0),
map(['' => "@&\PHPUnit\Framework\MockObject\MockObject"])
);
override(
\PHPUnit\Framework\TestCase::getMockForAbstractClass(0),
map(['' => "@&\PHPUnit\Framework\MockObject\MockObject"])
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment