Passed
Push — master ( de64c9...d5a16d )
by John
16:25 queued 12s
created
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.
apps/dav/lib/Migration/Version1005Date20180530124431.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -46,8 +46,8 @@  discard block
 block discarded – undo
46 46
 
47 47
 		$types = ['resources', 'rooms'];
48 48
 		foreach ($types as $type) {
49
-			if (!$schema->hasTable('calendar_' . $type)) {
50
-				$table = $schema->createTable('calendar_' . $type);
49
+			if (!$schema->hasTable('calendar_'.$type)) {
50
+				$table = $schema->createTable('calendar_'.$type);
51 51
 
52 52
 				$table->addColumn('id', Types::BIGINT, [
53 53
 					'autoincrement' => true,
@@ -77,9 +77,9 @@  discard block
 block discarded – undo
77 77
 				]);
78 78
 
79 79
 				$table->setPrimaryKey(['id']);
80
-				$table->addIndex(['backend_id', 'resource_id'], 'calendar_' . $type . '_bkdrsc');
81
-				$table->addIndex(['email'], 'calendar_' . $type . '_email');
82
-				$table->addIndex(['displayname'], 'calendar_' . $type . '_name');
80
+				$table->addIndex(['backend_id', 'resource_id'], 'calendar_'.$type.'_bkdrsc');
81
+				$table->addIndex(['email'], 'calendar_'.$type.'_email');
82
+				$table->addIndex(['displayname'], 'calendar_'.$type.'_name');
83 83
 			}
84 84
 		}
85 85
 
Please login to merge, or discard this patch.
apps/dav/lib/Migration/Version1011Date20190725113607.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 					'length' => 11,
60 60
 					'unsigned' => true,
61 61
 				]);
62
-				$table->addColumn($type . '_id', Types::BIGINT, [
62
+				$table->addColumn($type.'_id', Types::BIGINT, [
63 63
 					'notnull' => true,
64 64
 					'length' => 11,
65 65
 					'unsigned' => true,
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
 				]);
75 75
 
76 76
 				$table->setPrimaryKey(['id']);
77
-				$table->addIndex([$type . '_id', 'key'], $this->getMetadataTableName($type) . '_idk');
77
+				$table->addIndex([$type.'_id', 'key'], $this->getMetadataTableName($type).'_idk');
78 78
 			}
79 79
 		}
80 80
 
@@ -86,6 +86,6 @@  discard block
 block discarded – undo
86 86
 	 * @return string
87 87
 	 */
88 88
 	private function getMetadataTableName(string $type):string {
89
-		return 'calendar_' . $type . 's_md';
89
+		return 'calendar_'.$type.'s_md';
90 90
 	}
91 91
 }
Please login to merge, or discard this patch.
apps/workflowengine/lib/AppInfo/Application.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,10 +72,10 @@
 block discarded – undo
72 72
 
73 73
 		foreach ($configuredEvents as $operationClass => $events) {
74 74
 			foreach ($events as $entityClass => $eventNames) {
75
-				array_map(function (string $eventName) use ($manager, $container, $dispatcher, $logger, $operationClass, $entityClass) {
75
+				array_map(function(string $eventName) use ($manager, $container, $dispatcher, $logger, $operationClass, $entityClass) {
76 76
 					$dispatcher->addListener(
77 77
 						$eventName,
78
-						function ($event) use ($manager, $container, $eventName, $logger, $operationClass, $entityClass) {
78
+						function($event) use ($manager, $container, $eventName, $logger, $operationClass, $entityClass) {
79 79
 							$ruleMatcher = $manager->getRuleMatcher();
80 80
 							try {
81 81
 								/** @var IEntity $entity */
Please login to merge, or discard this patch.
core/Controller/SearchController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,9 +58,9 @@
 block discarded – undo
58 58
 	public function search(string $query, array $inApps = [], int $page = 1, int $size = 30): JSONResponse {
59 59
 		$results = $this->searcher->searchPaged($query, $inApps, $page, $size);
60 60
 
61
-		$results = array_filter($results, function (Result $result) {
61
+		$results = array_filter($results, function(Result $result) {
62 62
 			if (json_encode($result, JSON_HEX_TAG) === false) {
63
-				$this->logger->warning("Skipping search result due to invalid encoding: {type: " . $result->type . ", id: " . $result->id . "}");
63
+				$this->logger->warning("Skipping search result due to invalid encoding: {type: ".$result->type.", id: ".$result->id."}");
64 64
 				return false;
65 65
 			} else {
66 66
 				return true;
Please login to merge, or discard this patch.