@@ -142,9 +142,9 @@ |
||
| 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 | } |
@@ -162,7 +162,7 @@ |
||
| 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 |