Completed
Push — master ( 3911d6...b5b320 )
by
unknown
31:08
created
lib/public/EventDispatcher/Event.php 1 patch
Indentation   +38 added lines, -38 removed lines patch added patch discarded remove patch
@@ -41,45 +41,45 @@
 block discarded – undo
41 41
  * @since 17.0.0
42 42
  */
43 43
 class Event implements StoppableEventInterface {
44
-	/**
45
-	 * @var bool
46
-	 *
47
-	 * @since 22.0.0
48
-	 */
49
-	private $propagationStopped = false;
44
+    /**
45
+     * @var bool
46
+     *
47
+     * @since 22.0.0
48
+     */
49
+    private $propagationStopped = false;
50 50
 
51
-	/**
52
-	 * Compatibility constructor
53
-	 *
54
-	 * In Nextcloud 17.0.0 this event class used a now deprecated/removed Symfony base
55
-	 * class that had a constructor (with default arguments). To lower the risk of
56
-	 * a breaking change (PHP won't allow parent constructor calls if there is none),
57
-	 * this empty constructor's only purpose is to hopefully not break existing sub-
58
-	 * classes of this class.
59
-	 *
60
-	 * @since 18.0.0
61
-	 */
62
-	public function __construct() {
63
-	}
51
+    /**
52
+     * Compatibility constructor
53
+     *
54
+     * In Nextcloud 17.0.0 this event class used a now deprecated/removed Symfony base
55
+     * class that had a constructor (with default arguments). To lower the risk of
56
+     * a breaking change (PHP won't allow parent constructor calls if there is none),
57
+     * this empty constructor's only purpose is to hopefully not break existing sub-
58
+     * classes of this class.
59
+     *
60
+     * @since 18.0.0
61
+     */
62
+    public function __construct() {
63
+    }
64 64
 
65
-	/**
66
-	 * Stops the propagation of the event to further event listeners
67
-	 *
68
-	 * @return void
69
-	 *
70
-	 * @since 22.0.0
71
-	 */
72
-	public function stopPropagation(): void {
73
-		$this->propagationStopped = true;
74
-	}
65
+    /**
66
+     * Stops the propagation of the event to further event listeners
67
+     *
68
+     * @return void
69
+     *
70
+     * @since 22.0.0
71
+     */
72
+    public function stopPropagation(): void {
73
+        $this->propagationStopped = true;
74
+    }
75 75
 
76
-	/**
77
-	 * {@inheritDoc}
78
-	 *
79
-	 * @since 22.0.0
80
-	 * @see \Psr\EventDispatcher\StoppableEventInterface
81
-	 */
82
-	public function isPropagationStopped(): bool {
83
-		return $this->propagationStopped;
84
-	}
76
+    /**
77
+     * {@inheritDoc}
78
+     *
79
+     * @since 22.0.0
80
+     * @see \Psr\EventDispatcher\StoppableEventInterface
81
+     */
82
+    public function isPropagationStopped(): bool {
83
+        return $this->propagationStopped;
84
+    }
85 85
 }
Please login to merge, or discard this patch.
lib/public/IUserBackend.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -31,10 +31,10 @@
 block discarded – undo
31 31
  * @since 8.0.0
32 32
  */
33 33
 interface IUserBackend {
34
-	/**
35
-	 * Backend name to be shown in user management
36
-	 * @return string the name of the backend to be shown
37
-	 * @since 8.0.0
38
-	 */
39
-	public function getBackendName();
34
+    /**
35
+     * Backend name to be shown in user management
36
+     * @return string the name of the backend to be shown
37
+     * @since 8.0.0
38
+     */
39
+    public function getBackendName();
40 40
 }
Please login to merge, or discard this patch.
lib/public/Profile/ParameterDoesNotExistException.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -30,10 +30,10 @@
 block discarded – undo
30 30
  * @since 23.0.0
31 31
  */
32 32
 class ParameterDoesNotExistException extends \Exception {
33
-	/**
34
-	 * @since 23.0.0
35
-	 */
36
-	public function __construct($parameter) {
37
-		parent::__construct("Parameter $parameter does not exist.");
38
-	}
33
+    /**
34
+     * @since 23.0.0
35
+     */
36
+    public function __construct($parameter) {
37
+        parent::__construct("Parameter $parameter does not exist.");
38
+    }
39 39
 }
