Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / symfony / validator / Tests / Resources / TranslationFilesTest.php
index d2b8a990117219e3a972fa178476f2125848f60c..64b3f78934f1d03d1bfde241e5eb6aa308891cbc 100644 (file)
@@ -33,15 +33,15 @@ class TranslationFilesTest extends TestCase
     {
         return array_map(
             function ($filePath) { return (array) $filePath; },
-            glob(dirname(dirname(__DIR__)).'/Resources/translations/*.xlf')
+            glob(\dirname(\dirname(__DIR__)).'/Resources/translations/*.xlf')
         );
     }
 
     public function testNorwegianAlias()
     {
         $this->assertFileEquals(
-            dirname(dirname(__DIR__)).'/Resources/translations/validators.nb.xlf',
-            dirname(dirname(__DIR__)).'/Resources/translations/validators.no.xlf',
+            \dirname(\dirname(__DIR__)).'/Resources/translations/validators.nb.xlf',
+            \dirname(\dirname(__DIR__)).'/Resources/translations/validators.no.xlf',
             'The NO locale should be an alias for the NB variant of the Norwegian language.'
         );
     }