Completed
Push — master ( abd971...9e9f3b )
by
unknown
64:29 queued 25:08
created
lib/public/Contacts/ContactsMenu/ILinkAction.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -26,15 +26,15 @@
 block discarded – undo
26 26
  * @since 12.0
27 27
  */
28 28
 interface ILinkAction extends IAction {
29
-	/**
30
-	 * @param string $href the target URL of the action
31
-	 * @since 12.0
32
-	 */
33
-	public function setHref(string $href);
29
+    /**
30
+     * @param string $href the target URL of the action
31
+     * @since 12.0
32
+     */
33
+    public function setHref(string $href);
34 34
 
35
-	/**
36
-	 * @since 12.0
37
-	 * @return string
38
-	 */
39
-	public function getHref(): string;
35
+    /**
36
+     * @since 12.0
37
+     * @return string
38
+     */
39
+    public function getHref(): string;
40 40
 }
Please login to merge, or discard this patch.
lib/public/Contacts/ContactsMenu/IActionFactory.php 1 patch
Indentation   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -26,29 +26,29 @@
 block discarded – undo
26 26
  * @since 12.0
27 27
  */
28 28
 interface IActionFactory {
29
-	/**
30
-	 * Construct and return a new link action for the contacts menu
31
-	 *
32
-	 * @since 12.0
33
-	 *
34
-	 * @param string $icon full path to the action's icon
35
-	 * @param string $name localized name of the action
36
-	 * @param string $href target URL
37
-	 * @param string $appId the app ID registering the action
38
-	 * @return ILinkAction
39
-	 */
40
-	public function newLinkAction(string $icon, string $name, string $href, string $appId = ''): ILinkAction;
29
+    /**
30
+     * Construct and return a new link action for the contacts menu
31
+     *
32
+     * @since 12.0
33
+     *
34
+     * @param string $icon full path to the action's icon
35
+     * @param string $name localized name of the action
36
+     * @param string $href target URL
37
+     * @param string $appId the app ID registering the action
38
+     * @return ILinkAction
39
+     */
40
+    public function newLinkAction(string $icon, string $name, string $href, string $appId = ''): ILinkAction;
41 41
 
42
-	/**
43
-	 * Construct and return a new email action for the contacts menu
44
-	 *
45
-	 * @since 12.0
46
-	 *
47
-	 * @param string $icon full path to the action's icon
48
-	 * @param string $name localized name of the action
49
-	 * @param string $email target e-mail address
50
-	 * @param string $appId the appName registering the action
51
-	 * @return ILinkAction
52
-	 */
53
-	public function newEMailAction(string $icon, string $name, string $email, string $appId = ''): ILinkAction;
42
+    /**
43
+     * Construct and return a new email action for the contacts menu
44
+     *
45
+     * @since 12.0
46
+     *
47
+     * @param string $icon full path to the action's icon
48
+     * @param string $name localized name of the action
49
+     * @param string $email target e-mail address
50
+     * @param string $appId the appName registering the action
51
+     * @return ILinkAction
52
+     */
53
+    public function newEMailAction(string $icon, string $name, string $email, string $appId = ''): ILinkAction;
54 54
 }
Please login to merge, or discard this patch.
lib/public/Contacts/ContactsMenu/IContactsStore.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -30,19 +30,19 @@
 block discarded – undo
30 30
  * @since 13.0.0
31 31
  */
32 32
 interface IContactsStore {
33
-	/**
34
-	 * @param IUser $user
35
-	 * @param string|null $filter
36
-	 * @param int|null $limit added 19.0.2
37
-	 * @param int|null $offset added 19.0.2
38
-	 * @return IEntry[]
39
-	 * @since 13.0.0
40
-	 */
41
-	public function getContacts(IUser $user, ?string $filter, ?int $limit = null, ?int $offset = null): array;
33
+    /**
34
+     * @param IUser $user
35
+     * @param string|null $filter
36
+     * @param int|null $limit added 19.0.2
37
+     * @param int|null $offset added 19.0.2
38
+     * @return IEntry[]
39
+     * @since 13.0.0
40
+     */
41
+    public function getContacts(IUser $user, ?string $filter, ?int $limit = null, ?int $offset = null): array;
42 42
 
43
-	/**
44
-	 * @brief finds a contact by specifying the property to search on ($shareType) and the value ($shareWith)
45
-	 * @since 13.0.0
46
-	 */
47
-	public function findOne(IUser $user, int $shareType, string $shareWith): ?IEntry;
43
+    /**
44
+     * @brief finds a contact by specifying the property to search on ($shareType) and the value ($shareWith)
45
+     * @since 13.0.0
46
+     */
47
+    public function findOne(IUser $user, int $shareType, string $shareWith): ?IEntry;
48 48
 }
