Passed
Push — master ( 724be3...506a08 )
by
unknown
03:41
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/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/Plugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -107,10 +107,10 @@
 block discarded – undo
107 107
         $bootstrap = $this->bootstrap;
108 108
 
109 109
         $result = $runtimeUtils->executeWithPostAction(
110
-            function () use ($bootstrap, $event) {
110
+            function() use ($bootstrap, $event) {
111 111
                 return $bootstrap->applyPatches($event->isDevMode());
112 112
             },
113
-            function () use ($event, $lockSanitizer, $compExecutor) {
113
+            function() use ($event, $lockSanitizer, $compExecutor) {
114 114
                 $repository = $event->getComposer()->getRepositoryManager()->getLocalRepository();
115 115
                 $installationManager = $event->getComposer()->getInstallationManager();
116 116
                 $compExecutor->repositoryWrite($repository, $installationManager, $event->isDevMode());
Please login to merge, or discard this patch.
src/Console/OutputAnalyser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 {
10 10
     public function scanOutputForFailures($output, $separatorMatcher, array $failureMessages)
11 11
     {
12
-        $patternsWithResults = array_filter($failureMessages, function ($pattern) use ($output) {
12
+        $patternsWithResults = array_filter($failureMessages, function($pattern) use ($output) {
13 13
             return $pattern && preg_match($pattern, $output);
14 14
         });
15 15
 
Please login to merge, or discard this patch.
src/Patch/DefinitionList/LoaderComponents/ConstraintsComponent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
     {
51 51
         $rootPackages = array_filter(
52 52
             $packagesByName,
53
-            function ($package) {
53
+            function($package) {
54 54
                 return $package instanceof \Composer\Package\RootPackageInterface;
55 55
             }
56 56
         );
Please login to merge, or discard this patch.
modules/proxy-plugin/src/Plugin.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
 
34 34
     public function resolveAutoloadFilePath(\Composer\Composer $composer)
35 35
     {
36
-       /**
36
+        /**
37 37
          * When running through the initial installation, make sure that installing the proxy
38 38
          * command (to get the patch commands) does not result in crashing the whole
39 39
          * installation process.
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@
 block discarded – undo
114 114
 
115 115
     private function composePath()
116 116
     {
117
-        $pathSegments = array_map(function ($item) {
117
+        $pathSegments = array_map(function($item) {
118 118
             return rtrim($item, \DIRECTORY_SEPARATOR);
119 119
         }, func_get_args());
120 120
 
Please login to merge, or discard this patch.
src/Patch/SourceLoaders/PatchesSearch.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -267,7 +267,7 @@
 block discarded – undo
267 267
     private function normalizeDependencies($dependsList)
268 268
     {
269 269
         $dependsNormalized = array_map(
270
-            function ($item) {
270
+            function($item) {
271 271
                 $valueParts = explode(':', $item);
272 272
                 $packageName = trim(array_shift($valueParts) ?? '');
273 273
                 $version = trim(array_shift($valueParts) ?? '') ?: '>=0.0.0';
Please login to merge, or discard this patch.
src/Compatibility/Executor.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -32,9 +32,9 @@  discard block
 block discarded – undo
32 32
         }
33 33
 
34 34
         $resultPromise = $downloader->download($package, $destDir, null, false);
35
-        $resultPromise->then(function ($path) use (&$patchData) {
35
+        $resultPromise->then(function($path) use (&$patchData) {
36 36
             $patchData[PatchDefinition::PATH] = $path;
37
-        }, function (\Exception $exception) use ($source, $errorHandler, &$patchData, &$errors) {
37
+        }, function(\Exception $exception) use ($source, $errorHandler, &$patchData, &$errors) {
38 38
             try {
39 39
                 if (!$exception instanceof \Composer\Downloader\TransportException) {
40 40
                     throw $exception;
@@ -98,13 +98,13 @@  discard block
 block discarded – undo
98 98
 
99 99
         $promise = \React\Promise\all([$uninstallPromise, $downloadPromise]);
100 100
 
101
-        return $promise->then(static function () use ($installationManager, $installOperation, $repository, $package) {
101
+        return $promise->then(static function() use ($installationManager, $installOperation, $repository, $package) {
102 102
             $installPromise = $installationManager->install($repository, $installOperation);
103 103
             if (!$installPromise) {
104 104
                 throw new OperationFailure(sprintf('Install of %s failed', $package->getName()));
105 105
             }
106 106
 
107
-            return $installPromise->then(static function () {
107
+            return $installPromise->then(static function() {
108 108
             });
109 109
         });
110 110
     }
Please login to merge, or discard this patch.