Passed
Push — master ( 480649...8ad1bf )
by Joas
11:47 queued 10s
created
lib/public/Authentication/TwoFactorAuth/IPersonalProviderSettings.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -33,11 +33,11 @@
 block discarded – undo
33 33
  */
34 34
 interface IPersonalProviderSettings {
35 35
 
36
-	/**
37
-	 * @return Template
38
-	 *
39
-	 * @since 15.0.0
40
-	 */
41
-	public function getBody(): Template;
36
+    /**
37
+     * @return Template
38
+     *
39
+     * @since 15.0.0
40
+     */
41
+    public function getBody(): Template;
42 42
 
43 43
 }
Please login to merge, or discard this patch.
lib/public/Authentication/TwoFactorAuth/IProvidesPersonalSettings.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -35,13 +35,13 @@
 block discarded – undo
35 35
  */
36 36
 interface IProvidesPersonalSettings extends IProvider {
37 37
 
38
-	/**
39
-	 * @param IUser $user
40
-	 *
41
-	 * @return IPersonalProviderSettings
42
-	 *
43
-	 * @since 15.0.0
44
-	 */
45
-	public function getPersonalSettings(IUser $user): IPersonalProviderSettings;
38
+    /**
39
+     * @param IUser $user
40
+     *
41
+     * @return IPersonalProviderSettings
42
+     *
43
+     * @since 15.0.0
44
+     */
45
+    public function getPersonalSettings(IUser $user): IPersonalProviderSettings;
46 46
 
47 47
 }
Please login to merge, or discard this patch.
core/templates/twofactorshowchallenge.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -24,11 +24,11 @@
 block discarded – undo
24 24
 	<?php if (!is_null($_['backupProvider'])): ?>
25 25
 	<p>
26 26
 		<a class="two-factor-secondary" href="<?php p(\OC::$server->getURLGenerator()->linkToRoute('core.TwoFactorChallenge.showChallenge',
27
-			[
28
-				'challengeProviderId' => $_['backupProvider']->getId(),
29
-				'redirect_url' => $_['redirect_url'],
30
-			]
31
-		)) ?>">
27
+            [
28
+                'challengeProviderId' => $_['backupProvider']->getId(),
29
+                'redirect_url' => $_['redirect_url'],
30
+            ]
31
+        )) ?>">
32 32
 			<?php p($l->t('Use backup code')) ?>
33 33
 		</a>
34 34
 	</p>
Please login to merge, or discard this patch.
lib/public/Calendar/Resource/IManager.php 1 patch
Indentation   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -31,41 +31,41 @@
 block discarded – undo
31 31
  */
32 32
 interface IManager {
33 33
 
34
-	/**
35
-	 * Registers a resource backend
36
-	 *
37
-	 * @param string $backendClass
38
-	 * @return void
39
-	 * @since 14.0.0
40
-	 */
41
-	public function registerBackend(string $backendClass);
34
+    /**
35
+     * Registers a resource backend
36
+     *
37
+     * @param string $backendClass
38
+     * @return void
39
+     * @since 14.0.0
40
+     */
41
+    public function registerBackend(string $backendClass);
42 42
 
43
-	/**
44
-	 * Unregisters a resource backend
45
-	 *
46
-	 * @param string $backendClass
47
-	 * @return void
48
-	 * @since 14.0.0
49
-	 */
50
-	public function unregisterBackend(string $backendClass);
43
+    /**
44
+     * Unregisters a resource backend
45
+     *
46
+     * @param string $backendClass
47
+     * @return void
48
+     * @since 14.0.0
49
+     */
50
+    public function unregisterBackend(string $backendClass);
51 51
 
52
-	/**
53
-	 * @return IBackend[]
54
-	 * @since 14.0.0
55
-	 */
56
-	public function getBackends():array;
52
+    /**
53
+     * @return IBackend[]
54
+     * @since 14.0.0
55
+     */
56
+    public function getBackends():array;
57 57
 
58
-	/**
59
-	 * @param string $backendId
60
-	 * @return IBackend|null
61
-	 * @since 14.0.0
62
-	 */
63
-	public function getBackend($backendId);
58
+    /**
59
+     * @param string $backendId
60
+     * @return IBackend|null
61
+     * @since 14.0.0
62
+     */
63
+    public function getBackend($backendId);
64 64
 
65
-	/**
66
-	 * removes all registered backend instances
67
-	 * @return void
68
-	 * @since 14.0.0
69
-	 */
70
-	public function clear();
65
+    /**
66
+     * removes all registered backend instances
67
+     * @return void
68
+     * @since 14.0.0
69
+     */
70
+    public function clear();
71 71
 }