Please login to merge, or discard this patch.
lib/public/Profile/ILinkAction.php 1 patch
Indentation   +72 added lines, -72 removed lines patch added patch discarded remove patch
@@ -32,83 +32,83 @@
 block discarded – undo
32 32
  * @since 23.0.0
33 33
  */
34 34
 interface ILinkAction {
35
-	/**
36
-	 * Preload the user specific value required by the action
37
-	 *
38
-	 * e.g. the email is loaded for the email action and the userId for the Talk action
39
-	 *
40
-	 * @since 23.0.0
41
-	 */
42
-	public function preload(IUser $targetUser): void;
35
+    /**
36
+     * Preload the user specific value required by the action
37
+     *
38
+     * e.g. the email is loaded for the email action and the userId for the Talk action
39
+     *
40
+     * @since 23.0.0
41
+     */
42
+    public function preload(IUser $targetUser): void;
43 43
 
44
-	/**
45
-	 * Returns the app ID of the action
46
-	 *
47
-	 * e.g. 'spreed'
48
-	 *
49
-	 * @since 23.0.0
50
-	 */
51
-	public function getAppId(): string;
44
+    /**
45
+     * Returns the app ID of the action
46
+     *
47
+     * e.g. 'spreed'
48
+     *
49
+     * @since 23.0.0
50
+     */
51
+    public function getAppId(): string;
52 52
 
53
-	/**
54
-	 * Returns the unique ID of the action
55
-	 *
56
-	 * *For account properties this is the constant defined in lib/public/Accounts/IAccountManager.php*
57
-	 *
58
-	 * e.g. 'email'
59
-	 *
60
-	 * @since 23.0.0
61
-	 */
62
-	public function getId(): string;
53
+    /**
54
+     * Returns the unique ID of the action
55
+     *
56
+     * *For account properties this is the constant defined in lib/public/Accounts/IAccountManager.php*
57
+     *
58
+     * e.g. 'email'
59
+     *
60
+     * @since 23.0.0
61
+     */
62
+    public function getId(): string;
63 63
 
64
-	/**
65
-	 * Returns the translated unique display ID of the action
66
-	 *
67
-	 * Should be something short and descriptive of the action
68
-	 * as this is seen by the end-user when configuring actions
69
-	 *
70
-	 * e.g. 'Email'
71
-	 *
72
-	 * @since 23.0.0
73
-	 */
74
-	public function getDisplayId(): string;
64
+    /**
65
+     * Returns the translated unique display ID of the action
66
+     *
67
+     * Should be something short and descriptive of the action
68
+     * as this is seen by the end-user when configuring actions
69
+     *
70
+     * e.g. 'Email'
71
+     *
72
+     * @since 23.0.0
73
+     */
74
+    public function getDisplayId(): string;
75 75
 
76
-	/**
77
-	 * Returns the translated title
78
-	 *
79
-	 * e.g. 'Mail [email protected]'
80
-	 *
81
-	 * Use the L10N service to translate it
82
-	 *
83
-	 * @since 23.0.0
84
-	 */
85
-	public function getTitle(): string;
76
+    /**
77
+     * Returns the translated title
78
+     *
79
+     * e.g. 'Mail [email protected]'
80
+     *
81
+     * Use the L10N service to translate it
82
+     *
83
+     * @since 23.0.0
84
+     */
85
+    public function getTitle(): string;
86 86
 
87
-	/**
88
-	 * Returns the priority
89
-	 *
90
-	 * *Actions are sorted in ascending order*
91
-	 *
92
-	 * e.g. 60
93
-	 *
94
-	 * @since 23.0.0
95
-	 */
96
-	public function getPriority(): int;
87
+    /**
88
+     * Returns the priority
89
+     *
90
+     * *Actions are sorted in ascending order*
91
+     *
92
+     * e.g. 60
93
+     *
94
+     * @since 23.0.0
95
+     */
96
+    public function getPriority(): int;
97 97
 
98
-	/**
99
-	 * Returns the URL link to the 16*16 SVG icon
100
-	 *
101
-	 * @since 23.0.0
102
-	 */
103
-	public function getIcon(): string;
98
+    /**
99
+     * Returns the URL link to the 16*16 SVG icon
100
+     *
101
+     * @since 23.0.0
102
+     */
103
+    public function getIcon(): string;
104 104
 
105
-	/**
106
-	 * Returns the target of the action,
107
-	 * if null is returned the action won't be registered
108
-	 *
109
-	 * e.g. 'mailto:[email protected]'
110
-	 *
111
-	 * @since 23.0.0
112
-	 */
113
-	public function getTarget(): ?string;
105
+    /**
106
+     * Returns the target of the action,
107
+     * if null is returned the action won't be registered
108
+     *
109
+     * e.g. 'mailto:[email protected]'
110
+     *
111
+     * @since 23.0.0
112
+     */
113
+    public function getTarget(): ?string;
114 114
 }
