Completed
Push — master ( a96350...d0f819 )
by
unknown
29:59
created
lib/public/User/Backend/ICreateUserBackend.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -29,12 +29,12 @@
 block discarded – undo
29 29
  * @since 14.0.0
30 30
  */
31 31
 interface ICreateUserBackend {
32
-	/**
33
-	 * @since 14.0.0
34
-	 *
35
-	 * @param string $uid The username of the user to create
36
-	 * @param string $password The password of the new user
37
-	 * @return bool
38
-	 */
39
-	public function createUser(string $uid, string $password): bool;
32
+    /**
33
+     * @since 14.0.0
34
+     *
35
+     * @param string $uid The username of the user to create
36
+     * @param string $password The password of the new user
37
+     * @return bool
38
+     */
39
+    public function createUser(string $uid, string $password): bool;
40 40
 }
Please login to merge, or discard this patch.
lib/public/User/Backend/IPasswordConfirmationBackend.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -29,8 +29,8 @@
 block discarded – undo
29 29
  * @since 15.0.0
30 30
  */
31 31
 interface IPasswordConfirmationBackend {
32
-	/**
33
-	 * @since 15.0.0
34
-	 */
35
-	public function canConfirmPassword(string $uid): bool;
32
+    /**
33
+     * @since 15.0.0
34
+     */
35
+    public function canConfirmPassword(string $uid): bool;
36 36
 }
Please login to merge, or discard this patch.
lib/public/Broadcast/Events/IBroadcastEvent.php 1 patch
Indentation   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -31,26 +31,26 @@
 block discarded – undo
31 31
  * @since 18.0.0
32 32
  */
33 33
 interface IBroadcastEvent {
34
-	/**
35
-	 * @return string the name of the event
36
-	 * @since 18.0.0
37
-	 */
38
-	public function getName(): string;
34
+    /**
35
+     * @return string the name of the event
36
+     * @since 18.0.0
37
+     */
38
+    public function getName(): string;
39 39
 
40
-	/**
41
-	 * @return string[]
42
-	 * @since 18.0.0
43
-	 */
44
-	public function getUids(): array;
40
+    /**
41
+     * @return string[]
42
+     * @since 18.0.0
43
+     */
44
+    public function getUids(): array;
45 45
 
46
-	/**
47
-	 * @return JsonSerializable the data to be sent to the client
48
-	 * @since 18.0.0
49
-	 */
50
-	public function getPayload(): JsonSerializable;
46
+    /**
47
+     * @return JsonSerializable the data to be sent to the client
48
+     * @since 18.0.0
49
+     */
50
+    public function getPayload(): JsonSerializable;
51 51
 
52
-	/**
53
-	 * @since 18.0.0
54
-	 */
55
-	public function setBroadcasted(): void;
52
+    /**
53
+     * @since 18.0.0
54
+     */
55
+    public function setBroadcasted(): void;
56 56
 }
Please login to merge, or discard this patch.
lib/public/SabrePluginException.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -27,13 +27,13 @@
 block discarded – undo
27 27
  * @since 8.2.0
28 28
  */
29 29
 class SabrePluginException extends Exception {
30
-	/**
31
-	 * Returns the HTTP statuscode for this exception
32
-	 *
33
-	 * @return int
34
-	 * @since 8.2.0
35
-	 */
36
-	public function getHTTPCode() {
37
-		return $this->code;
38
-	}
30
+    /**
31
+     * Returns the HTTP statuscode for this exception
32
+     *
33
+     * @return int
34
+     * @since 8.2.0
35
+     */
36
+    public function getHTTPCode() {
37
+        return $this->code;
38
+    }
39 39
 }
Please login to merge, or discard this patch.
lib/public/Dashboard/IConditionalWidget.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -35,9 +35,9 @@
 block discarded – undo
35 35
  * @since 26.0.0
36 36
  */
