Passed
Pull Request — master (#249)
by Marco
03:26
created
test/unit/Git/GitCheckoutRevisionToTemporaryPathTest.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
                 ->getOutput()
83 83
         );
84 84
 
85
-        file_put_contents($repoPath . '/a-file.txt', 'file contents');
85
+        file_put_contents($repoPath.'/a-file.txt', 'file contents');
86 86
 
87 87
         (new Process(['git', 'add', 'a-file.txt'], $repoPath))
88 88
             ->mustRun();
@@ -102,8 +102,8 @@  discard block
 block discarded – undo
102 102
         $first            = $git->checkout($sourceRepository, $firstCommit);
103 103
         $second           = $git->checkout($sourceRepository, $secondCommit);
104 104
 
105
-        self::assertFileDoesNotExist($first->__toString() . '/a-file.txt');
106
-        self::assertFileExists($second->__toString() . '/a-file.txt');
105
+        self::assertFileDoesNotExist($first->__toString().'/a-file.txt');
106
+        self::assertFileExists($second->__toString().'/a-file.txt');
107 107
 
108 108
         $git->remove($first);
109 109
         $git->remove($second);
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
 
114 114
     public function testExceptionIsThrownWhenTwoPathsCollide() : void
115 115
     {
116
-        $git              = new GitCheckoutRevisionToTemporaryPath(static function () : string {
116
+        $git              = new GitCheckoutRevisionToTemporaryPath(static function() : string {
117 117
             return 'foo';
118 118
         });
119 119
         $sourceRepository = $this->sourceRepository();
@@ -141,6 +141,6 @@  discard block
 block discarded – undo
141 141
 
142 142
     private function sourceRepository() : CheckedOutRepository
143 143
     {
144
-        return CheckedOutRepository::fromPath(realpath(__DIR__ . '/../../..'));
144
+        return CheckedOutRepository::fromPath(realpath(__DIR__.'/../../..'));
145 145
     }
146 146
 }
Please login to merge, or discard this patch.