-
Notifications
You must be signed in to change notification settings - Fork 79
/
.phpstorm.meta.php
36 lines (33 loc) · 1.46 KB
/
.phpstorm.meta.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
/** @see https://www.jetbrains.com/help/phpstorm/ide-advanced-metadata.html */
namespace PHPSTORM_META {
override(\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(0), type(0));
// TYPO3 testing framework
// The accesible mock will be of type "self" as well as "MockObject" and "AccessibleObjectInterface"
override(
\TYPO3\TestingFramework\Core\BaseTestCase::getAccessibleMock(0),
map([
'' => '@|\PHPUnit\Framework\MockObject\MockObject|\TYPO3\TestingFramework\Core\AccessibleObjectInterface',
])
);
override(
\TYPO3\TestingFramework\Core\BaseTestCase::getAccessibleMockForAbstractClass(0),
map([
'' => '@|\PHPUnit\Framework\MockObject\MockObject|\TYPO3\TestingFramework\Core\AccessibleObjectInterface',
])
);
// Nimut testing framework
// The accesible mock will be of type "self" as well as "MockObject" and "AccessibleMockObjectInterface"
override(
\Nimut\TestingFramework\TestCase\AbstractTestCase::getAccessibleMock(0),
map([
'' => '@|\PHPUnit\Framework\MockObject\MockObject|\Nimut\TestingFramework\MockObject\AccessibleMockObjectInterface',
])
);
override(
\Nimut\TestingFramework\TestCase\AbstractTestCase::getAccessibleMockForAbstractClass(0),
map([
'' => '@|\PHPUnit\Framework\MockObject\MockObject|\Nimut\TestingFramework\MockObject\AccessibleMockObjectInterface',
])
);
}