mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-10 00:56:12 +01:00
[CLEANUP] Polish the PhpStorm meta file (#317)
This commit is contained in:
parent
abca8f73fc
commit
cb7cdc3dcd
1 changed files with 31 additions and 15 deletions
|
@ -1,36 +1,52 @@
|
||||||
<?php
|
<?php
|
||||||
/** @see https://www.jetbrains.com/help/phpstorm/ide-advanced-metadata.html */
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @see https://www.jetbrains.com/help/phpstorm/ide-advanced-metadata.html
|
||||||
|
*/
|
||||||
namespace PHPSTORM_META {
|
namespace PHPSTORM_META {
|
||||||
|
|
||||||
override(\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(0), type(0));
|
override(\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(0), type(0));
|
||||||
|
|
||||||
// TYPO3 testing framework
|
// TYPO3 testing framework
|
||||||
// The accesible mock will be of type "self" as well as "MockObject" and "AccessibleObjectInterface"
|
// The accesible mock will be of type `self` as well as `MockObject` and `AccessibleObjectInterface`.
|
||||||
override(
|
override(
|
||||||
\TYPO3\TestingFramework\Core\BaseTestCase::getAccessibleMock(0),
|
\TYPO3\TestingFramework\Core\BaseTestCase::getAccessibleMock(0),
|
||||||
map([
|
map(
|
||||||
'' => '@|\PHPUnit\Framework\MockObject\MockObject|\TYPO3\TestingFramework\Core\AccessibleObjectInterface',
|
[
|
||||||
])
|
'' => '@|\\PHPUnit\\Framework\\MockObject\\MockObject'
|
||||||
|
. '|\\TYPO3\\TestingFramework\\Core\\AccessibleObjectInterface',
|
||||||
|
]
|
||||||
|
)
|
||||||
);
|
);
|
||||||
override(
|
override(
|
||||||
\TYPO3\TestingFramework\Core\BaseTestCase::getAccessibleMockForAbstractClass(0),
|
\TYPO3\TestingFramework\Core\BaseTestCase::getAccessibleMockForAbstractClass(0),
|
||||||
map([
|
map(
|
||||||
'' => '@|\PHPUnit\Framework\MockObject\MockObject|\TYPO3\TestingFramework\Core\AccessibleObjectInterface',
|
[
|
||||||
])
|
'' => '@|\\PHPUnit\\Framework\\MockObject\\MockObject'
|
||||||
|
. '|\\TYPO3\TestingFramework\\Core\\AccessibleObjectInterface',
|
||||||
|
]
|
||||||
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
// Nimut testing framework
|
// Nimut testing framework
|
||||||
// The accesible mock will be of type "self" as well as "MockObject" and "AccessibleMockObjectInterface"
|
// The accesible mock will be of type `self` as well as `MockObject` and `AccessibleMockObjectInterface`.
|
||||||
override(
|
override(
|
||||||
\Nimut\TestingFramework\TestCase\AbstractTestCase::getAccessibleMock(0),
|
\Nimut\TestingFramework\TestCase\AbstractTestCase::getAccessibleMock(0),
|
||||||
map([
|
map(
|
||||||
'' => '@|\PHPUnit\Framework\MockObject\MockObject|\Nimut\TestingFramework\MockObject\AccessibleMockObjectInterface',
|
[
|
||||||
])
|
'' => '@|\\PHPUnit\\Framework\\MockObject\\MockObject'
|
||||||
|
. '|\\Nimut\\TestingFramework\\MockObject\\AccessibleMockObjectInterface',
|
||||||
|
]
|
||||||
|
)
|
||||||
);
|
);
|
||||||
override(
|
override(
|
||||||
\Nimut\TestingFramework\TestCase\AbstractTestCase::getAccessibleMockForAbstractClass(0),
|
\Nimut\TestingFramework\TestCase\AbstractTestCase::getAccessibleMockForAbstractClass(0),
|
||||||
map([
|
map(
|
||||||
'' => '@|\PHPUnit\Framework\MockObject\MockObject|\Nimut\TestingFramework\MockObject\AccessibleMockObjectInterface',
|
[
|
||||||
])
|
'' => '@|\\PHPUnit\\Framework\\MockObject\\MockObject'
|
||||||
|
. '|\\Nimut\TestingFramework\\MockObject\\AccessibleMockObjectInterface',
|
||||||
|
]
|
||||||
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue