Completed
Push — master ( a96350...d0f819 )
by
unknown
29:59
created
lib/public/DirectEditing/IToken.php 1 patch
Indentation   +43 added lines, -43 removed lines patch added patch discarded remove patch
@@ -29,53 +29,53 @@
 block discarded – undo
29 29
  * @since 18.0.0
30 30
  */
31 31
 interface IToken {
32
-	/**
33
-	 * Extend the token validity time
34
-	 *
35
-	 * @since 18.0.0
36
-	 */
37
-	public function extend(): void;
32
+    /**
33
+     * Extend the token validity time
34
+     *
35
+     * @since 18.0.0
36
+     */
37
+    public function extend(): void;
38 38
 
39
-	/**
40
-	 * Invalidate the token
41
-	 *
42
-	 * @since 18.0.0
43
-	 */
44
-	public function invalidate(): void;
39
+    /**
40
+     * Invalidate the token
41
+     *
42
+     * @since 18.0.0
43
+     */
44
+    public function invalidate(): void;
45 45
 
46
-	/**
47
-	 * Check if the token has already been used
48
-	 *
49
-	 * @since 18.0.0
50
-	 * @return bool
51
-	 */
52
-	public function hasBeenAccessed(): bool;
46
+    /**
47
+     * Check if the token has already been used
48
+     *
49
+     * @since 18.0.0
50
+     * @return bool
51
+     */
52
+    public function hasBeenAccessed(): bool;
53 53
 
54
-	/**
55
-	 * Change to the user scope of the token
56
-	 *
57
-	 * @since 18.0.0
58
-	 */
59
-	public function useTokenScope(): void;
54
+    /**
55
+     * Change to the user scope of the token
56
+     *
57
+     * @since 18.0.0
58
+     */
59
+    public function useTokenScope(): void;
60 60
 
61
-	/**
62
-	 * Get the file that is related to the token
63
-	 *
64
-	 * @since 18.0.0
65
-	 * @return File
66
-	 * @throws NotFoundException
67
-	 */
68
-	public function getFile(): File;
61
+    /**
62
+     * Get the file that is related to the token
63
+     *
64
+     * @since 18.0.0
65
+     * @return File
66
+     * @throws NotFoundException
67
+     */
68
+    public function getFile(): File;
69 69
 
70
-	/**
71
-	 * @since 18.0.0
72
-	 * @return string
73
-	 */
74
-	public function getEditor(): string;
70
+    /**
71
+     * @since 18.0.0
72
+     * @return string
73
+     */
74
+    public function getEditor(): string;
75 75
 
76
-	/**
77
-	 * @since 18.0.0
78
-	 * @return string
79
-	 */
80
-	public function getUser(): string;
76
+    /**
77
+     * @since 18.0.0
78
+     * @return string
79
+     */
80
+    public function getUser(): string;
81 81
 }
Please login to merge, or discard this patch.
lib/public/User/Events/PostLoginEvent.php 1 patch
Indentation   +45 added lines, -45 removed lines patch added patch discarded remove patch
@@ -34,57 +34,57 @@
 block discarded – undo
34 34
  * @since 18.0.0
35 35
  */