Please login to merge, or discard this patch.
lib/public/Calendar/Room/IManager.php 1 patch
Indentation   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -31,41 +31,41 @@
 block discarded – undo
31 31
  */
32 32
 interface IManager {
33 33
 
34
-	/**
35
-	 * Registers a room backend
36
-	 *
37
-	 * @param string $backendClass
38
-	 * @return void
39
-	 * @since 14.0.0
40
-	 */
41
-	public function registerBackend(string $backendClass);
34
+    /**
35
+     * Registers a room backend
36
+     *
37
+     * @param string $backendClass
38
+     * @return void
39
+     * @since 14.0.0
40
+     */
41
+    public function registerBackend(string $backendClass);
42 42
 
43
-	/**
44
-	 * Unregisters a room backend
45
-	 *
46
-	 * @param string $backendClass
47
-	 * @return void
48
-	 * @since 14.0.0
49
-	 */
50
-	public function unregisterBackend(string $backendClass);
43
+    /**
44
+     * Unregisters a room backend
45
+     *
46
+     * @param string $backendClass
47
+     * @return void
48
+     * @since 14.0.0
49
+     */
50
+    public function unregisterBackend(string $backendClass);
51 51
 
52
-	/**
53
-	 * @return IBackend[]
54
-	 * @since 14.0.0
55
-	 */
56
-	public function getBackends():array;
52
+    /**
53
+     * @return IBackend[]
54
+     * @since 14.0.0
55
+     */
56
+    public function getBackends():array;
57 57
 
58
-	/**
59
-	 * @param string $backendId
60
-	 * @return IBackend|null
61
-	 * @since 14.0.0
62
-	 */
63
-	public function getBackend($backendId);
58
+    /**
59
+     * @param string $backendId
60
+     * @return IBackend|null
61
+     * @since 14.0.0
62
+     */
63
+    public function getBackend($backendId);
64 64
 
65
-	/**
66
-	 * removes all registered backend instances
67
-	 * @return void
68
-	 * @since 14.0.0
69
-	 */
70
-	public function clear();
65
+    /**
66
+     * removes all registered backend instances
67
+     * @return void
68
+     * @since 14.0.0
69
+     */
70
+    public function clear();
71 71
 }
Please login to merge, or discard this patch.
apps/admin_audit/lib/Actions/AppManagement.php 1 patch
Indentation   +28 added lines, -28 removed lines patch added patch discarded remove patch
@@ -26,34 +26,34 @@
 block discarded – undo
26 26
 
27 27
 class AppManagement extends Action {
28 28
 
29
-	/**
30
-	 * @param string $appName
31
-	 */
32
-	public function enableApp(string $appName) {
33
-		$this->log('App "%s" enabled',
34
-			['app' => $appName],
35
-			['app']
36
-		);
37
-	}
29
+    /**
30
+     * @param string $appName
31
+     */
32
+    public function enableApp(string $appName) {
33
+        $this->log('App "%s" enabled',
34
+            ['app' => $appName],
35
+            ['app']
36
+        );
37
+    }
38 38
 
39
-	/**
40
-	 * @param string $appName
41
-	 * @param string[] $groups
42
-	 */
43
-	public function enableAppForGroups(string $appName, array $groups) {
44
-		$this->log('App "%1$s" enabled for groups: %2$s',
45
-			['app' => $appName, 'groups' => implode(', ', $groups)],
46
-			['app', 'groups']
47
-		);
48
-	}
39
+    /**
40
+     * @param string $appName
41
+     * @param string[] $groups
42
+     */
43
+    public function enableAppForGroups(string $appName, array $groups) {
44
+        $this->log('App "%1$s" enabled for groups: %2$s',
45
+            ['app' => $appName, 'groups' => implode(', ', $groups)],
46
+            ['app', 'groups']
47
+        );
48
+    }
49 49
 
50
-	/**
51
-	 * @param string $appName
52
-	 */
53
-	public function disableApp(string $appName) {
54
-		$this->log('App "%s" disabled',
55
-			['app' => $appName],
56
-			['app']
57
-		);
58
-	}
50
+    /**
51
+     * @param string $appName
52
+     */
53
+    public function disableApp(string $appName) {
54
+        $this->log('App "%s" disabled',
55
+            ['app' => $appName],
56
+            ['app']
57
+        );
58
+    }
59 59
 }