Please login to merge, or discard this patch.
lib/public/Contacts/Events/ContactInteractedWithEvent.php 1 patch
Indentation   +81 added lines, -81 removed lines patch added patch discarded remove patch
@@ -39,96 +39,96 @@
 block discarded – undo
39 39
  * @since 19.0.0
40 40
  */
41 41
 class ContactInteractedWithEvent extends Event {
42
-	/** @var IUser */
43
-	private $actor;
42
+    /** @var IUser */
43
+    private $actor;
44 44
 
45
-	/** @var string|null */
46
-	private $uid;
45
+    /** @var string|null */
46
+    private $uid;
47 47
 
48
-	/** @var string|null */
49
-	private $email;
48
+    /** @var string|null */
49
+    private $email;
50 50
 
51
-	/** @var string|null */
52
-	private $federatedCloudId;
51
+    /** @var string|null */
52
+    private $federatedCloudId;
53 53
 
54
-	/**
55
-	 * @param IUser $actor the user who started the interaction
56
-	 *
57
-	 * @since 19.0.0
58
-	 */
59
-	public function __construct(IUser $actor) {
60
-		parent::__construct();
61
-		$this->actor = $actor;
62
-	}
54
+    /**
55
+     * @param IUser $actor the user who started the interaction
56
+     *
57
+     * @since 19.0.0
58
+     */
59
+    public function __construct(IUser $actor) {
60
+        parent::__construct();
61
+        $this->actor = $actor;
62
+    }
63 63
 
64
-	/**
65
-	 * @return IUser
66
-	 * @since 19.0.0
67
-	 */
68
-	public function getActor(): IUser {
69
-		return $this->actor;
70
-	}
64
+    /**
65
+     * @return IUser
66
+     * @since 19.0.0
67
+     */
68
+    public function getActor(): IUser {
69
+        return $this->actor;
70
+    }
71 71
 
72
-	/**
73
-	 * @return string|null
74
-	 * @since 19.0.0
75
-	 */
76
-	public function getUid(): ?string {
77
-		return $this->uid;
78
-	}
72
+    /**
73
+     * @return string|null
74
+     * @since 19.0.0
75
+     */
76
+    public function getUid(): ?string {
77
+        return $this->uid;
78
+    }
79 79
 
80
-	/**
81
-	 * Set the uid of the person interacted with, if known
82
-	 *
83
-	 * @param string $uid
84
-	 *
85
-	 * @return self
86
-	 * @since 19.0.0
87
-	 */
88
-	public function setUid(string $uid): self {
89
-		$this->uid = $uid;
90
-		return $this;
91
-	}
80
+    /**
81
+     * Set the uid of the person interacted with, if known
82
+     *
83
+     * @param string $uid
84
+     *
85
+     * @return self
86
+     * @since 19.0.0
87
+     */
88
+    public function setUid(string $uid): self {
89
+        $this->uid = $uid;
90
+        return $this;
91
+    }
92 92
 
93
-	/**
94
-	 * @return string|null
95
-	 * @since 19.0.0
96
-	 */
97
-	public function getEmail(): ?string {
98
-		return $this->email;
99
-	}
93
+    /**
94
+     * @return string|null
95
+     * @since 19.0.0
96
+     */
97
+    public function getEmail(): ?string {
98
+        return $this->email;
99
+    }
100 100
 
101
-	/**
102
-	 * Set the email of the person interacted with, if known
103
-	 *
104
-	 * @param string $email
105
-	 *
106
-	 * @return self
107
-	 * @since 19.0.0
108
-	 */
109
-	public function setEmail(string $email): self {
110
-		$this->email = $email;
111
-		return $this;
112
-	}
101
+    /**
102
+     * Set the email of the person interacted with, if known
103
+     *
104
+     * @param string $email
105
+     *
106
+     * @return self
107
+     * @since 19.0.0
108
+     */
109
+    public function setEmail(string $email): self {
110
+        $this->email = $email;
111
+        return $this;
112
+    }
113 113
 
114
-	/**
115
-	 * @return string|null
116
-	 * @since 19.0.0
117
-	 */
118
-	public function getFederatedCloudId(): ?string {
119
-		return $this->federatedCloudId;
120
-	}
114
+    /**
115
+     * @return string|null
116
+     * @since 19.0.0
117
+     */
118
+    public function getFederatedCloudId(): ?string {
119
+        return $this->federatedCloudId;
120
+    }
121 121
 
122
-	/**
123
-	 * Set the federated cloud of the person interacted with, if known
124
-	 *
125
-	 * @param string $federatedCloudId
126
-	 *
127
-	 * @return self
128
-	 * @since 19.0.0
129
-	 */
130
-	public function setFederatedCloudId(string $federatedCloudId): self {
131
-		$this->federatedCloudId = $federatedCloudId;
132
-		return $this;
133
-	}
122
+    /**
123
+     * Set the federated cloud of the person interacted with, if known
124
+     *
125
+     * @param string $federatedCloudId
126
+     *
127
+     * @return self
128
+     * @since 19.0.0
129
+     */
130
+    public function setFederatedCloudId(string $federatedCloudId): self {
131
+        $this->federatedCloudId = $federatedCloudId;
132
+        return $this;
133
+    }
134 134
 }
