Passed
Push — master ( b794fa...797527 )
by Christoph
82:28 queued 66:03
created
apps/twofactor_backupcodes/lib/Listener/ProviderDisabled.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
 		$providers = $this->registry->getProviderStates($event->getUser());
54 54
 
55 55
 		// Loop over all providers. If all are disabled we remove the job
56
-		$state = array_reduce($providers, function (bool $carry, bool $enabled) {
56
+		$state = array_reduce($providers, function(bool $carry, bool $enabled) {
57 57
 			return $carry || $enabled;
58 58
 		}, false);
59 59
 
Please login to merge, or discard this patch.
lib/private/DB/QueryBuilder/ExpressionBuilder/PgSqlExpressionBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,9 +39,9 @@
 block discarded – undo
39 39
 	public function castColumn($column, $type) {
40 40
 		switch ($type) {
41 41
 			case IQueryBuilder::PARAM_INT:
42
-				return new QueryFunction('CAST(' . $this->helper->quoteColumnName($column) . ' AS INT)');
42
+				return new QueryFunction('CAST('.$this->helper->quoteColumnName($column).' AS INT)');
43 43
 			case IQueryBuilder::PARAM_STR:
44
-				return new QueryFunction('CAST(' . $this->helper->quoteColumnName($column) . ' AS TEXT)');
44
+				return new QueryFunction('CAST('.$this->helper->quoteColumnName($column).' AS TEXT)');
45 45
 			default:
46 46
 				return parent::castColumn($column, $type);
47 47
 		}
Please login to merge, or discard this patch.
lib/private/Collaboration/Resources/Manager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
 			->setFirstResult($start);
145 145
 
146 146
 		if ($filter !== '') {
147
-			$query->where($query->expr()->iLike('c.name', $query->createNamedParameter('%' . $this->connection->escapeLikeParameter($filter) . '%')));
147
+			$query->where($query->expr()->iLike('c.name', $query->createNamedParameter('%'.$this->connection->escapeLikeParameter($filter).'%')));
148 148
 		}
149 149
 
150 150
 		$result = $query->execute();
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
 		while ($row = $result->fetch()) {
155 155
 			$foundResults++;
156 156
 			$access = $row['access'] === null ? null : (bool) $row['access'];
157
-			$collection = new Collection($this, $this->connection, (int)$row['id'], (string)$row['name'], $user, $access);
157
+			$collection = new Collection($this, $this->connection, (int) $row['id'], (string) $row['name'], $user, $access);
158 158
 			if ($collection->canAccess($user)) {
159 159
 				$collections[] = $collection;
160 160
 			}
Please login to merge, or discard this patch.
lib/private/Authentication/Login/CreateSessionTokenCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
 
46 46
 	public function process(LoginData $loginData): LoginResult {
47 47
 		$tokenType = IToken::REMEMBER;
48
-		if ((int)$this->config->getSystemValue('remember_login_cookie_lifetime', 60 * 60 * 24 * 15) === 0) {
48
+		if ((int) $this->config->getSystemValue('remember_login_cookie_lifetime', 60 * 60 * 24 * 15) === 0) {
49 49
 			$loginData->setRememberLogin(false);
50 50
 			$tokenType = IToken::DO_NOT_REMEMBER;
51 51
 		}
Please login to merge, or discard this patch.
apps/federatedfilesharing/templates/settings-personal.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 <div id="fileSharingSettings" class="section">
9 9
 	<h2 data-anchor-name="federated-cloud"><?php p($l->t('Federated Cloud')); ?></h2>
10 10
 	<a target="_blank" rel="noreferrer noopener" class="icon-info svg"
11
-	title="<?php p($l->t('Open documentation'));?>"
11
+	title="<?php p($l->t('Open documentation')); ?>"
12 12
 	href="<?php p(link_to_docs('user-sharing-federated')); ?>"></a>
13 13
 	<p class="settings-hint"><?php p($l->t('You can share with anyone who uses a Nextcloud server or other Open Cloud Mesh (OCM) compatible servers and services! Just put their Federated Cloud ID in the share dialog. It looks like [email protected]')); ?></p>
14 14
 
Please login to merge, or discard this patch.
apps/federatedfilesharing/lib/Settings/Personal.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
 	 */
61 61
 	public function getForm() {
62 62
 		$cloudID = $this->userSession->getUser()->getCloudId();
63
-		$url = 'https://nextcloud.com/sharing#' . $cloudID;
63
+		$url = 'https://nextcloud.com/sharing#'.$cloudID;
64 64
 
65 65
 		$parameters = [
66 66
 			'message_with_URL' => $this->l->t('Share with me through my #Nextcloud Federated Cloud ID, see %s', [$url]),
Please login to merge, or discard this patch.
status.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,11 +29,11 @@
 block discarded – undo
29 29
  *
30 30
  */
31 31
 
32
-require_once __DIR__ . '/lib/versioncheck.php';
32
+require_once __DIR__.'/lib/versioncheck.php';
33 33
 
34 34
 try {
35 35
 
36
-	require_once __DIR__ . '/lib/base.php';
36
+	require_once __DIR__.'/lib/base.php';
37 37
 
38 38
 	$systemConfig = \OC::$server->getSystemConfig();
39 39
 
Please login to merge, or discard this patch.
lib/private/Preview/ProviderV2.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
 	/**
44 44
 	 * @return string Regex with the mimetypes that are supported by this provider
45 45
 	 */
46
-	abstract public function getMimeType(): string ;
46
+	abstract public function getMimeType(): string;
47 47
 
48 48
 	/**
49 49
 	 * Check if a preview can be generated for $path
Please login to merge, or discard this patch.
lib/private/Preview/SVG.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
 
47 47
 			$content = stream_get_contents($file->fopen('r'));
48 48
 			if (substr($content, 0, 5) !== '<?xml') {
49
-				$content = '<?xml version="1.0" encoding="UTF-8" standalone="no"?>' . $content;
49
+				$content = '<?xml version="1.0" encoding="UTF-8" standalone="no"?>'.$content;
50 50
 			}
51 51
 
52 52
 			// Do not parse SVG files with references
Please login to merge, or discard this patch.