Please login to merge, or discard this patch.
lib/public/Federation/Exceptions/ProviderAlreadyExistsException.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -32,19 +32,19 @@
 block discarded – undo
32 32
  */
33 33
 class ProviderAlreadyExistsException extends HintException {
34 34
 
35
-	/**
36
-	 * ProviderAlreadyExistsException constructor.
37
-	 *
38
-	 * @since 14.0.0
39
-	 *
40
-	 * @param string $newProviderId cloud federation provider ID of the new provider
41
-	 * @param string $existingProviderName name of cloud federation provider which already use the same ID
42
-	 */
43
-	public function __construct($newProviderId, $existingProviderName) {
44
-		$l = \OC::$server->getL10N('federation');
45
-		$message = 'ID "' . $newProviderId . '" already used by cloud federation provider "' . $existingProviderName . '"';
46
-		$hint = $l->t('ID "%1$s" already used by cloud federation provider "%2$s"', [$newProviderId, $existingProviderName]);
47
-		parent::__construct($message, $hint);
48
-	}
35
+    /**
36
+     * ProviderAlreadyExistsException constructor.
37
+     *
38
+     * @since 14.0.0
39
+     *
40
+     * @param string $newProviderId cloud federation provider ID of the new provider
41
+     * @param string $existingProviderName name of cloud federation provider which already use the same ID
42
+     */
43
+    public function __construct($newProviderId, $existingProviderName) {
44
+        $l = \OC::$server->getL10N('federation');
45
+        $message = 'ID "' . $newProviderId . '" already used by cloud federation provider "' . $existingProviderName . '"';
46
+        $hint = $l->t('ID "%1$s" already used by cloud federation provider "%2$s"', [$newProviderId, $existingProviderName]);
47
+        parent::__construct($message, $hint);
48
+    }
49 49
 
50 50
 }
Please login to merge, or discard this patch.
lib/public/AppFramework/Utility/ITimeFactory.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -31,18 +31,18 @@
 block discarded – undo
31 31
  */
32 32
 interface ITimeFactory {
33 33
 
34
-	/**
35
-	 * @return int the result of a call to time()
36
-	 * @since 8.0.0
37
-	 */
38
-	public function getTime(): int;
34
+    /**
35
+     * @return int the result of a call to time()
36
+     * @since 8.0.0
37
+     */
38
+    public function getTime(): int;
39 39
 
40
-	/**
41
-	 * @param string $time
42
-	 * @param \DateTimeZone $timezone
43
-	 * @return \DateTime
44
-	 * @since 15.0.0
45
-	 */
46
-	public function getDateTime(string $time = 'now', \DateTimeZone $timezone = null): \DateTime;
40
+    /**
41
+     * @param string $time
42
+     * @param \DateTimeZone $timezone
43
+     * @return \DateTime
44
+     * @since 15.0.0
45
+     */
46
+    public function getDateTime(string $time = 'now', \DateTimeZone $timezone = null): \DateTime;
47 47
 
48 48
 }
Please login to merge, or discard this patch.
lib/private/AppFramework/Utility/TimeFactory.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -34,21 +34,21 @@
 block discarded – undo
34 34
 class TimeFactory implements ITimeFactory {
35 35
 
36 36
 
37
-	/**
38
-	 * @return int the result of a call to time()
39
-	 */
40
-	public function getTime(): int {
41
-		return time();
42
-	}
43
-
44
-	/**
45
-	 * @param string $time
46
-	 * @param \DateTimeZone $timezone
47
-	 * @return \DateTime
48
-	 * @since 15.0.0
49
-	 */
50
-	public function getDateTime(string $time = 'now', \DateTimeZone $timezone = null): \DateTime {
51
-		return new \DateTime($time, $timezone);
52
-	}
37
+    /**
38
+     * @return int the result of a call to time()
39
+     */
40
+    public function getTime(): int {
41
+        return time();
42
+    }
43
+
44
+    /**
45
+     * @param string $time
46
+     * @param \DateTimeZone $timezone
47
+     * @return \DateTime
48
+     * @since 15.0.0
49
+     */
50
+    public function getDateTime(string $time = 'now', \DateTimeZone $timezone = null): \DateTime {
51
+        return new \DateTime($time, $timezone);
52
+    }
53 53
 
54 54
 }
Please login to merge, or discard this patch.