Please login to merge, or discard this patch.
lib/public/ISession.php 1 patch
Indentation   +65 added lines, -65 removed lines patch added patch discarded remove patch
@@ -41,77 +41,77 @@
 block discarded – undo
41 41
  * @since 6.0.0
42 42
  */
43 43
 interface ISession {
44
-	/**
45
-	 * Set a value in the session
46
-	 *
47
-	 * @param string $key
48
-	 * @param mixed $value
49
-	 * @since 6.0.0
50
-	 */
51
-	public function set(string $key, $value);
44
+    /**
45
+     * Set a value in the session
46
+     *
47
+     * @param string $key
48
+     * @param mixed $value
49
+     * @since 6.0.0
50
+     */
51
+    public function set(string $key, $value);
52 52
 
53
-	/**
54
-	 * Get a value from the session
55
-	 *
56
-	 * @param string $key
57
-	 * @return mixed should return null if $key does not exist
58
-	 * @since 6.0.0
59
-	 */
60
-	public function get(string $key);
53
+    /**
54
+     * Get a value from the session
55
+     *
56
+     * @param string $key
57
+     * @return mixed should return null if $key does not exist
58
+     * @since 6.0.0
59
+     */
60
+    public function get(string $key);
61 61
 
62
-	/**
63
-	 * Check if a named key exists in the session
64
-	 *
65
-	 * @param string $key
66
-	 * @return bool
67
-	 * @since 6.0.0
68
-	 */
69
-	public function exists(string $key): bool;
62
+    /**
63
+     * Check if a named key exists in the session
64
+     *
65
+     * @param string $key
66
+     * @return bool
67
+     * @since 6.0.0
68
+     */
69
+    public function exists(string $key): bool;
70 70
 
71
-	/**
72
-	 * Remove a $key/$value pair from the session
73
-	 *
74
-	 * @param string $key
75
-	 * @since 6.0.0
76
-	 */
77
-	public function remove(string $key);
71
+    /**
72
+     * Remove a $key/$value pair from the session
73
+     *
74
+     * @param string $key
75
+     * @since 6.0.0
76
+     */
77
+    public function remove(string $key);
78 78
 
79
-	/**
80
-	 * Reset and recreate the session
81
-	 * @since 6.0.0
82
-	 */
83
-	public function clear();
79
+    /**
80
+     * Reset and recreate the session
81
+     * @since 6.0.0
82
+     */
83
+    public function clear();
84 84
 
85
-	/**
86
-	 * Reopen a session for writing again
87
-	 *
88
-	 * @return bool true if the session was actually reopened, otherwise false
89
-	 * @since 25.0.0
90
-	 */
91
-	public function reopen(): bool;
85
+    /**
86
+     * Reopen a session for writing again
87
+     *
88
+     * @return bool true if the session was actually reopened, otherwise false
89
+     * @since 25.0.0
90
+     */
91
+    public function reopen(): bool;
92 92
 
93
-	/**
94
-	 * Close the session and release the lock
95
-	 * @since 7.0.0
96
-	 */
97
-	public function close();
93
+    /**
94
+     * Close the session and release the lock
95
+     * @since 7.0.0
96
+     */
97
+    public function close();
98 98
 
99
-	/**
100
-	 * Wrapper around session_regenerate_id
101
-	 *
102
-	 * @param bool $deleteOldSession Whether to delete the old associated session file or not.
103
-	 * @param bool $updateToken Wheater to update the associated auth token
104
-	 * @return void
105
-	 * @since 9.0.0, $updateToken added in 14.0.0
106
-	 */
107
-	public function regenerateId(bool $deleteOldSession = true, bool $updateToken = false);
99
+    /**
100
+     * Wrapper around session_regenerate_id
101
+     *
102
+     * @param bool $deleteOldSession Whether to delete the old associated session file or not.
103
+     * @param bool $updateToken Wheater to update the associated auth token
104
+     * @return void
105
+     * @since 9.0.0, $updateToken added in 14.0.0
106
+     */
107
+    public function regenerateId(bool $deleteOldSession = true, bool $updateToken = false);
108 108
 
109
-	/**
110
-	 * Wrapper around session_id
111
-	 *
112
-	 * @return string
113
-	 * @throws SessionNotAvailableException
114
-	 * @since 9.1.0
115
-	 */
116
-	public function getId(): string;
109
+    /**
110
+     * Wrapper around session_id
111
+     *
112
+     * @return string
113
+     * @throws SessionNotAvailableException
114
+     * @since 9.1.0
115
+     */
116
+    public function getId(): string;
117 117
 }
