@@ -64,7 +64,7 @@ class BundleEntryReaderTest extends TestCase
6464
6565 protected function setUp (): void
6666 {
67- $ this ->readerImpl = $ this ->getMockBuilder (' Symfony\Component\Intl\Data\Bundle\Reader\BundleEntryReaderInterface ' )->getMock ();
67+ $ this ->readerImpl = $ this ->getMockBuilder (\ Symfony \Component \Intl \Data \Bundle \Reader \BundleEntryReaderInterface::class )->getMock ();
6868 $ this ->reader = new BundleEntryReader ($ this ->readerImpl );
6969 }
7070
@@ -103,7 +103,7 @@ public function testReadExistingEntry()
103103
104104 public function testReadNonExistingEntry ()
105105 {
106- $ this ->expectException (' Symfony\Component\Intl\Exception\MissingResourceException ' );
106+ $ this ->expectException (\ Symfony \Component \Intl \Exception \MissingResourceException::class );
107107 $ this ->readerImpl ->expects ($ this ->once ())
108108 ->method ('read ' )
109109 ->with (self ::RES_DIR , 'root ' )
@@ -127,7 +127,7 @@ public function testFallbackIfEntryDoesNotExist()
127127
128128 public function testDontFallbackIfEntryDoesNotExistAndFallbackDisabled ()
129129 {
130- $ this ->expectException (' Symfony\Component\Intl\Exception\MissingResourceException ' );
130+ $ this ->expectException (\ Symfony \Component \Intl \Exception \MissingResourceException::class );
131131 $ this ->readerImpl ->expects ($ this ->once ())
132132 ->method ('read ' )
133133 ->with (self ::RES_DIR , 'en_GB ' )
@@ -154,7 +154,7 @@ public function testFallbackIfLocaleDoesNotExist()
154154
155155 public function testDontFallbackIfLocaleDoesNotExistAndFallbackDisabled ()
156156 {
157- $ this ->expectException (' Symfony\Component\Intl\Exception\MissingResourceException ' );
157+ $ this ->expectException (\ Symfony \Component \Intl \Exception \MissingResourceException::class );
158158 $ this ->readerImpl ->expects ($ this ->once ())
159159 ->method ('read ' )
160160 ->with (self ::RES_DIR , 'en_GB ' )
@@ -279,7 +279,7 @@ public function testMergeExistingEntryWithNonExistingFallbackEntry($childData, $
279279
280280 public function testFailIfEntryFoundNeitherInParentNorChild ()
281281 {
282- $ this ->expectException (' Symfony\Component\Intl\Exception\MissingResourceException ' );
282+ $ this ->expectException (\ Symfony \Component \Intl \Exception \MissingResourceException::class );
283283 $ this ->readerImpl
284284 ->method ('read ' )
285285 ->withConsecutive (
0 commit comments