Failed Conditions
Pull Request — experimental/3.1 (#2620)
by
unknown
46:47
created
src/Eccube/Service/ComposerProcessService.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
     /**
47 47
      * This function to install a plugin by composer require
48 48
      *
49
-     * @param $packageName
49
+     * @param string $packageName
50 50
      * @param array $arrDependency
51 51
      * @return bool
52 52
      */
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,11 +59,11 @@
 block discarded – undo
59 59
         $packageNames = '';
60 60
         if (!empty($arrDependency)) {
61 61
             foreach ($arrDependency as $item) {
62
-                $packageNames .= ' ' . self::$vendorName . '/' . $item['product_code'];
62
+                $packageNames .= ' '.self::$vendorName.'/'.$item['product_code'];
63 63
             }
64 64
         }
65 65
 
66
-        $packageNames .= ' ' . self::$vendorName . '/' . $packageName;
66
+        $packageNames .= ' '.self::$vendorName.'/'.$packageName;
67 67
         $command = $this->getPHP().' '.$this->composerFile.' require '.$packageNames;
68 68
         $command .= ' --prefer-dist --no-progress --no-suggest --no-scripts --ignore-platform-reqs --profile --no-ansi --no-interaction -d ';
69 69
         $command .= $this->appConfig['root_dir'].' 2>&1';
Please login to merge, or discard this patch.
src/Eccube/Controller/Admin/Store/OwnerStoreController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
                         $i++;
153 153
                     }
154 154
                 } else {
155
-                    $message = $data['error_code'] . ' : ' . $data['error_message'];
155
+                    $message = $data['error_code'].' : '.$data['error_message'];
156 156
                 }
157 157
             } else {
158 158
                 $success = 0;
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
         }
258 258
 
259 259
         $arrDependency = array();
260
-        if($data && !empty($data['item'])){
260
+        if ($data && !empty($data['item'])) {
261 261
             $items = $data['item'];
262 262
             $plugin = $this->pluginService->buildInfo($items, $pluginCode);
263 263
             $arrDependency[] = $plugin;
Please login to merge, or discard this patch.