Skip to content

Commit d96d23c

Browse files
committed
Use Phpunit FQDN in tests comments
1 parent 48a3fcb commit d96d23c

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Tests/CacheWarmer/AnnotationsCacheWarmerTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
use Doctrine\Common\Annotations\AnnotationReader;
66
use Doctrine\Common\Annotations\CachedReader;
77
use Doctrine\Common\Annotations\Reader;
8+
use PHPUnit\Framework\MockObject\MockObject;
89
use Symfony\Bundle\FrameworkBundle\CacheWarmer\AnnotationsCacheWarmer;
910
use Symfony\Bundle\FrameworkBundle\Tests\TestCase;
1011
use Symfony\Component\Cache\Adapter\ArrayAdapter;
@@ -86,7 +87,7 @@ public function testAnnotationsCacheWarmerWithDebugEnabled()
8687
}
8788

8889
/**
89-
* @return \PHPUnit_Framework_MockObject_MockObject|Reader
90+
* @return MockObject|Reader
9091
*/
9192
private function getReadOnlyReader()
9293
{

Tests/Command/CachePruneCommandTest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
namespace Symfony\Bundle\FrameworkBundle\Tests\Command;
1313

14+
use PHPUnit\Framework\MockObject\MockObject;
1415
use Symfony\Bundle\FrameworkBundle\Command\CachePoolPruneCommand;
1516
use Symfony\Bundle\FrameworkBundle\Console\Application;
1617
use Symfony\Bundle\FrameworkBundle\Tests\TestCase;
@@ -55,7 +56,7 @@ private function getEmptyRewindableGenerator()
5556
}
5657

5758
/**
58-
* @return \PHPUnit_Framework_MockObject_MockObject|KernelInterface
59+
* @return MockObject|KernelInterface
5960
*/
6061
private function getKernel()
6162
{
@@ -81,7 +82,7 @@ private function getKernel()
8182
}
8283

8384
/**
84-
* @return \PHPUnit_Framework_MockObject_MockObject|PruneableInterface
85+
* @return MockObject|PruneableInterface
8586
*/
8687
private function getPruneableInterfaceMock()
8788
{

0 commit comments

Comments
 (0)