Completed
Push — master ( 92e282...5f81a7 )
by John
25:44 queued 14s
created
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.
lib/public/Group/Events/GroupCreatedEvent.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 GroupCreatedEvent 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.
lib/public/Group/Events/GroupDeletedEvent.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 GroupDeletedEvent 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.
lib/public/Group/Events/BeforeGroupCreatedEvent.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -31,22 +31,22 @@
 block discarded – undo
31 31
  * @since 18.0.0
32 32
  */
33 33
 class BeforeGroupCreatedEvent extends Event {
34
-	/** @var string */
35
-	private $name;
34
+    /** @var string */
35
+    private $name;
36 36
 
37
-	/**
38
-	 * @since 18.0.0
39
-	 */
40
-	public function __construct(string $name) {
41
-		parent::__construct();
42
-		$this->name = $name;
43
-	}
37
+    /**
38
+     * @since 18.0.0
39
+     */
40
+    public function __construct(string $name) {
41
+        parent::__construct();
42
+        $this->name = $name;
43
+    }
44 44
 
45
-	/**
46
-	 * @return string
47
-	 * @since 18.0.0
48
-	 */
49
-	public function getName(): string {
50
-		return $this->name;
51
-	}
45
+    /**
46
+     * @return string
47
+     * @since 18.0.0
48
+     */
49
+    public function getName(): string {
50
+        return $this->name;
51
+    }
52 52
 }
Please login to merge, or discard this patch.
lib/public/Group/Backend/IGetDisplayNameBackend.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 17.0.0
31 31
  */
32 32
 interface IGetDisplayNameBackend {
33
-	/**
34
-	 * @param string $gid
35
-	 * @return string
36
-	 * @since 17.0.0
37
-	 */
38
-	public function getDisplayName(string $gid): string;
33
+    /**
34
+     * @param string $gid
35
+     * @return string
36
+     * @since 17.0.0
37
+     */
38
+    public function getDisplayName(string $gid): string;
39 39
 }
Please login to merge, or discard this patch.
lib/public/Group/Backend/IDeleteGroupBackend.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 14.0.0
30 30
  */
31 31
 interface IDeleteGroupBackend {
32
-	/**
33
-	 * @since 14.0.0
34
-	 */
35
-	public function deleteGroup(string $gid): bool;
32
+    /**
33
+     * @since 14.0.0
34
+     */
35
+    public function deleteGroup(string $gid): bool;
36 36
 }
Please login to merge, or discard this patch.
lib/public/Group/Backend/IRemoveFromGroupBackend.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 14.0.0
30 30
  */
31 31
 interface IRemoveFromGroupBackend {
32
-	/**
33
-	 * @since 14.0.0
34
-	 */
35
-	public function removeFromGroup(string $uid, string $gid);
32
+    /**
33
+     * @since 14.0.0
34
+     */
35
+    public function removeFromGroup(string $uid, string $gid);
36 36
 }
Please login to merge, or discard this patch.