36 36
 class PostLoginEvent extends Event {
37
-	/** @var IUser */
38
-	private $user;
37
+    /** @var IUser */
38
+    private $user;
39 39
 
40
-	/**
41
-	 * @since 20.0.0
42
-	 * @var string
43
-	 */
44
-	private $loginName;
40
+    /**
41
+     * @since 20.0.0
42
+     * @var string
43
+     */
44
+    private $loginName;
45 45
 
46
-	/** @var string */
47
-	private $password;
46
+    /** @var string */
47
+    private $password;
48 48
 
49
-	/** @var bool */
50
-	private $isTokenLogin;
49
+    /** @var bool */
50
+    private $isTokenLogin;
51 51
 
52
-	/**
53
-	 * @since 18.0.0
54
-	 */
55
-	public function __construct(IUser $user, string $loginName, string $password, bool $isTokenLogin) {
56
-		parent::__construct();
57
-		$this->user = $user;
58
-		$this->loginName = $loginName;
59
-		$this->password = $password;
60
-		$this->isTokenLogin = $isTokenLogin;
61
-	}
52
+    /**
53
+     * @since 18.0.0
54
+     */
55
+    public function __construct(IUser $user, string $loginName, string $password, bool $isTokenLogin) {
56
+        parent::__construct();
57
+        $this->user = $user;
58
+        $this->loginName = $loginName;
59
+        $this->password = $password;
60
+        $this->isTokenLogin = $isTokenLogin;
61
+    }
62 62
 
63
-	/**
64
-	 * @since 18.0.0
65
-	 */
66
-	public function getUser(): IUser {
67
-		return $this->user;
68
-	}
63
+    /**
64
+     * @since 18.0.0
65
+     */
66
+    public function getUser(): IUser {
67
+        return $this->user;
68
+    }
69 69
 
70
-	/**
71
-	 * @since 20.0.0
72
-	 */
73
-	public function getLoginName(): string {
74
-		return $this->loginName;
75
-	}
70
+    /**
71
+     * @since 20.0.0
72
+     */
73
+    public function getLoginName(): string {
74
+        return $this->loginName;
75
+    }
76 76
 
77
-	/**
78
-	 * @since 18.0.0
79
-	 */
80
-	public function getPassword(): string {
81
-		return $this->password;
82
-	}
77
+    /**
78
+     * @since 18.0.0
79
+     */
80
+    public function getPassword(): string {
81
+        return $this->password;
82
+    }
83 83
 
84
-	/**
85
-	 * @since 18.0.0
86
-	 */
87
-	public function isTokenLogin(): bool {
88
-		return $this->isTokenLogin;
89
-	}
84
+    /**
85
+     * @since 18.0.0
86
+     */
87
+    public function isTokenLogin(): bool {
88
+        return $this->isTokenLogin;
89
+    }
90 90
 }
Please login to merge, or discard this patch.
lib/public/User/Events/BeforeUserDeletedEvent.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -32,23 +32,23 @@
 block discarded – undo
32 32
  * @since 18.0.0
33 33
  */
34 34
 class BeforeUserDeletedEvent extends Event {
35
-	/** @var IUser */
36
-	private $user;
35
+    /** @var IUser */
36
+    private $user;
37 37
 
38
-	/**
39
-	 * @param IUser $user
40
-	 * @since 18.0.0
41
-	 */
42
-	public function __construct(IUser $user) {
43
-		parent::__construct();
44
-		$this->user = $user;
45
-	}
38
+    /**
39
+     * @param IUser $user
40
+     * @since 18.0.0
41
+     */
42
+    public function __construct(IUser $user) {
43
+        parent::__construct();
44
+        $this->user = $user;
45
+    }
46 46
 
47
-	/**
48
-	 * @return IUser
49
-	 * @since 18.0.0
50
-	 */
51
-	public function getUser(): IUser {
52
-		return $this->user;
53
-	}
47
+    /**
48
+     * @return IUser
49
+     * @since 18.0.0
50
+     */
51
+    public function getUser(): IUser {
52
+        return $this->user;
53
+    }
54 54
 }
Please login to merge, or discard this patch.
lib/public/User/Events/BeforeUserLoggedInWithCookieEvent.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -34,21 +34,21 @@
 block discarded – undo
34 34
  * @since 18.0.0
35 35
  */
36 36
 class BeforeUserLoggedInWithCookieEvent extends Event {
37
-	/** @var string */
38
-	private $username;
37
+    /** @var string */
38
+    private $username;
39 39
 
40
-	/**
41
-	 * @since 18.0.0
42
-	 */
43
-	public function __construct(string $username) {
44
-		parent::__construct();
45
-		$this->username = $username;
46
-	}
40
+    /**
41
+     * @since 18.0.0
42
+     */
43
+    public function __construct(string $username) {
44
+        parent::__construct();
45
+        $this->username = $username;
46
+    }
47 47
 
48
-	/**
49
-	 * @since 18.0.0
50
-	 */
51
-	public function getUsername(): string {
52
-		return $this->username;
53
-	}
48
+    /**
49
+     * @since 18.0.0
50
+     */
51
+    public function getUsername(): string {
52
+        return $this->username;
53
+    }
54 54
 }