37 37
 interface IConditionalWidget extends IWidget {
38
-	/**
39
-	 * @return bool Whether the widget is enabled and should be registered
40
-	 * @since 26.0.0
41
-	 */
42
-	public function isEnabled(): bool;
38
+    /**
39
+     * @return bool Whether the widget is enabled and should be registered
40
+     * @since 26.0.0
41
+     */
42
+    public function isEnabled(): bool;
43 43
 }
Please login to merge, or discard this patch.
lib/public/DB/IResult.php 1 patch
Indentation   +43 added lines, -43 removed lines patch added patch discarded remove patch
@@ -44,52 +44,52 @@
 block discarded – undo
44 44
  * @since 21.0.0
45 45
  */
46 46
 interface IResult {
47
-	/**
48
-	 * @return true
49
-	 *
50
-	 * @since 21.0.0
51
-	 */
52
-	public function closeCursor(): bool;
47
+    /**
48
+     * @return true
49
+     *
50
+     * @since 21.0.0
51
+     */
52
+    public function closeCursor(): bool;
53 53
 
54
-	/**
55
-	 * @param int $fetchMode
56
-	 *
57
-	 * @return mixed
58
-	 *
59
-	 * @since 21.0.0
60
-	 */
61
-	public function fetch(int $fetchMode = PDO::FETCH_ASSOC);
54
+    /**
55
+     * @param int $fetchMode
56
+     *
57
+     * @return mixed
58
+     *
59
+     * @since 21.0.0
60
+     */
61
+    public function fetch(int $fetchMode = PDO::FETCH_ASSOC);
62 62
 
63
-	/**
64
-	 * @param int $fetchMode (one of PDO::FETCH_ASSOC, PDO::FETCH_NUM or PDO::FETCH_COLUMN (2, 3 or 7)
65
-	 *
66
-	 * @return mixed[]
67
-	 *
68
-	 * @since 21.0.0
69
-	 */
70
-	public function fetchAll(int $fetchMode = PDO::FETCH_ASSOC): array;
63
+    /**
64
+     * @param int $fetchMode (one of PDO::FETCH_ASSOC, PDO::FETCH_NUM or PDO::FETCH_COLUMN (2, 3 or 7)
65
+     *
66
+     * @return mixed[]
67
+     *
68
+     * @since 21.0.0
69
+     */
70
+    public function fetchAll(int $fetchMode = PDO::FETCH_ASSOC): array;
71 71
 
72
-	/**
73
-	 * @return mixed
74
-	 *
75
-	 * @since 21.0.0
76
-	 * @deprecated 21.0.0 use \OCP\DB\IResult::fetchOne
77
-	 */
78
-	public function fetchColumn();
72
+    /**
73
+     * @return mixed
74
+     *
75
+     * @since 21.0.0
76
+     * @deprecated 21.0.0 use \OCP\DB\IResult::fetchOne
77
+     */
78
+    public function fetchColumn();
79 79
 
80
-	/**
81
-	 * Returns the first value of the next row of the result or FALSE if there are no more rows.
82
-	 *
83
-	 * @return false|mixed
84
-	 *
85
-	 * @since 21.0.0
86
-	 */
87
-	public function fetchOne();
80
+    /**
81
+     * Returns the first value of the next row of the result or FALSE if there are no more rows.
82
+     *
83
+     * @return false|mixed
84
+     *
85
+     * @since 21.0.0
86
+     */
87
+    public function fetchOne();
88 88
 
89
-	/**
90
-	 * @return int
91
-	 *
92
-	 * @since 21.0.0
93
-	 */
94
-	public function rowCount(): int;
89
+    /**
90
+     * @return int
91
+     *
92
+     * @since 21.0.0
93
+     */
94
+    public function rowCount(): int;
95 95
 }
Please login to merge, or discard this patch.
lib/public/DB/IPreparedStatement.php 1 patch
Indentation   +82 added lines, -82 removed lines patch added patch discarded remove patch
@@ -42,94 +42,94 @@
 block discarded – undo
