Passed
Push — types ( 87c6e3...239346 )
by Jonathan
02:34
created
tests/Doctrine/Tests/Persistence/Mapping/DefaultFileLocatorTest.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
 {
15 15
     public function testGetPaths() : void
16 16
     {
17
-        $path = __DIR__ . '/_files';
17
+        $path = __DIR__.'/_files';
18 18
 
19 19
         $locator = new DefaultFileLocator([$path]);
20 20
         self::assertSame([$path], $locator->getPaths());
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 
34 34
     public function testUniquePaths() : void
35 35
     {
36
-        $path = __DIR__ . '/_files';
36
+        $path = __DIR__.'/_files';
37 37
 
38 38
         $locator = new DefaultFileLocator([$path, $path]);
39 39
         self::assertSame([$path], $locator->getPaths());
@@ -41,16 +41,16 @@  discard block
 block discarded – undo
41 41
 
42 42
     public function testFindMappingFile() : void
43 43
     {
44
-        $path = __DIR__ . '/_files';
44
+        $path = __DIR__.'/_files';
45 45
 
46 46
         $locator = new DefaultFileLocator([$path], '.yml');
47 47
 
48
-        self::assertSame(__DIR__ . '/_files' . DIRECTORY_SEPARATOR . 'stdClass.yml', $locator->findMappingFile('stdClass'));
48
+        self::assertSame(__DIR__.'/_files'.DIRECTORY_SEPARATOR.'stdClass.yml', $locator->findMappingFile('stdClass'));
49 49
     }
50 50
 
51 51
     public function testFindMappingFileNotFound() : void
52 52
     {
53
-        $path = __DIR__ . '/_files';
53
+        $path = __DIR__.'/_files';
54 54
 
55 55
         $locator = new DefaultFileLocator([$path], '.yml');
56 56
 
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
 
62 62
     public function testGetAllClassNames() : void
63 63
     {
64
-        $path = __DIR__ . '/_files';
64
+        $path = __DIR__.'/_files';
65 65
 
66 66
         $locator       = new DefaultFileLocator([$path], '.yml');
67 67
         $allClasses    = $locator->getAllClassNames('');
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
 
82 82
     public function testGetAllClassNamesNonMatchingFileExtension() : void
83 83
     {
84
-        $path = __DIR__ . '/_files';
84
+        $path = __DIR__.'/_files';
85 85
 
86 86
         $locator = new DefaultFileLocator([$path], '.xml');
87 87
         self::assertSame([], $locator->getAllClassNames('global'));
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
 
90 90
     public function testFileExists() : void
91 91
     {
92
-        $path = __DIR__ . '/_files';
92
+        $path = __DIR__.'/_files';
93 93
 
94 94
         $locator = new DefaultFileLocator([$path], '.yml');
95 95
 
Please login to merge, or discard this patch.