@@ -207,7 +207,7 @@ discard block |
||
| 207 | 207 | |
| 208 | 208 | // 依存プラグインが有効になっていない場合はエラー |
| 209 | 209 | $requires = $this->getPluginRequired($config); |
| 210 | - $notInstalledOrDisabled = array_filter($requires, function($req) { |
|
| 210 | + $notInstalledOrDisabled = array_filter($requires, function ($req) { |
|
| 211 | 211 | $code = preg_replace('/^ec-cube\//', '', $req['name']); |
| 212 | 212 | /** @var Plugin $DependPlugin */ |
| 213 | 213 | $DependPlugin = $this->pluginRepository->findOneBy(['code' => $code]); |
@@ -215,7 +215,7 @@ discard block |
||
| 215 | 215 | }); |
| 216 | 216 | |
| 217 | 217 | if (!empty($notInstalledOrDisabled)) { |
| 218 | - $names = array_map(function($p) { return $p['name']; }, $notInstalledOrDisabled); |
|
| 218 | + $names = array_map(function ($p) { return $p['name']; }, $notInstalledOrDisabled); |
|
| 219 | 219 | throw new PluginException(implode(', ', $names)."を有効化してください。"); |
| 220 | 220 | } |
| 221 | 221 | |
@@ -274,7 +274,7 @@ discard block |
||
| 274 | 274 | { |
| 275 | 275 | if ($plugin->isEnabled()) { |
| 276 | 276 | $generatedFiles = $this->regenerateProxy($plugin, false); |
| 277 | - $this->schemaService->updateSchema($generatedFiles, $this->projectRoot . '/app/proxy/entity'); |
|
| 277 | + $this->schemaService->updateSchema($generatedFiles, $this->projectRoot.'/app/proxy/entity'); |
|
| 278 | 278 | } else { |
| 279 | 279 | // Proxyのクラスをロードせずにスキーマを更新するために、 |
| 280 | 280 | // インストール時には一時的なディレクトリにProxyを生成する |
@@ -726,7 +726,7 @@ discard block |
||
| 726 | 726 | |
| 727 | 727 | $results = []; |
| 728 | 728 | |
| 729 | - $this->composerService->foreachRequires('ec-cube/'.$pluginCode, $pluginVersion, function($package) use(&$results) { |
|
| 729 | + $this->composerService->foreachRequires('ec-cube/'.$pluginCode, $pluginVersion, function ($package) use(&$results) { |
|
| 730 | 730 | $results[] = $package; |
| 731 | 731 | }, 'eccube-plugin'); |
| 732 | 732 | |
@@ -251,7 +251,7 @@ |
||
| 251 | 251 | |
| 252 | 252 | if ($useBufferedOutput) { |
| 253 | 253 | $output = new BufferedOutput(); |
| 254 | - ob_start(function($buffer) use ($output) { |
|
| 254 | + ob_start(function ($buffer) use ($output) { |
|
| 255 | 255 | $output->write($buffer); |
| 256 | 256 | return null; |
| 257 | 257 | }); |