Skip to content

Commit a1e07c5

Browse files
Merge branch '3.4' into 4.3
* 3.4: [Form] Fix inconsistencies Use Phpunit FQDN in tests comments
2 parents 288cc2b + d96d23c commit a1e07c5

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
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\NullAdapter;
@@ -72,7 +73,7 @@ public function testAnnotationsCacheWarmerWithDebugEnabled()
7273
}
7374

7475
/**
75-
* @return \PHPUnit_Framework_MockObject_MockObject|Reader
76+
* @return MockObject|Reader
7677
*/
7778
private function getReadOnlyReader()
7879
{

Tests/Command/CachePoolDeleteCommandTest.php

Lines changed: 2 additions & 1 deletion
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 Psr\Cache\CacheItemPoolInterface;
1516
use Symfony\Bundle\FrameworkBundle\Command\CachePoolDeleteCommand;
1617
use Symfony\Bundle\FrameworkBundle\Console\Application;
@@ -83,7 +84,7 @@ public function testCommandDeleteFailed()
8384
}
8485

8586
/**
86-
* @return \PHPUnit_Framework_MockObject_MockObject|KernelInterface
87+
* @return MockObject|KernelInterface
8788
*/
8889
private function getKernel()
8990
{

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;
@@ -49,7 +50,7 @@ private function getEmptyRewindableGenerator(): RewindableGenerator
4950
}
5051

5152
/**
52-
* @return \PHPUnit_Framework_MockObject_MockObject|KernelInterface
53+
* @return MockObject|KernelInterface
5354
*/
5455
private function getKernel()
5556
{
@@ -75,7 +76,7 @@ private function getKernel()
7576
}
7677

7778
/**
78-
* @return \PHPUnit_Framework_MockObject_MockObject|PruneableInterface
79+
* @return MockObject|PruneableInterface
7980
*/
8081
private function getPruneableInterfaceMock()
8182
{

0 commit comments

Comments
 (0)