Passed
Push — master ( 6ce3c5...504e18 )
by John
14:34 queued 13s
created
apps/files_sharing/lib/Migration/OwncloudGuestShareType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
 
70 70
 		$query = $this->connection->getQueryBuilder();
71 71
 		$query->update('share')
72
-			->set('share_type',  $query->createNamedParameter(IShare::TYPE_GUEST))
72
+			->set('share_type', $query->createNamedParameter(IShare::TYPE_GUEST))
73 73
 			->where($query->expr()->eq('share_type', $query->createNamedParameter(IShare::TYPE_EMAIL)));
74 74
 		$query->execute();
75 75
 	}
Please login to merge, or discard this patch.
core/Command/Integrity/SignApp.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
 			$documentationUrl = $this->urlGenerator->linkToDocs('developer-code-integrity');
82 82
 			$output->writeln('This command requires the --path, --privateKey and --certificate.');
83 83
 			$output->writeln('Example: ./occ integrity:sign-app --path="/Users/lukasreschke/Programming/myapp/" --privateKey="/Users/lukasreschke/private/myapp.key" --certificate="/Users/lukasreschke/public/mycert.crt"');
84
-			$output->writeln('For more information please consult the documentation: '. $documentationUrl);
84
+			$output->writeln('For more information please consult the documentation: '.$documentationUrl);
85 85
 			return 1;
86 86
 		}
87 87
 
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
 			$this->checker->writeAppSignature($path, $x509, $rsa);
108 108
 			$output->writeln('Successfully signed "'.$path.'"');
109 109
 		} catch (\Exception $e) {
110
-			$output->writeln('Error: ' . $e->getMessage());
110
+			$output->writeln('Error: '.$e->getMessage());
111 111
 			return 1;
112 112
 		}
113 113
 		return 0;
Please login to merge, or discard this patch.
core/Command/Db/Migrations/StatusCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,10 +62,10 @@
 block discarded – undo
62 62
 			if (is_array($value)) {
63 63
 				$output->writeln("    <comment>>></comment> $key:");
64 64
 				foreach ($value as $subKey => $subValue) {
65
-					$output->writeln("        <comment>>></comment> $subKey: " . str_repeat(' ', 46 - strlen($subKey)) . $subValue);
65
+					$output->writeln("        <comment>>></comment> $subKey: ".str_repeat(' ', 46 - strlen($subKey)).$subValue);
66 66
 				}
67 67
 			} else {
68
-				$output->writeln("    <comment>>></comment> $key: " . str_repeat(' ', 50 - strlen($key)) . $value);
68
+				$output->writeln("    <comment>>></comment> $key: ".str_repeat(' ', 50 - strlen($key)).$value);
69 69
 			}
70 70
 		}
71 71
 		return 0;
Please login to merge, or discard this patch.
core/Command/User/LastSeen.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -65,13 +65,13 @@
 block discarded – undo
65 65
 
66 66
 		$lastLogin = $user->getLastLogin();
67 67
 		if ($lastLogin === 0) {
68
-			$output->writeln('User ' . $user->getUID() .
68
+			$output->writeln('User '.$user->getUID().
69 69
 				' has never logged in, yet.');
70 70
 		} else {
71 71
 			$date = new \DateTime();
72 72
 			$date->setTimestamp($lastLogin);
73
-			$output->writeln($user->getUID() .
74
-				'`s last login: ' . $date->format('d.m.Y H:i'));
73
+			$output->writeln($user->getUID().
74
+				'`s last login: '.$date->format('d.m.Y H:i'));
75 75
 		}
76 76
 		return 0;
77 77
 	}
Please login to merge, or discard this patch.
core/Command/Security/ListCertificates.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
 	protected function execute(InputInterface $input, OutputInterface $output): int {
54 54
 		$outputType = $input->getOption('output');
55 55
 		if ($outputType === self::OUTPUT_FORMAT_JSON || $outputType === self::OUTPUT_FORMAT_JSON_PRETTY) {
56
-			$certificates = array_map(function (ICertificate $certificate) {
56
+			$certificates = array_map(function(ICertificate $certificate) {
57 57
 				return [
58 58
 					'name' => $certificate->getName(),
59 59
 					'common_name' => $certificate->getCommonName(),
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
 				'Issued By'
80 80
 			]);
81 81
 
82
-			$rows = array_map(function (ICertificate $certificate) {
82
+			$rows = array_map(function(ICertificate $certificate) {
83 83
 				return [
84 84
 					$certificate->getName(),
85 85
 					$certificate->getCommonName(),
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.