Passed
Push — master ( 67f90c...bc4091 )
by Blizzz
09:54 queued 10s
created
apps/user_ldap/lib/Handler/ExtStorageConfigHandler.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -41,22 +41,22 @@
 block discarded – undo
41 41
 		$this->placeholder = 'home';
42 42
 		$user = $this->getUser();
43 43
 
44
-		if($user === null) {
44
+		if ($user === null) {
45 45
 			return $optionValue;
46 46
 		}
47 47
 
48 48
 		$backend = $user->getBackend();
49
-		if(!$backend instanceof User_Proxy) {
49
+		if (!$backend instanceof User_Proxy) {
50 50
 			return $optionValue;
51 51
 		}
52 52
 
53 53
 		$access = $backend->getLDAPAccess($user->getUID());
54
-		if(!$access) {
54
+		if (!$access) {
55 55
 			return $optionValue;
56 56
 		}
57 57
 
58 58
 		$attribute = $access->connection->ldapExtStorageHomeAttribute;
59
-		if(empty($attribute)) {
59
+		if (empty($attribute)) {
60 60
 			return $optionValue;
61 61
 		}
62 62
 
Please login to merge, or discard this patch.
apps/files_external/lib/Config/UserPlaceholderHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
 	public function handle($optionValue) {
35 35
 		$this->placeholder = 'user';
36 36
 		$uid = $this->getUserId();
37
-		if($uid === null) {
37
+		if ($uid === null) {
38 38
 			return $optionValue;
39 39
 		}
40 40
 		return $this->processInput($optionValue, $uid);
Please login to merge, or discard this patch.
apps/files_external/lib/Config/UserContext.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 		if ($this->userId !== null) {
67 67
 			return $this->userId;
68 68
 		}
69
-		if($this->session && $this->session->getUser() !== null) {
69
+		if ($this->session && $this->session->getUser() !== null) {
70 70
 			return $this->session->getUser()->getUID();
71 71
 		}
72 72
 		try {
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
 
81 81
 	protected function getUser(): ?IUser {
82 82
 		$userId = $this->getUserId();
83
-		if($userId !== null) {
83
+		if ($userId !== null) {
84 84
 			return $this->userManager->get($userId);
85 85
 		}
86 86
 		return null;
Please login to merge, or discard this patch.