Failed Conditions
Pull Request — experimental/3.1 (#2627)
by
unknown
52:58
created
src/Eccube/Controller/Admin/Store/OwnerStoreController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
         $packageNames = '';
258 258
         if (!empty($arrDependency)) {
259 259
             foreach ($arrDependency as $item) {
260
-                $packageNames .= ' ' . self::$vendorName . '/' . $item['product_code'];
260
+                $packageNames .= ' '.self::$vendorName.'/'.$item['product_code'];
261 261
             }
262 262
         }
263 263
 
@@ -313,8 +313,8 @@  discard block
 block discarded – undo
313 313
                 $dependName = $DependPlugin->getName();
314 314
             }
315 315
 
316
-            $message = '以下のプラグインは、' . $pluginCode . 'プラグインに依存しているため削除することができません。';
317
-            $message .= '先に' . $dependName . 'プラグインを削除してください。';
316
+            $message = '以下のプラグインは、'.$pluginCode.'プラグインに依存しているため削除することができません。';
317
+            $message .= '先に'.$dependName.'プラグインを削除してください。';
318 318
             $app->addError($message, 'admin');
319 319
 
320 320
             return $app->redirect($app->url('admin_store_plugin'));
Please login to merge, or discard this patch.
src/Eccube/Service/PluginService.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
     {
146 146
         // Proxyのクラスをロードせずにスキーマを更新するために、
147 147
         // インストール時には一時的なディレクトリにProxyを生成する
148
-        $tmpProxyOutputDir = sys_get_temp_dir() . '/proxy_' . Str::random(12);
148
+        $tmpProxyOutputDir = sys_get_temp_dir().'/proxy_'.Str::random(12);
149 149
         @mkdir($tmpProxyOutputDir);
150 150
 
151 151
         try {
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
             if (!empty($config_cache)) {
212 212
                 $meta = $config_cache;
213 213
             } else {
214
-                $meta = $this->readYml($dir . '/config.yml');
214
+                $meta = $this->readYml($dir.'/config.yml');
215 215
             }
216 216
         } catch (\Symfony\Component\Yaml\Exception\ParseException $e) {
217 217
             throw new PluginException($e->getMessage(), $e->getCode(), $e);
@@ -730,8 +730,8 @@  discard block
 block discarded – undo
730 730
         $plugins = $this->pluginRepository->matching($criteria);
731 731
         $dependents = [];
732 732
         foreach ($plugins as $plugin) {
733
-            $dir = $this->appConfig['plugin_realdir'] . '/' . $plugin->getCode();
734
-            $fileName = $dir . '/composer.json';
733
+            $dir = $this->appConfig['plugin_realdir'].'/'.$plugin->getCode();
734
+            $fileName = $dir.'/composer.json';
735 735
             if (!file_exists($fileName)) {
736 736
                 continue;
737 737
             }
@@ -741,7 +741,7 @@  discard block
 block discarded – undo
741 741
                 if (!isset($json['require'])) {
742 742
                     continue;
743 743
                 }
744
-                if (array_key_exists(self::VENDOR_NAME . '/' . $pluginCode, $json['require'])) {
744
+                if (array_key_exists(self::VENDOR_NAME.'/'.$pluginCode, $json['require'])) {
745 745
                     $dependents[] = $plugin->getCode();
746 746
                 }
747 747
             }
Please login to merge, or discard this patch.