From 1f5cdf293d893aead6ebab142c43af5fb637feff Mon Sep 17 00:00:00 2001 From: Christophe Deliens Date: Wed, 5 Jun 2019 08:48:18 +0200 Subject: [PATCH] fixes missing "use" declaration for the ClockMock so that one can reuse that example out of the box --- components/phpunit_bridge.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/components/phpunit_bridge.rst b/components/phpunit_bridge.rst index ddc47ed9424..a27914a300a 100644 --- a/components/phpunit_bridge.rst +++ b/components/phpunit_bridge.rst @@ -455,6 +455,7 @@ different class, do it explicitly using ``ClockMock::register(MyClass::class)``: use App\MyClass; use PHPUnit\Framework\TestCase; + use Symfony\Bridge\PhpUnit\ClockMock; /** * @group time-sensitive