Passed
Push — main ( ead171...a2167f )
by Sebastian
03:33
created
src/Hook/Message/Action/InjectIssueKeyFromBranch.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -142,9 +142,9 @@
 block discarded – undo
142 142
 
143 143
         // combine all the parts to create a new commit message
144 144
         $msgText = $msgData[self::TARGET_SUBJECT] . PHP_EOL
145
-                 . PHP_EOL
146
-                 . $msgData[self::TARGET_BODY] . PHP_EOL
147
-                 . $msg->getComments();
145
+                    . PHP_EOL
146
+                    . $msgData[self::TARGET_BODY] . PHP_EOL
147
+                    . $msg->getComments();
148 148
 
149 149
         return new CommitMessage($msgText, $msg->getCommentCharacter());
150 150
     }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@
 block discarded – undo
162 162
     {
163 163
         $issueID = preg_replace_callback(
164 164
             '/\$(\d+)/',
165
-            function ($matches) use ($issueID) {
165
+            function($matches) use ($issueID) {
166 166
                 return $matches[1] === '1' ? $issueID : '';
167 167
             },
168 168
             $pattern
Please login to merge, or discard this patch.