Passed
Pull Request — master (#58)
by James
03:55
created
src/Git/GitCheckoutRevisionToTemporaryPath.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
 
21 21
     public function __construct(?callable $uniquenessFunction = null)
22 22
     {
23
-        $this->uniquenessFunction = $uniquenessFunction ?? function (string $nonUniqueThing) : string {
23
+        $this->uniquenessFunction = $uniquenessFunction ?? function(string $nonUniqueThing) : string {
24 24
                 return uniqid($nonUniqueThing, true);
25 25
         };
26 26
     }
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     private function generateTemporaryPathFor(Revision $revision) : string
55 55
     {
56 56
         $uniquePathGenerator = $this->uniquenessFunction;
57
-        $checkoutDirectory   = sys_get_temp_dir() . '/api-compare-' . $uniquePathGenerator((string) $revision . '_');
57
+        $checkoutDirectory   = sys_get_temp_dir().'/api-compare-'.$uniquePathGenerator((string) $revision.'_');
58 58
 
59 59
         if (file_exists($checkoutDirectory) || is_dir($checkoutDirectory)) {
60 60
             throw new RuntimeException(sprintf(
Please login to merge, or discard this patch.