Passed
Push — master ( afd02d...b0430a )
by Allan
03:37 queued 10s
created
src/Composer/Commands/PatchCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
         $repository = $composer->getRepositoryManager()->getLocalRepository();
194 194
         
195 195
         $result = $runtimeUtils->executeWithPostAction(
196
-            function () use ($shouldUndo, $filters, $bootstrap, $isDevMode) {
196
+            function() use ($shouldUndo, $filters, $bootstrap, $isDevMode) {
197 197
                 if ($shouldUndo && !array_filter($filters)) {
198 198
                     $bootstrap->stripPatches($isDevMode);
199 199
                     
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
 
203 203
                 return $bootstrap->applyPatches($isDevMode);
204 204
             },
205
-            function () use ($repository, $lockSanitizer) {
205
+            function() use ($repository, $lockSanitizer) {
206 206
                 $repository->write();
207 207
                 $lockSanitizer->sanitize();
208 208
             }
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
@@ -94,10 +94,10 @@
 block discarded – undo
94 94
         $runtimeUtils = new \Vaimo\ComposerPatches\Utils\RuntimeUtils();
95 95
 
96 96
         $result = $runtimeUtils->executeWithPostAction(
97
-            function () use ($bootstrap, $event) {
97
+            function() use ($bootstrap, $event) {
98 98
                 return $bootstrap->applyPatches($event->isDevMode());
99 99
             },
100
-            function () use ($event, $lockSanitizer) {
100
+            function() use ($event, $lockSanitizer) {
101 101
                 $repository = $event->getComposer()->getRepositoryManager()->getLocalRepository();
102 102
 
103 103
                 $repository->write();
Please login to merge, or discard this patch.
src/Utils/PathUtils.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 composePath()
11 11
     {
12
-        $pathSegments = array_map(function ($item) {
12
+        $pathSegments = array_map(function($item) {
13 13
             return rtrim($item, DIRECTORY_SEPARATOR);
14 14
         }, func_get_args());
15 15
 
Please login to merge, or discard this patch.
src/Sources/VendorSource.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
         $allowedVendors = array_fill_keys($this->vendors, true);
37 37
         return array_filter(
38 38
             $packages, 
39
-            function (PackageInterface $package) use ($allowedVendors) {
39
+            function(PackageInterface $package) use ($allowedVendors) {
40 40
                 $vendorName = strtok($package->getName(), ComposerConstants::PACKAGE_SEPARATOR);
41 41
                 
42 42
                 return isset($allowedVendors[$vendorName]);
Please login to merge, or discard this patch.