Please login to merge, or discard this patch.
lib/public/Migration/IRepairStep.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -28,21 +28,21 @@
 block discarded – undo
28 28
  * @since 9.1.0
29 29
  */
30 30
 interface IRepairStep {
31
-	/**
32
-	 * Returns the step's name
33
-	 *
34
-	 * @return string
35
-	 * @since 9.1.0
36
-	 */
37
-	public function getName();
31
+    /**
32
+     * Returns the step's name
33
+     *
34
+     * @return string
35
+     * @since 9.1.0
36
+     */
37
+    public function getName();
38 38
 
39
-	/**
40
-	 * Run repair step.
41
-	 * Must throw exception on error.
42
-	 *
43
-	 * @param IOutput $output
44
-	 * @throws \Exception in case of failure
45
-	 * @since 9.1.0
46
-	 */
47
-	public function run(IOutput $output);
39
+    /**
40
+     * Run repair step.
41
+     * Must throw exception on error.
42
+     *
43
+     * @param IOutput $output
44
+     * @throws \Exception in case of failure
45
+     * @since 9.1.0
46
+     */
47
+    public function run(IOutput $output);
48 48
 }
Please login to merge, or discard this patch.
lib/public/Route/IRouter.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -32,16 +32,16 @@
 block discarded – undo
32 32
  * @deprecated 9.0.0
33 33
  */
34 34
 interface IRouter {
35
-	/**
36
-	 * Create a \OCP\Route\IRoute.
37
-	 *
38
-	 * @param string $name Name of the route to create.
39
-	 * @param string $pattern The pattern to match
40
-	 * @param array $defaults An array of default parameter values
41
-	 * @param array $requirements An array of requirements for parameters (regexes)
42
-	 * @return \OCP\Route\IRoute
43
-	 * @since 7.0.0
44
-	 * @deprecated 9.0.0
45
-	 */
46
-	public function create($name, $pattern, array $defaults = [], array $requirements = []);
35
+    /**
36
+     * Create a \OCP\Route\IRoute.
37
+     *
38
+     * @param string $name Name of the route to create.
39
+     * @param string $pattern The pattern to match
40
+     * @param array $defaults An array of default parameter values
41
+     * @param array $requirements An array of requirements for parameters (regexes)
42
+     * @return \OCP\Route\IRoute
43
+     * @since 7.0.0
44
+     * @deprecated 9.0.0
45
+     */
46
+    public function create($name, $pattern, array $defaults = [], array $requirements = []);
47 47
 }
Please login to merge, or discard this patch.
lib/public/Group/ISubAdmin.php 1 patch
Indentation   +58 added lines, -58 removed lines patch added patch discarded remove patch
@@ -32,68 +32,68 @@
 block discarded – undo
32 32
  * @since 16.0.0
33 33
  */
