Passed
Push — master ( 88f8a7...bae9ea )
by Sebastian
12:36
created
src/Diff/Change.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
122 122
         if (!preg_match('#^[\-|\+]{1}([0-9]+),([0-9]+) [\-\+]{1}([0-9]+),([0-9]+)$#', $ranges, $matches)) {
123 123
             throw new \RuntimeException('invalid ranges: ' . $ranges);
124 124
         }
125
-        $this->pre  = ['from' => (int)$matches[1], 'to' => (int)$matches[2]];
126
-        $this->post = ['from' => (int)$matches[3], 'to' => (int)$matches[4]];
125
+        $this->pre  = ['from' => (int) $matches[1], 'to' => (int) $matches[2]];
126
+        $this->post = ['from' => (int) $matches[3], 'to' => (int) $matches[4]];
127 127
     }
128 128
 }
Please login to merge, or discard this patch.
src/Command/Diff/Compare/FullDiffList.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
     private function isHeaderSimilarityLine(string $line): bool
195 195
     {
196 196
         $matches = [];
197
-        return (bool)preg_match('#^(similarity|dissimilarity) index [0-9]+%$#', $line, $matches);
197
+        return (bool) preg_match('#^(similarity|dissimilarity) index [0-9]+%$#', $line, $matches);
198 198
     }
199 199
 
200 200
     /**
@@ -248,7 +248,7 @@  discard block
 block discarded – undo
248 248
     private function isHeaderFormatLine(string $line): bool
249 249
     {
250 250
         $matches = [];
251
-        return (bool)preg_match('#^[\-\+]{3} [a|b|c|i|w|o]?/.*#', $line, $matches);
251
+        return (bool) preg_match('#^[\-\+]{3} [a|b|c|i|w|o]?/.*#', $line, $matches);
252 252
     }
253 253
 
254 254
     /**
Please login to merge, or discard this patch.
src/Command/Config/Get.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,6 +48,6 @@
 block discarded – undo
48 48
      */
49 49
     protected function getGitCommand(): string
50 50
     {
51
-        return 'config --get ' .  escapeshellarg($this->name);
51
+        return 'config --get ' . escapeshellarg($this->name);
52 52
     }
53 53
 }
Please login to merge, or discard this patch.
src/Command/Log/Commits.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@
 block discarded – undo
28 28
     protected function getGitCommand(): string
29 29
     {
30 30
         return 'log --pretty=format:' .  escapeshellarg($this->format)
31
-               . $this->abbrev
32
-               . $this->author
33
-               . $this->merges
34
-               . $this->since;
31
+                . $this->abbrev
32
+                . $this->author
33
+                . $this->merges
34
+                . $this->since;
35 35
     }
36 36
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      */
28 28
     protected function getGitCommand(): string
29 29
     {
30
-        return 'log --pretty=format:' .  escapeshellarg($this->format)
30
+        return 'log --pretty=format:' . escapeshellarg($this->format)
31 31
                . $this->abbrev
32 32
                . $this->author
33 33
                . $this->merges
Please login to merge, or discard this patch.
src/Command/Log/Commits/Xml.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
                             '<author><![CDATA[%an]]></author>%n' .
34 34
                             '<subject><![CDATA[%s]]></subject>%n' .
35 35
                             '<body><![CDATA[%n%b%n]]></body>%n' .
36
-                          '</commit>';
36
+                            '</commit>';
37 37
 
38 38
     /**
39 39
      * Parse log output into list of Commit objects
Please login to merge, or discard this patch.
src/Command/Log/Log.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
     public function byRevision(string $from, string $to = ''): Log
111 111
     {
112 112
         $this->since = ' ' . escapeshellarg($from) . '..'
113
-                     . (empty($to) ? '' : escapeshellarg($to));
113
+                        . (empty($to) ? '' : escapeshellarg($to));
114 114
         return $this;
115 115
     }
116 116
 
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
     public function byDate(string $from, string $to = ''): Log
137 137
     {
138 138
         $this->since = ' --after=' . escapeshellarg($from)
139
-                     . (empty($to) ? '' : ' --before=' . escapeshellarg($to));
139
+                        . (empty($to) ? '' : ' --before=' . escapeshellarg($to));
140 140
         return $this;
141 141
     }
142 142
 }
Please login to merge, or discard this patch.
src/Command/Base.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -47,9 +47,9 @@
 block discarded – undo
47 47
     public function getCommand(): string
48 48
     {
49 49
         $command = 'git'
50
-                 . $this->getRootOption()
51
-                 . ' '
52
-                 . $this->getGitCommand();
50
+                    . $this->getRootOption()
51
+                    . ' '
52
+                    . $this->getGitCommand();
53 53
         return $command;
54 54
     }
55 55
 
Please login to merge, or discard this patch.