Please login to merge, or discard this patch.
core/templates/layout.noscript.warning.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@
 block discarded – undo
2 2
 	<div id="nojavascript">
3 3
 		<div>
4 4
 			<?php print_unescaped(str_replace(
5
-				['{linkstart}', '{linkend}'],
6
-				['<a href="https://www.enable-javascript.com/" target="_blank" rel="noreferrer noopener">', '</a>'],
7
-				$l->t('This application requires JavaScript for correct operation. Please {linkstart}enable JavaScript{linkend} and reload the page.')
8
-			)); ?>
5
+                ['{linkstart}', '{linkend}'],
6
+                ['<a href="https://www.enable-javascript.com/" target="_blank" rel="noreferrer noopener">', '</a>'],
7
+                $l->t('This application requires JavaScript for correct operation. Please {linkstart}enable JavaScript{linkend} and reload the page.')
8
+            )); ?>
9 9
 		</div>
10 10
 	</div>
11 11
 </noscript>
Please login to merge, or discard this patch.
core/Migrations/Version15000Date20180926101451.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -32,22 +32,22 @@
 block discarded – undo
32 32
 use OCP\Migration\SimpleMigrationStep;
33 33
 
34 34
 class Version15000Date20180926101451 extends SimpleMigrationStep {
35
-	/**
36
-	 * @param IOutput $output
37
-	 * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
38
-	 * @param array $options
39
-	 * @return null|ISchemaWrapper
40
-	 */
41
-	public function changeSchema(IOutput $output, Closure $schemaClosure, array $options) {
42
-		/** @var ISchemaWrapper $schema */
43
-		$schema = $schemaClosure();
35
+    /**
36
+     * @param IOutput $output
37
+     * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
38
+     * @param array $options
39
+     * @return null|ISchemaWrapper
40
+     */
41
+    public function changeSchema(IOutput $output, Closure $schemaClosure, array $options) {
42
+        /** @var ISchemaWrapper $schema */
43
+        $schema = $schemaClosure();
44 44
 
45
-		$table = $schema->getTable('authtoken');
46
-		$table->addColumn('password_invalid', 'boolean', [
47
-			'default' => 0,
48
-			'notnull' => false,
49
-		]);
45
+        $table = $schema->getTable('authtoken');
46
+        $table->addColumn('password_invalid', 'boolean', [
47
+            'default' => 0,
48
+            'notnull' => false,
49
+        ]);
50 50
 
51
-		return $schema;
52
-	}
51
+        return $schema;
52
+    }
53 53
 }
Please login to merge, or discard this patch.
core/Migrations/Version16000Date20190428150708.php 1 patch
Indentation   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -35,25 +35,25 @@
 block discarded – undo
35 35
 use OCP\Migration\SimpleMigrationStep;
36 36
 
