@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | try { |
84 | 84 | $this->manager->getAppPath($singleAppId); |
85 | 85 | } catch (\OCP\App\AppPathNotFoundException $e) { |
86 | - $output->writeln($singleAppId . ' not installed'); |
|
86 | + $output->writeln($singleAppId.' not installed'); |
|
87 | 87 | return 1; |
88 | 88 | } |
89 | 89 | |
@@ -98,22 +98,22 @@ discard block |
||
98 | 98 | foreach ($apps as $appId) { |
99 | 99 | $newVersion = $this->installer->isUpdateAvailable($appId); |
100 | 100 | if ($newVersion) { |
101 | - $output->writeln($appId . ' new version available: ' . $newVersion); |
|
101 | + $output->writeln($appId.' new version available: '.$newVersion); |
|
102 | 102 | |
103 | 103 | if (!$input->getOption('showonly')) { |
104 | 104 | try { |
105 | 105 | $result = $this->installer->updateAppstoreApp($appId); |
106 | - } catch(\Exception $e) { |
|
107 | - $this->logger->logException($e, ['message' => 'Failure during update of app "' . $appId . '"','app' => 'app:update']); |
|
108 | - $output->writeln('Error: ' . $e->getMessage()); |
|
106 | + } catch (\Exception $e) { |
|
107 | + $this->logger->logException($e, ['message' => 'Failure during update of app "'.$appId.'"', 'app' => 'app:update']); |
|
108 | + $output->writeln('Error: '.$e->getMessage()); |
|
109 | 109 | $return = 1; |
110 | 110 | } |
111 | 111 | |
112 | 112 | if ($result === false) { |
113 | - $output->writeln($appId . ' couldn\'t be updated'); |
|
113 | + $output->writeln($appId.' couldn\'t be updated'); |
|
114 | 114 | $return = 1; |
115 | - } else if($result === true) { |
|
116 | - $output->writeln($appId . ' updated'); |
|
115 | + } else if ($result === true) { |
|
116 | + $output->writeln($appId.' updated'); |
|
117 | 117 | } |
118 | 118 | } |
119 | 119 | } |