Passed
Push — master ( c391e8...b9907d )
by John
15:18 queued 11s
created
core/Command/App/Install.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
 		$forceEnable = (bool) $input->getOption('force');
65 65
 
66 66
 		if (\OC_App::getAppPath($appId)) {
67
-			$output->writeln($appId . ' already installed');
67
+			$output->writeln($appId.' already installed');
68 68
 			return 1;
69 69
 		}
70 70
 
@@ -74,22 +74,22 @@  discard block
 block discarded – undo
74 74
 			$installer->downloadApp($appId);
75 75
 			$result = $installer->installApp($appId, $forceEnable);
76 76
 		} catch (\Exception $e) {
77
-			$output->writeln('Error: ' . $e->getMessage());
77
+			$output->writeln('Error: '.$e->getMessage());
78 78
 			return 1;
79 79
 		}
80 80
 
81 81
 		if ($result === false) {
82
-			$output->writeln($appId . ' couldn\'t be installed');
82
+			$output->writeln($appId.' couldn\'t be installed');
83 83
 			return 1;
84 84
 		}
85 85
 
86 86
 		$appVersion = \OC_App::getAppVersion($appId);
87
-		$output->writeln($appId . ' ' . $appVersion . ' installed');
87
+		$output->writeln($appId.' '.$appVersion.' installed');
88 88
 
89 89
 		if (!$input->getOption('keep-disabled')) {
90 90
 			$appClass = new \OC_App();
91 91
 			$appClass->enable($appId);
92
-			$output->writeln($appId . ' enabled');
92
+			$output->writeln($appId.' enabled');
93 93
 		}
94 94
 
95 95
 		return 0;
Please login to merge, or discard this patch.