37 37
 class Version16000Date20190428150708 extends SimpleMigrationStep {
38
-	/**
39
-	 * @param IOutput $output
40
-	 * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
41
-	 * @param array $options
42
-	 * @return null|ISchemaWrapper
43
-	 * @throws \Doctrine\DBAL\Schema\SchemaException
44
-	 */
45
-	public function changeSchema(IOutput $output, Closure $schemaClosure, array $options) {
46
-		/** @var ISchemaWrapper $schema */
47
-		$schema = $schemaClosure();
38
+    /**
39
+     * @param IOutput $output
40
+     * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
41
+     * @param array $options
42
+     * @return null|ISchemaWrapper
43
+     * @throws \Doctrine\DBAL\Schema\SchemaException
44
+     */
45
+    public function changeSchema(IOutput $output, Closure $schemaClosure, array $options) {
46
+        /** @var ISchemaWrapper $schema */
47
+        $schema = $schemaClosure();
48 48
 
49
-		if ($schema->hasTable('collres_accesscache')) {
50
-			$table = $schema->getTable('collres_accesscache');
51
-			$table->addColumn('access', Types::BOOLEAN, [
52
-				'notnull' => false,
53
-				'default' => false
54
-			]);
55
-		}
49
+        if ($schema->hasTable('collres_accesscache')) {
50
+            $table = $schema->getTable('collres_accesscache');
51
+            $table->addColumn('access', Types::BOOLEAN, [
52
+                'notnull' => false,
53
+                'default' => false
54
+            ]);
55
+        }
56 56
 
57
-		return $schema;
58
-	}
57
+        return $schema;
58
+    }
59 59
 }
Please login to merge, or discard this patch.
core/Migrations/Version20000Date20201109081919.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -31,21 +31,21 @@
 block discarded – undo
31 31
 use OCP\Migration\SimpleMigrationStep;
32 32
 
33 33
 class Version20000Date20201109081919 extends SimpleMigrationStep {
34
-	/**
35
-	 * @param IOutput $output
36
-	 * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
37
-	 * @param array $options
38
-	 * @return null|ISchemaWrapper
39
-	 */
40
-	public function changeSchema(IOutput $output, Closure $schemaClosure, array $options): ?ISchemaWrapper {
41
-		/** @var ISchemaWrapper $schema */
42
-		$schema = $schemaClosure();
34
+    /**
35
+     * @param IOutput $output
36
+     * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
37
+     * @param array $options
38
+     * @return null|ISchemaWrapper
39
+     */
40
+    public function changeSchema(IOutput $output, Closure $schemaClosure, array $options): ?ISchemaWrapper {
41
+        /** @var ISchemaWrapper $schema */
42
+        $schema = $schemaClosure();
43 43
 
44
-		if ($schema->hasTable('credentials')) {
45
-			$schema->dropTable('credentials');
46
-			return $schema;
47
-		}
44
+        if ($schema->hasTable('credentials')) {
45
+            $schema->dropTable('credentials');
46
+            return $schema;
47
+        }
48 48
 
49
-		return null;
50
-	}
49
+        return null;
50
+    }
51 51
 }
Please login to merge, or discard this patch.
core/Migrations/Version14000Date20180516101403.php 1 patch
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -27,28 +27,28 @@
 block discarded – undo
27 27
 use OCP\Migration\SimpleMigrationStep;
28 28
 
29 29
 class Version14000Date20180516101403 extends SimpleMigrationStep {
30
-	/**
31
-	 * @param IOutput $output
32
-	 * @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
33
-	 * @param array $options
34
-	 * @return null|ISchemaWrapper
35
-	 */
36
-	public function changeSchema(IOutput $output, \Closure $schemaClosure, array $options) {
37
-		/** @var ISchemaWrapper $schema */
38
-		$schema = $schemaClosure();
30
+    /**
31
+     * @param IOutput $output
32
+     * @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
33
+     * @param array $options
34
+     * @return null|ISchemaWrapper
35
+     */
36
+    public function changeSchema(IOutput $output, \Closure $schemaClosure, array $options) {
37
+        /** @var ISchemaWrapper $schema */
38
+        $schema = $schemaClosure();
39 39
 
40
-		$table = $schema->getTable('authtoken');
40
+        $table = $schema->getTable('authtoken');
41 41
 
42
-		if (!$table->hasColumn('expires')) {
43
-			$table->addColumn('expires', 'integer', [
44
-				'notnull' => false,
45
-				'length' => 4,
46
-				'default' => null,
47
-				'unsigned' => true,
48
-			]);
42
+        if (!$table->hasColumn('expires')) {
43
+            $table->addColumn('expires', 'integer', [
44
+                'notnull' => false,
45
+                'length' => 4,
46
+                'default' => null,
47
+                'unsigned' => true,
48
+            ]);
49 49
 
50
-			return $schema;
51
-		}
52
-		return null;
53
-	}
50
+            return $schema;
51
+        }
52
+        return null;
53
+    }
54 54
 }
Please login to merge, or discard this patch.