42 42
  * @since 21.0.0
43 43
  */
44 44
 interface IPreparedStatement {
45
-	/**
46
-	 * @return true
47
-	 *
48
-	 * @since 21.0.0
49
-	 * @deprecated 21.0.0 use \OCP\DB\IResult::closeCursor on the \OCP\DB\IResult returned by \OCP\IDBConnection::prepare
50
-	 */
51
-	public function closeCursor(): bool;
45
+    /**
46
+     * @return true
47
+     *
48
+     * @since 21.0.0
49
+     * @deprecated 21.0.0 use \OCP\DB\IResult::closeCursor on the \OCP\DB\IResult returned by \OCP\IDBConnection::prepare
50
+     */
51
+    public function closeCursor(): bool;
52 52
 
53
-	/**
54
-	 * @param int $fetchMode
55
-	 *
56
-	 * @return mixed
57
-	 *
58
-	 * @since 21.0.0
59
-	 * @deprecated 21.0.0 use \OCP\DB\IResult::fetch on the \OCP\DB\IResult returned by \OCP\IDBConnection::prepare
60
-	 */
61
-	public function fetch(int $fetchMode = PDO::FETCH_ASSOC);
53
+    /**
54
+     * @param int $fetchMode
55
+     *
56
+     * @return mixed
57
+     *
58
+     * @since 21.0.0
59
+     * @deprecated 21.0.0 use \OCP\DB\IResult::fetch on the \OCP\DB\IResult returned by \OCP\IDBConnection::prepare
60
+     */
61
+    public function fetch(int $fetchMode = PDO::FETCH_ASSOC);
62 62
 
63
-	/**
64
-	 * @param int $fetchMode
65
-	 *
66
-	 * @return mixed[]
67
-	 *
68
-	 * @since 21.0.0
69
-	 * @deprecated 21.0.0 use \OCP\DB\IResult::fetchAll on the \OCP\DB\IResult returned by \OCP\IDBConnection::prepare
70
-	 */
71
-	public function fetchAll(int $fetchMode = PDO::FETCH_ASSOC);
63
+    /**
64
+     * @param int $fetchMode
65
+     *
66
+     * @return mixed[]
67
+     *
68
+     * @since 21.0.0
69
+     * @deprecated 21.0.0 use \OCP\DB\IResult::fetchAll on the \OCP\DB\IResult returned by \OCP\IDBConnection::prepare
70
+     */
71
+    public function fetchAll(int $fetchMode = PDO::FETCH_ASSOC);
72 72
 
73
-	/**
74
-	 * @return mixed
75
-	 *
76
-	 * @since 21.0.0
77
-	 * @deprecated 21.0.0 use \OCP\DB\IResult::fetchColumn on the \OCP\DB\IResult returned by \OCP\IDBConnection::prepare
78
-	 */
79
-	public function fetchColumn();
73
+    /**
74
+     * @return mixed
75
+     *
76
+     * @since 21.0.0
77
+     * @deprecated 21.0.0 use \OCP\DB\IResult::fetchColumn on the \OCP\DB\IResult returned by \OCP\IDBConnection::prepare
78
+     */
79
+    public function fetchColumn();
80 80
 
81
-	/**
82
-	 * @return mixed
83
-	 *
84
-	 * @since 21.0.0
85
-	 * @deprecated 21.0.0 use \OCP\DB\IResult::fetchOne on the \OCP\DB\IResult returned by \OCP\IDBConnection::prepare
86
-	 */
87
-	public function fetchOne();
81
+    /**
82
+     * @return mixed
83
+     *
84
+     * @since 21.0.0
85
+     * @deprecated 21.0.0 use \OCP\DB\IResult::fetchOne on the \OCP\DB\IResult returned by \OCP\IDBConnection::prepare
86
+     */
87
+    public function fetchOne();
88 88
 
89
-	/**
90
-	 * @param int|string $param
91
-	 * @param mixed $value
92
-	 * @param int $type
93
-	 *
94
-	 * @return bool
95
-	 *
96
-	 * @throws Exception
97
-	 *
98
-	 * @since 21.0.0
99
-	 */
100
-	public function bindValue($param, $value, $type = ParameterType::STRING): bool;
89
+    /**
90
+     * @param int|string $param
91
+     * @param mixed $value
92
+     * @param int $type
93
+     *
94
+     * @return bool
95
+     *
96
+     * @throws Exception
97
+     *
98
+     * @since 21.0.0
99
+     */
100
+    public function bindValue($param, $value, $type = ParameterType::STRING): bool;
101 101
 
102
-	/**
103
-	 * @param int|string $param
104
-	 * @param mixed $variable
105
-	 * @param int $type
106
-	 * @param int|null $length
107
-	 *
108
-	 * @return bool
109
-	 *
110
-	 * @throws Exception
111
-	 *
112
-	 * @since 21.0.0
113
-	 */
114
-	public function bindParam($param, &$variable, $type = ParameterType::STRING, $length = null): bool;
102
+    /**
103
+     * @param int|string $param
104
+     * @param mixed $variable
105
+     * @param int $type
106
+     * @param int|null $length
107
+     *
108
+     * @return bool
109
+     *
110
+     * @throws Exception
111
+     *
112
+     * @since 21.0.0
113
+     */
114
+    public function bindParam($param, &$variable, $type = ParameterType::STRING, $length = null): bool;
115 115
 
116
-	/**
117
-	 * @param mixed[]|null $params
118
-	 *
119
-	 * @return IResult
120
-	 *
121
-	 * @since 21.0.0
122
-	 * @throws Exception
123
-	 */
124
-	public function execute($params = null): IResult;
116
+    /**
117
+     * @param mixed[]|null $params
118
+     *
119
+     * @return IResult
120
+     *
121
+     * @since 21.0.0
122
+     * @throws Exception
123
+     */
124
+    public function execute($params = null): IResult;
125 125
 
126
-	/**
127
-	 * @return int
128
-	 *
129
-	 * @since 21.0.0
130
-	 *
131
-	 * @throws Exception
132
-	 * @deprecated 21.0.0 use \OCP\DB\IResult::rowCount on the \OCP\DB\IResult returned by \OCP\IDBConnection::prepare
133
-	 */
134
-	public function rowCount(): int;
126
+    /**
127
+     * @return int
128
+     *
129
+     * @since 21.0.0
130
+     *
131
+     * @throws Exception
132
+     * @deprecated 21.0.0 use \OCP\DB\IResult::rowCount on the \OCP\DB\IResult returned by \OCP\IDBConnection::prepare
133
+     */
134
+    public function rowCount(): int;
135 135
 }
