aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests/Command/ListCommandTest.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-08-11 21:32:18 +0200
committerMorris Jobke <hey@morrisjobke.de>2020-08-12 13:55:19 +0200
commit234b510652d117bb3ef9ef3b6315db3a2c2eb91b (patch)
tree880cec2bf4fe4846eff9fa5aa68d2671fb0495be /apps/files_external/tests/Command/ListCommandTest.php
parent138f47a1b980aaceb116b256b8ccf14f523e7e67 (diff)
downloadnextcloud-server-234b510652d117bb3ef9ef3b6315db3a2c2eb91b.tar.gz
nextcloud-server-234b510652d117bb3ef9ef3b6315db3a2c2eb91b.zip
Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/files_external/tests/Command/ListCommandTest.php')
-rw-r--r--apps/files_external/tests/Command/ListCommandTest.php11
1 files changed, 5 insertions, 6 deletions
diff --git a/apps/files_external/tests/Command/ListCommandTest.php b/apps/files_external/tests/Command/ListCommandTest.php
index 15631301648..c46470021d4 100644
--- a/apps/files_external/tests/Command/ListCommandTest.php
+++ b/apps/files_external/tests/Command/ListCommandTest.php
@@ -40,21 +40,20 @@ use OCP\ISession;
use OCP\IUserManager;
use OCP\IUserSession;
use OCP\Security\ICrypto;
-use PHPUnit_Framework_MockObject_MockObject;
use Symfony\Component\Console\Output\BufferedOutput;
class ListCommandTest extends CommandTest {
/**
- * @return ListCommand|PHPUnit_Framework_MockObject_MockObject
+ * @return ListCommand|\PHPUnit\Framework\MockObject\MockObject
*/
private function getInstance() {
- /** @var GlobalStoragesService|PHPUnit_Framework_MockObject_MockObject $globalService */
+ /** @var GlobalStoragesService|\PHPUnit\Framework\MockObject\MockObject $globalService */
$globalService = $this->createMock(GlobalStoragesService::class);
- /** @var UserStoragesService|PHPUnit_Framework_MockObject_MockObject $userService */
+ /** @var UserStoragesService|\PHPUnit\Framework\MockObject\MockObject $userService */
$userService = $this->createMock(UserStoragesService::class);
- /** @var IUserManager|PHPUnit_Framework_MockObject_MockObject $userManager */
+ /** @var IUserManager|\PHPUnit\Framework\MockObject\MockObject $userManager */
$userManager = $this->createMock(IUserManager::class);
- /** @var IUserSession|PHPUnit_Framework_MockObject_MockObject $userSession */
+ /** @var IUserSession|\PHPUnit\Framework\MockObject\MockObject $userSession */
$userSession = $this->createMock(IUserSession::class);
return new ListCommand($globalService, $userService, $userSession, $userManager);