34 34
 interface ISubAdmin {
35
-	/**
36
-	 * add a SubAdmin
37
-	 * @param IUser $user user to be SubAdmin
38
-	 * @param IGroup $group group $user becomes subadmin of
39
-	 *
40
-	 * @since 16.0.0
41
-	 */
42
-	public function createSubAdmin(IUser $user, IGroup $group): void;
35
+    /**
36
+     * add a SubAdmin
37
+     * @param IUser $user user to be SubAdmin
38
+     * @param IGroup $group group $user becomes subadmin of
39
+     *
40
+     * @since 16.0.0
41
+     */
42
+    public function createSubAdmin(IUser $user, IGroup $group): void;
43 43
 
44
-	/**
45
-	 * delete a SubAdmin
46
-	 * @param IUser $user the user that is the SubAdmin
47
-	 * @param IGroup $group the group
48
-	 *
49
-	 * @since 16.0.0
50
-	 */
51
-	public function deleteSubAdmin(IUser $user, IGroup $group): void;
44
+    /**
45
+     * delete a SubAdmin
46
+     * @param IUser $user the user that is the SubAdmin
47
+     * @param IGroup $group the group
48
+     *
49
+     * @since 16.0.0
50
+     */
51
+    public function deleteSubAdmin(IUser $user, IGroup $group): void;
52 52
 
53
-	/**
54
-	 * get groups of a SubAdmin
55
-	 * @param IUser $user the SubAdmin
56
-	 * @return IGroup[]
57
-	 *
58
-	 * @since 16.0.0
59
-	 */
60
-	public function getSubAdminsGroups(IUser $user): array;
53
+    /**
54
+     * get groups of a SubAdmin
55
+     * @param IUser $user the SubAdmin
56
+     * @return IGroup[]
57
+     *
58
+     * @since 16.0.0
59
+     */
60
+    public function getSubAdminsGroups(IUser $user): array;
61 61
 
62
-	/**
63
-	 * get SubAdmins of a group
64
-	 * @param IGroup $group the group
65
-	 * @return IUser[]
66
-	 *
67
-	 * @since 16.0.0
68
-	 */
69
-	public function getGroupsSubAdmins(IGroup $group): array;
62
+    /**
63
+     * get SubAdmins of a group
64
+     * @param IGroup $group the group
65
+     * @return IUser[]
66
+     *
67
+     * @since 16.0.0
68
+     */
69
+    public function getGroupsSubAdmins(IGroup $group): array;
70 70
 
71
-	/**
72
-	 * checks if a user is a SubAdmin of a group
73
-	 * @param IUser $user
74
-	 * @param IGroup $group
75
-	 * @return bool
76
-	 *
77
-	 * @since 16.0.0
78
-	 */
79
-	public function isSubAdminOfGroup(IUser $user, IGroup $group): bool;
71
+    /**
72
+     * checks if a user is a SubAdmin of a group
73
+     * @param IUser $user
74
+     * @param IGroup $group
75
+     * @return bool
76
+     *
77
+     * @since 16.0.0
78
+     */
79
+    public function isSubAdminOfGroup(IUser $user, IGroup $group): bool;
80 80
 
81
-	/**
82
-	 * checks if a user is a SubAdmin
83
-	 * @param IUser $user
84
-	 * @return bool
85
-	 *
86
-	 * @since 16.0.0
87
-	 */
88
-	public function isSubAdmin(IUser $user): bool;
81
+    /**
82
+     * checks if a user is a SubAdmin
83
+     * @param IUser $user
84
+     * @return bool
85
+     *
86
+     * @since 16.0.0
87
+     */
88
+    public function isSubAdmin(IUser $user): bool;
89 89
 
90
-	/**
91
-	 * checks if a user is a accessible by a subadmin
92
-	 * @param IUser $subadmin
93
-	 * @param IUser $user
94
-	 * @return bool
95
-	 *
96
-	 * @since 16.0.0
97
-	 */
98
-	public function isUserAccessible(IUser $subadmin, IUser $user): bool;
90
+    /**
91
+     * checks if a user is a accessible by a subadmin
92
+     * @param IUser $subadmin
93
+     * @param IUser $user
94
+     * @return bool
95
+     *
96
+     * @since 16.0.0
97
+     */
98
+    public function isUserAccessible(IUser $subadmin, IUser $user): bool;
99 99
 }
Please login to merge, or discard this patch.
lib/public/Group/Events/BeforeGroupDeletedEvent.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
  * @since 18.0.0
33 33
  */
34 34
 class BeforeGroupDeletedEvent extends Event {
35
-	/** @var IGroup */
36
-	private $group;
35
+    /** @var IGroup */
36
+    private $group;
37 37
 
38
-	/**
39
-	 * @since 18.0.0
40
-	 */
41
-	public function __construct(IGroup $group) {
42
-		parent::__construct();
43
-		$this->group = $group;
44
-	}
38
+    /**
39
+     * @since 18.0.0
40
+     */
41
+    public function __construct(IGroup $group) {
42
+        parent::__construct();
43
+        $this->group = $group;
44
+    }
45 45
 
46
-	/**
47
-	 * @return IGroup
48
-	 * @since 18.0.0
49
-	 */
50
-	public function getGroup(): IGroup {
51
-		return $this->group;
52
-	}
46
+    /**
47
+     * @return IGroup
48
+     * @since 18.0.0
49
+     */
50
+    public function getGroup(): IGroup {
51
+        return $this->group;
52
+    }
53 53
 }
Please login to merge, or discard this patch.