Please login to merge, or discard this patch.
lib/public/DB/ISchemaWrapper.php 1 patch
Indentation   +63 added lines, -63 removed lines patch added patch discarded remove patch
@@ -36,74 +36,74 @@
 block discarded – undo
36 36
  * @since 13.0.0
37 37
  */
38 38
 interface ISchemaWrapper {
39
-	/**
40
-	 * @param string $tableName
41
-	 *
42
-	 * @return \Doctrine\DBAL\Schema\Table
43
-	 * @throws \Doctrine\DBAL\Schema\SchemaException
44
-	 * @since 13.0.0
45
-	 */
46
-	public function getTable($tableName);
39
+    /**
40
+     * @param string $tableName
41
+     *
42
+     * @return \Doctrine\DBAL\Schema\Table
43
+     * @throws \Doctrine\DBAL\Schema\SchemaException
44
+     * @since 13.0.0
45
+     */
46
+    public function getTable($tableName);
47 47
 
48
-	/**
49
-	 * Does this schema have a table with the given name?
50
-	 *
51
-	 * @param string $tableName Prefix is automatically prepended
52
-	 *
53
-	 * @return boolean
54
-	 * @since 13.0.0
55
-	 */
56
-	public function hasTable($tableName);
48
+    /**
49
+     * Does this schema have a table with the given name?
50
+     *
51
+     * @param string $tableName Prefix is automatically prepended
52
+     *
53
+     * @return boolean
54
+     * @since 13.0.0
55
+     */
56
+    public function hasTable($tableName);
57 57
 
58
-	/**
59
-	 * Creates a new table.
60
-	 *
61
-	 * @param string $tableName Prefix is automatically prepended
62
-	 * @return \Doctrine\DBAL\Schema\Table
63
-	 * @since 13.0.0
64
-	 */
65
-	public function createTable($tableName);
58
+    /**
59
+     * Creates a new table.
60
+     *
61
+     * @param string $tableName Prefix is automatically prepended
62
+     * @return \Doctrine\DBAL\Schema\Table
63
+     * @since 13.0.0
64
+     */
65
+    public function createTable($tableName);
66 66
 
67
-	/**
68
-	 * Drops a table from the schema.
69
-	 *
70
-	 * @param string $tableName Prefix is automatically prepended
71
-	 * @return \Doctrine\DBAL\Schema\Schema
72
-	 * @since 13.0.0
73
-	 */
74
-	public function dropTable($tableName);
67
+    /**
68
+     * Drops a table from the schema.
69
+     *
70
+     * @param string $tableName Prefix is automatically prepended
71
+     * @return \Doctrine\DBAL\Schema\Schema
72
+     * @since 13.0.0
73
+     */
74
+    public function dropTable($tableName);
75 75
 
76
-	/**
77
-	 * Gets all tables of this schema.
78
-	 *
79
-	 * @return \Doctrine\DBAL\Schema\Table[]
80
-	 * @since 13.0.0
81
-	 */
82
-	public function getTables();
76
+    /**
77
+     * Gets all tables of this schema.
78
+     *
79
+     * @return \Doctrine\DBAL\Schema\Table[]
80
+     * @since 13.0.0
81
+     */
82
+    public function getTables();
83 83
 
84
-	/**
85
-	 * Gets all table names, prefixed with table prefix
86
-	 *
87
-	 * @return array
88
-	 * @since 13.0.0
89
-	 */
90
-	public function getTableNames();
84
+    /**
85
+     * Gets all table names, prefixed with table prefix
86
+     *
87
+     * @return array
88
+     * @since 13.0.0
89
+     */
90
+    public function getTableNames();
91 91
 
92
-	/**
93
-	 * Gets all table names
94
-	 *
95
-	 * @return array
96
-	 * @since 13.0.0
97
-	 */
98
-	public function getTableNamesWithoutPrefix();
92
+    /**
93
+     * Gets all table names
94
+     *
95
+     * @return array
96
+     * @since 13.0.0
97
+     */
98
+    public function getTableNamesWithoutPrefix();
99 99
 
100
-	/**
101
-	 * Gets the DatabasePlatform for the database.
102
-	 *
103
-	 * @return AbstractPlatform
104
-	 *
105
-	 * @throws Exception
106
-	 * @since 23.0.0
107
-	 */
108
-	public function getDatabasePlatform();
100
+    /**
101
+     * Gets the DatabasePlatform for the database.
102
+     *
103
+     * @return AbstractPlatform
104
+     *
105
+     * @throws Exception
106
+     * @since 23.0.0
107
+     */
108
+    public function getDatabasePlatform();
109 109
 }
