Passed
Pull Request — master (#48)
by
unknown
03:31
created
src/Composer/Commands/PatchCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
         $repository = $composer->getRepositoryManager()->getLocalRepository();
158 158
         
159 159
         $result = $runtimeUtils->executeWithPostAction(
160
-            function () use ($shouldUndo, $filters, $bootstrap, $isDevMode) {
160
+            function() use ($shouldUndo, $filters, $bootstrap, $isDevMode) {
161 161
                 if ($shouldUndo && !array_filter($filters)) {
162 162
                     $bootstrap->stripPatches($isDevMode);
163 163
                     
@@ -166,13 +166,13 @@  discard block
 block discarded – undo
166 166
 
167 167
                 return $bootstrap->applyPatches($isDevMode);
168 168
             },
169
-            function () use ($repository, $lockSanitizer) {
169
+            function() use ($repository, $lockSanitizer) {
170 170
                 $repository->write();
171 171
                 $lockSanitizer->sanitize();
172 172
             }
173 173
         );
174 174
 
175
-        if(!$input->getOption('no-scripts')) {
175
+        if (!$input->getOption('no-scripts')) {
176 176
             $composer->getEventDispatcher()->dispatchScript(ScriptEvents::POST_INSTALL_CMD, $isDevMode);
177 177
         }
178 178
 
Please login to merge, or discard this patch.