@@ -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(), |
@@ -278,7 +278,7 @@ discard block |
||
278 | 278 | $return = $this->composerService->execRequire($packageNames); |
279 | 279 | if ($return) { |
280 | 280 | // Do report to package repo |
281 | - $url = $this->appConfig['package_repo_url'] . '/report'; |
|
281 | + $url = $this->appConfig['package_repo_url'].'/report'; |
|
282 | 282 | $this->postRequestApi($url, $data); |
283 | 283 | $app->addSuccess('admin.plugin.install.complete', 'admin'); |
284 | 284 | |
@@ -289,7 +289,7 @@ discard block |
||
289 | 289 | } |
290 | 290 | |
291 | 291 | // Do report to package repo |
292 | - $url = $this->appConfig['package_repo_url'] . '/report/fail'; |
|
292 | + $url = $this->appConfig['package_repo_url'].'/report/fail'; |
|
293 | 293 | $this->postRequestApi($url, $data); |
294 | 294 | $app->addError('admin.plugin.install.fail', 'admin'); |
295 | 295 |
@@ -129,7 +129,7 @@ discard block |
||
129 | 129 | throw new PluginException($outputString); |
130 | 130 | } |
131 | 131 | |
132 | - log_info(PHP_EOL . $outputString . PHP_EOL); |
|
132 | + log_info(PHP_EOL.$outputString.PHP_EOL); |
|
133 | 133 | } catch (\Exception $exception) { |
134 | 134 | throw new PluginException($exception->getMessage()); |
135 | 135 | } |
@@ -283,7 +283,7 @@ discard block |
||
283 | 283 | public function composerVersion() |
284 | 284 | { |
285 | 285 | $this->init(); |
286 | - $command = $this->pathPHP . ' ' . $this->composerFile . ' -V'; |
|
286 | + $command = $this->pathPHP.' '.$this->composerFile.' -V'; |
|
287 | 287 | return exec($command); |
288 | 288 | } |
289 | 289 |