@@ -251,7 +251,7 @@ discard block |
||
251 | 251 | $packageNames = ''; |
252 | 252 | if (!empty($dependents)) { |
253 | 253 | foreach ($dependents as $item) { |
254 | - $packageNames .= self::$vendorName . '/' . $item['product_code'] . ' '; |
|
254 | + $packageNames .= self::$vendorName.'/'.$item['product_code'].' '; |
|
255 | 255 | $pluginItem = [ |
256 | 256 | "product_code" => $item['product_code'], |
257 | 257 | "version" => $item['version'] |
@@ -259,14 +259,14 @@ discard block |
||
259 | 259 | array_push($dependentModifier, $pluginItem); |
260 | 260 | } |
261 | 261 | } |
262 | - $packageNames .= self::$vendorName . '/' . $pluginCode; |
|
262 | + $packageNames .= self::$vendorName.'/'.$pluginCode; |
|
263 | 263 | $data = array( |
264 | 264 | 'code' => $pluginCode, |
265 | 265 | 'version' => $version, |
266 | 266 | 'core_version' => $eccubeVersion, |
267 | 267 | 'php_version' => phpversion(), |
268 | 268 | 'db_version' => $this->systemService->getDbversion(), |
269 | - 'os' => php_uname('s') . ' ' . php_uname('r') . ' ' . php_uname('v'), |
|
269 | + 'os' => php_uname('s').' '.php_uname('r').' '.php_uname('v'), |
|
270 | 270 | 'host' => $request->getHost(), |
271 | 271 | 'web_server' => $request->server->get("SERVER_SOFTWARE"), |
272 | 272 | 'composer_version' => $this->composerService->composerVersion(), |
@@ -277,7 +277,7 @@ discard block |
||
277 | 277 | try { |
278 | 278 | $this->composerService->execRequire($packageNames); |
279 | 279 | // Do report to package repo |
280 | - $url = $this->appConfig['package_repo_url'] . '/report'; |
|
280 | + $url = $this->appConfig['package_repo_url'].'/report'; |
|
281 | 281 | $this->postRequestApi($url, $data); |
282 | 282 | $app->addSuccess('admin.plugin.install.complete', 'admin'); |
283 | 283 | |
@@ -287,7 +287,7 @@ discard block |
||
287 | 287 | } |
288 | 288 | |
289 | 289 | // Do report to package repo |
290 | - $url = $this->appConfig['package_repo_url'] . '/report/fail'; |
|
290 | + $url = $this->appConfig['package_repo_url'].'/report/fail'; |
|
291 | 291 | $this->postRequestApi($url, $data); |
292 | 292 | $app->addError('admin.plugin.install.fail', 'admin'); |
293 | 293 |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | if ($returnValue) { |
121 | 121 | throw new PluginException($outputString); |
122 | 122 | } |
123 | - log_info(PHP_EOL . $outputString . PHP_EOL); |
|
123 | + log_info(PHP_EOL.$outputString.PHP_EOL); |
|
124 | 124 | } catch (\Exception $exception) { |
125 | 125 | throw new PluginException($exception->getMessage()); |
126 | 126 | } |
@@ -273,7 +273,7 @@ discard block |
||
273 | 273 | public function composerVersion() |
274 | 274 | { |
275 | 275 | $this->init(); |
276 | - $command = $this->pathPHP . ' ' . $this->composerFile . ' -V'; |
|
276 | + $command = $this->pathPHP.' '.$this->composerFile.' -V'; |
|
277 | 277 | return exec($command); |
278 | 278 | } |
279 | 279 |