Passed
Push — master ( b2075d...4ac4f4 )
by Joas
28:52 queued 14:19
created
core/Command/Group/Delete.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -58,18 +58,18 @@
 block discarded – undo
58 58
 	protected function execute(InputInterface $input, OutputInterface $output): int {
59 59
 		$gid = $input->getArgument('groupid');
60 60
 		if ($gid === 'admin') {
61
-			$output->writeln('<error>Group "' . $gid . '" could not be deleted.</error>');
61
+			$output->writeln('<error>Group "'.$gid.'" could not be deleted.</error>');
62 62
 			return 1;
63 63
 		}
64
-		if (! $this->groupManager->groupExists($gid)) {
65
-			$output->writeln('<error>Group "' . $gid . '" does not exist.</error>');
64
+		if (!$this->groupManager->groupExists($gid)) {
65
+			$output->writeln('<error>Group "'.$gid.'" does not exist.</error>');
66 66
 			return 1;
67 67
 		}
68 68
 		$group = $this->groupManager->get($gid);
69 69
 		if ($group->delete()) {
70
-			$output->writeln('Group "' . $gid . '" was removed');
70
+			$output->writeln('Group "'.$gid.'" was removed');
71 71
 		} else {
72
-			$output->writeln('<error>Group "' . $gid . '" could not be deleted. Please check the logs.</error>');
72
+			$output->writeln('<error>Group "'.$gid.'" could not be deleted. Please check the logs.</error>');
73 73
 			return 1;
74 74
 		}
75 75
 		return 0;
Please login to merge, or discard this patch.
core/Command/Encryption/Enable.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,10 +73,10 @@
 block discarded – undo
73 73
 				$output->writeln('<error>No default module is set</error>');
74 74
 				return 1;
75 75
 			} elseif (!isset($modules[$defaultModule])) {
76
-				$output->writeln('<error>The current default module does not exist: ' . $defaultModule . '</error>');
76
+				$output->writeln('<error>The current default module does not exist: '.$defaultModule.'</error>');
77 77
 				return 1;
78 78
 			} else {
79
-				$output->writeln('Default module: ' . $defaultModule);
79
+				$output->writeln('Default module: '.$defaultModule);
80 80
 			}
81 81
 		}
82 82
 		return 0;
Please login to merge, or discard this patch.
core/Command/Encryption/SetDefaultModule.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -76,11 +76,11 @@
 block discarded – undo
76 76
 		$moduleId = $input->getArgument('module');
77 77
 
78 78
 		if ($moduleId === $this->encryptionManager->getDefaultEncryptionModuleId()) {
79
-			$output->writeln('"' . $moduleId . '"" is already the default module');
79
+			$output->writeln('"'.$moduleId.'"" is already the default module');
80 80
 		} elseif ($this->encryptionManager->setDefaultEncryptionModule($moduleId)) {
81
-			$output->writeln('<info>Set default module to "' . $moduleId . '"</info>');
81
+			$output->writeln('<info>Set default module to "'.$moduleId.'"</info>');
82 82
 		} else {
83
-			$output->writeln('<error>The specified module "' . $moduleId . '" does not exist</error>');
83
+			$output->writeln('<error>The specified module "'.$moduleId.'" does not exist</error>');
84 84
 			return 1;
85 85
 		}
86 86
 		return 0;
Please login to merge, or discard this patch.
core/Command/Check.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
 	protected function execute(InputInterface $input, OutputInterface $output): int {
54 54
 		$errors = \OC_Util::checkServer($this->config);
55 55
 		if (!empty($errors)) {
56
-			$errors = array_map(function ($item) {
56
+			$errors = array_map(function($item) {
57 57
 				return (string) $item['error'];
58 58
 			}, $errors);
59 59
 
Please login to merge, or discard this patch.
apps/encryption/lib/Command/RecoverUser.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,13 +84,13 @@
 block discarded – undo
84 84
 		$uid = $input->getArgument('user');
85 85
 		$userExists = $this->userManager->userExists($uid);
86 86
 		if ($userExists === false) {
87
-			$output->writeln('User "' . $uid . '" unknown.');
87
+			$output->writeln('User "'.$uid.'" unknown.');
88 88
 			return 1;
89 89
 		}
90 90
 
91 91
 		$recoveryKeyEnabled = $this->util->isRecoveryEnabledForUser($uid);
92 92
 		if ($recoveryKeyEnabled === false) {
93
-			$output->writeln('Recovery key is not enabled for: ' . $uid);
93
+			$output->writeln('Recovery key is not enabled for: '.$uid);
94 94
 			return 1;
95 95
 		}
96 96
 
Please login to merge, or discard this patch.
apps/user_ldap/lib/Command/CreateEmptyConfig.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
 		if (!$input->getOption('only-print-prefix')) {
68 68
 			$prose = 'Created new configuration with configID ';
69 69
 		}
70
-		$output->writeln($prose . "{$configPrefix}");
70
+		$output->writeln($prose."{$configPrefix}");
71 71
 		return 0;
72 72
 	}
73 73
 }
Please login to merge, or discard this patch.
apps/federation/lib/Command/SyncFederationAddressBooks.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,9 +59,9 @@
 block discarded – undo
59 59
 	protected function execute(InputInterface $input, OutputInterface $output): int {
60 60
 		$progress = new ProgressBar($output);
61 61
 		$progress->start();
62
-		$this->syncService->syncThemAll(function ($url, $ex) use ($progress, $output) {
62
+		$this->syncService->syncThemAll(function($url, $ex) use ($progress, $output) {
63 63
 			if ($ex instanceof \Exception) {
64
-				$output->writeln("Error while syncing $url : " . $ex->getMessage());
64
+				$output->writeln("Error while syncing $url : ".$ex->getMessage());
65 65
 			} else {
66 66
 				$progress->advance();
67 67
 			}
Please login to merge, or discard this patch.
core/Command/Db/ConvertFilecacheBigInt.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
 					$column->setType(Type::getType(Types::BIGINT));
94 94
 					$column->setOptions(['length' => 20]);
95 95
 
96
-					$updates[] = '* ' . $tableName . '.' . $columnName;
96
+					$updates[] = '* '.$tableName.'.'.$columnName;
97 97
 				}
98 98
 			}
99 99
 		}
Please login to merge, or discard this patch.
apps/dav/lib/Migration/Version1005Date20180413093149.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
 		if (!$schema->hasTable('directlink')) {
48 48
 			$table = $schema->createTable('directlink');
49 49
 
50
-			$table->addColumn('id',Types::BIGINT, [
50
+			$table->addColumn('id', Types::BIGINT, [
51 51
 				'autoincrement' => true,
52 52
 				'notnull' => true,
53 53
 				'length' => 11,
Please login to merge, or discard this patch.