Passed
Push — main ( b8fed3...1ab6cd )
by Sebastian
03:25
created
src/Hook/Message/Action/InjectIssueKeyFromBranch.php 1 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.
src/Plugin/Hook/PreserveWorkingTree.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
         $this->io->write('<info>Unstaged intent-to-add files detected.</info>');
121 121
 
122 122
         $this->repository->getIndexOperator()->removeFiles(
123
-            array_map(function (Path $path): string {
123
+            array_map(function(Path $path): string {
124 124
                 return $path->getPath();
125 125
             }, $this->intentToAddFiles),
126 126
             false,
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
         }
142 142
 
143 143
         $this->repository->getIndexOperator()->recordIntentToAddFiles(
144
-            array_map(function (Path $path): string {
144
+            array_map(function(Path $path): string {
145 145
                 return $path->getPath();
146 146
             }, $this->intentToAddFiles)
147 147
         );
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
 
202 202
             // At this point, the working tree should be pristine, so the
203 203
             // patch should cleanly apply.
204
-            $this->applyPatch((string)$this->unstagedPatchFile);
204
+            $this->applyPatch((string) $this->unstagedPatchFile);
205 205
         }
206 206
 
207 207
         $this->io->write("<info>Restored changes from {$this->unstagedPatchFile}.</info>");
Please login to merge, or discard this patch.