Passed
Push — master ( 99b058...aba4a6 )
by Allan
07:10 queued 11s
created
src/Composer/Commands/PatchCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
         $installationManager = $composer->getInstallationManager();
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,7 +166,7 @@  discard block
 block discarded – undo
166 166
 
167 167
                 return $bootstrap->applyPatches($isDevMode);
168 168
             },
169
-            function () use ($installationManager, $repository, $lockSanitizer, $isDevMode, $compatExecutor) {
169
+            function() use ($installationManager, $repository, $lockSanitizer, $isDevMode, $compatExecutor) {
170 170
                 $compatExecutor->repositoryWrite($repository, $installationManager, $isDevMode);
171 171
                 $lockSanitizer->sanitize();
172 172
             }
Please login to merge, or discard this patch.
src/Plugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -106,10 +106,10 @@
 block discarded – undo
106 106
         $bootstrap = $this->bootstrap;
107 107
 
108 108
         $result = $runtimeUtils->executeWithPostAction(
109
-            function () use ($bootstrap, $event) {
109
+            function() use ($bootstrap, $event) {
110 110
                 return $bootstrap->applyPatches($event->isDevMode());
111 111
             },
112
-            function () use ($event, $lockSanitizer) {
112
+            function() use ($event, $lockSanitizer) {
113 113
                 $repository = $event->getComposer()->getRepositoryManager()->getLocalRepository();
114 114
 
115 115
                 $repository->write($event->isDevMode(), $event->getComposer()->getInstallationManager());
Please login to merge, or discard this patch.
src/Patch/File/Applier.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
         $failureMessages = $this->extractArrayValue($applierConfig, PluginConfig::PATCHER_FAILURES);
79 79
         $sanityOperations = $this->extractArrayValue($applierConfig, PluginConfig::PATCHER_SANITY);
80 80
 
81
-        $operations = array_filter($operations, function ($item) {
81
+        $operations = array_filter($operations, function($item) {
82 82
             return $item !== false;
83 83
         });
84 84
 
Please login to merge, or discard this patch.
src/Patch/DefinitionList/LoaderComponents/DownloaderComponent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@
 block discarded – undo
110 110
                     $downloader = $this->fileDownloader;
111 111
 
112 112
                     $this->consoleSilencer->applyToCallback(
113
-                        function () use (
113
+                        function() use (
114 114
                             $errorHandler,
115 115
                             $downloader,
116 116
                             $compExecutor,
Please login to merge, or discard this patch.
src/Compatibility/Executor.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,9 +27,9 @@
 block discarded – undo
27 27
         }
28 28
 
29 29
         $resultPromise = $downloader->download($package, $destDir, null, false);
30
-        $resultPromise->then(function ($path) use (&$patchData) {
30
+        $resultPromise->then(function($path) use (&$patchData) {
31 31
             $patchData[PatchDefinition::PATH] = $path;
32
-        }, function (\Exception $exception) use ($source, $errorHandler, &$patchData, &$errors) {
32
+        }, function(\Exception $exception) use ($source, $errorHandler, &$patchData, &$errors) {
33 33
             try {
34 34
                 if (!$exception instanceof \Composer\Downloader\TransportException) {
35 35
                     throw $exception;
Please login to merge, or discard this patch.