Please login to merge, or discard this patch.
lib/public/User/Backend/IGetDisplayNameBackend.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -29,11 +29,11 @@
 block discarded – undo
29 29
  * @since 14.0.0
30 30
  */
31 31
 interface IGetDisplayNameBackend {
32
-	/**
33
-	 * @since 14.0.0
34
-	 *
35
-	 * @param string $uid user ID of the user
36
-	 * @return string display name
37
-	 */
38
-	public function getDisplayName($uid): string;
32
+    /**
33
+     * @since 14.0.0
34
+     *
35
+     * @param string $uid user ID of the user
36
+     * @return string display name
37
+     */
38
+    public function getDisplayName($uid): string;
39 39
 }
Please login to merge, or discard this patch.
lib/public/User/Backend/IGetHomeBackend.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -29,11 +29,11 @@
 block discarded – undo
29 29
  * @since 14.0.0
30 30
  */
31 31
 interface IGetHomeBackend {
32
-	/**
33
-	 * @since 14.0.0
34
-	 *
35
-	 * @param string $uid the username
36
-	 * @return string|bool Datadir on success false on failure
37
-	 */
38
-	public function getHome(string $uid);
32
+    /**
33
+     * @since 14.0.0
34
+     *
35
+     * @param string $uid the username
36
+     * @return string|bool Datadir on success false on failure
37
+     */
38
+    public function getHome(string $uid);
39 39
 }
Please login to merge, or discard this patch.
lib/public/User/Backend/ISetDisplayNameBackend.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -29,15 +29,15 @@
 block discarded – undo
29 29
  * @since 14.0.0
30 30
  */
31 31
 interface ISetDisplayNameBackend {
32
-	/**
33
-	 * @since 14.0.0
34
-	 *
35
-	 * @param string $uid The username
36
-	 * @param string $displayName The new display name
37
-	 * @return bool
38
-	 *
39
-	 * @since 25.0.0 Throw InvalidArgumentException
40
-	 * @throws \InvalidArgumentException
41
-	 */
42
-	public function setDisplayName(string $uid, string $displayName): bool;
32
+    /**
33
+     * @since 14.0.0
34
+     *
35
+     * @param string $uid The username
36
+     * @param string $displayName The new display name
37
+     * @return bool
38
+     *
39
+     * @since 25.0.0 Throw InvalidArgumentException
40
+     * @throws \InvalidArgumentException
41
+     */
42
+    public function setDisplayName(string $uid, string $displayName): bool;
43 43
 }
Please login to merge, or discard this patch.
lib/public/User/Backend/ISetPasswordBackend.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 ISetPasswordBackend {
32
-	/**
33
-	 * @since 14.0.0
34
-	 *
35
-	 * @param string $uid The username
36
-	 * @param string $password The new password
37
-	 * @return bool
38
-	 */
39
-	public function setPassword(string $uid, string $password): bool;
32
+    /**
33
+     * @since 14.0.0
34
+     *
35
+     * @param string $uid The username
36
+     * @param string $password The new password
37
+     * @return bool
38
+     */
39
+    public function setPassword(string $uid, string $password): bool;
40 40
 }
Please login to merge, or discard this patch.
lib/public/User/Backend/ISearchKnownUsersBackend.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -29,13 +29,13 @@
 block discarded – undo
29 29
  * @since 21.0.1
30 30
  */
31 31
 interface ISearchKnownUsersBackend {
32
-	/**
33
-	 * @param string $searcher
34
-	 * @param string $pattern
35
-	 * @param int|null $limit
36
-	 * @param int|null $offset
37
-	 * @return array
38
-	 * @since 21.0.1
39
-	 */
40
-	public function searchKnownUsersByDisplayName(string $searcher, string $pattern, ?int $limit = null, ?int $offset = null): array;
32
+    /**
33
+     * @param string $searcher
34
+     * @param string $pattern
35
+     * @param int|null $limit
36
+     * @param int|null $offset
37
+     * @return array
38
+     * @since 21.0.1
39
+     */
40
+    public function searchKnownUsersByDisplayName(string $searcher, string $pattern, ?int $limit = null, ?int $offset = null): array;
41 41
 }
Please login to merge, or discard this patch.