Please login to merge, or discard this patch.
lib/public/UserMigration/IExportDestination.php 1 patch
Indentation   +46 added lines, -46 removed lines patch added patch discarded remove patch
@@ -32,54 +32,54 @@
 block discarded – undo
32 32
  * @since 24.0.0
33 33
  */
34 34
 interface IExportDestination {
35
-	/**
36
-	 * Adds a file to the export
37
-	 *
38
-	 * @param string $path Full path to the file in the export archive. Parent directories will be created if needed.
39
-	 * @param string $content The full content of the file.
40
-	 * @throws UserMigrationException
41
-	 *
42
-	 * @since 24.0.0
43
-	 */
44
-	public function addFileContents(string $path, string $content): void;
35
+    /**
36
+     * Adds a file to the export
37
+     *
38
+     * @param string $path Full path to the file in the export archive. Parent directories will be created if needed.
39
+     * @param string $content The full content of the file.
40
+     * @throws UserMigrationException
41
+     *
42
+     * @since 24.0.0
43
+     */
44
+    public function addFileContents(string $path, string $content): void;
45 45
 
46
-	/**
47
-	 * Adds a file to the export as a stream
48
-	 *
49
-	 * @param string $path Full path to the file in the export archive. Parent directories will be created if needed.
50
-	 * @param resource $stream A stream resource to read from to get the file content.
51
-	 * @throws UserMigrationException
52
-	 *
53
-	 * @since 24.0.0
54
-	 */
55
-	public function addFileAsStream(string $path, $stream): void;
46
+    /**
47
+     * Adds a file to the export as a stream
48
+     *
49
+     * @param string $path Full path to the file in the export archive. Parent directories will be created if needed.
50
+     * @param resource $stream A stream resource to read from to get the file content.
51
+     * @throws UserMigrationException
52
+     *
53
+     * @since 24.0.0
54
+     */
55
+    public function addFileAsStream(string $path, $stream): void;
56 56
 
57
-	/**
58
-	 * Copy a folder to the export
59
-	 *
60
-	 * @param Folder $folder folder to copy to the export archive.
61
-	 * @param string $destinationPath Full path to the folder in the export archive. Parent directories will be created if needed.
62
-	 * @param ?callable(\OCP\Files\Node):bool $nodeFilter Callback to filter nodes to copy
63
-	 * @throws UserMigrationException
64
-	 *
65
-	 * @since 24.0.0
66
-	 */
67
-	public function copyFolder(Folder $folder, string $destinationPath, ?callable $nodeFilter = null): void;
57
+    /**
58
+     * Copy a folder to the export
59
+     *
60
+     * @param Folder $folder folder to copy to the export archive.
61
+     * @param string $destinationPath Full path to the folder in the export archive. Parent directories will be created if needed.
62
+     * @param ?callable(\OCP\Files\Node):bool $nodeFilter Callback to filter nodes to copy
63
+     * @throws UserMigrationException
64
+     *
65
+     * @since 24.0.0
66
+     */
67
+    public function copyFolder(Folder $folder, string $destinationPath, ?callable $nodeFilter = null): void;
68 68
 
69
-	/**
70
-	 * @param array<string,int> $versions Migrators and their versions.
71
-	 * @throws UserMigrationException
72
-	 *
73
-	 * @since 24.0.0
74
-	 */
75
-	public function setMigratorVersions(array $versions): void;
69
+    /**
70
+     * @param array<string,int> $versions Migrators and their versions.
71
+     * @throws UserMigrationException
72
+     *
73
+     * @since 24.0.0
74
+     */
75
+    public function setMigratorVersions(array $versions): void;
76 76
 
77
-	/**
78
-	 * Called after export is complete
79
-	 *
80
-	 * @throws UserMigrationException
81
-	 *
82
-	 * @since 24.0.0
83
-	 */
84
-	public function close(): void;
77
+    /**
78
+     * Called after export is complete
79
+     *
80
+     * @throws UserMigrationException
81
+     *
82
+     * @since 24.0.0
83
+     */
84
+    public function close(): void;
85 85
 }
Please login to merge, or discard this patch.