@@ -135,13 +135,13 @@ |
||
135 | 135 | $this->progress->finish(); |
136 | 136 | $this->output->writeln(''); |
137 | 137 | } elseif ($event instanceof RepairStepEvent) { |
138 | - $this->output->writeln('<info> - ' . $event->getStepName() . '</info>'); |
|
138 | + $this->output->writeln('<info> - '.$event->getStepName().'</info>'); |
|
139 | 139 | } elseif ($event instanceof RepairInfoEvent) { |
140 | - $this->output->writeln('<info> - ' . $event->getMessage() . '</info>'); |
|
140 | + $this->output->writeln('<info> - '.$event->getMessage().'</info>'); |
|
141 | 141 | } elseif ($event instanceof RepairWarningEvent) { |
142 | - $this->output->writeln('<comment> - WARNING: ' . $event->getMessage() . '</comment>'); |
|
142 | + $this->output->writeln('<comment> - WARNING: '.$event->getMessage().'</comment>'); |
|
143 | 143 | } elseif ($event instanceof RepairErrorEvent) { |
144 | - $this->output->writeln('<error> - ERROR: ' . $event->getMessage() . '</error>'); |
|
144 | + $this->output->writeln('<error> - ERROR: '.$event->getMessage().'</error>'); |
|
145 | 145 | $this->errored = true; |
146 | 146 | } |
147 | 147 | } |
@@ -81,8 +81,8 @@ discard block |
||
81 | 81 | $sectionSettings = array_reduce($sectionSettings, [$this, 'getDelegatedSettings'], []); |
82 | 82 | $settings = array_merge( |
83 | 83 | $settings, |
84 | - array_map(function (IDelegatedSettings $setting) use ($section) { |
|
85 | - $sectionName = $section->getName() . ($setting->getName() !== null ? ' - ' . $setting->getName() : ''); |
|
84 | + array_map(function(IDelegatedSettings $setting) use ($section) { |
|
85 | + $sectionName = $section->getName().($setting->getName() !== null ? ' - '.$setting->getName() : ''); |
|
86 | 86 | return [ |
87 | 87 | 'class' => get_class($setting), |
88 | 88 | 'sectionName' => $sectionName, |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | ); |
94 | 94 | } |
95 | 95 | } |
96 | - usort($settings, function (array $a, array $b) { |
|
96 | + usort($settings, function(array $a, array $b) { |
|
97 | 97 | if ($a['priority'] == $b['priority']) { |
98 | 98 | return 0; |
99 | 99 | } |
@@ -77,15 +77,15 @@ discard block |
||
77 | 77 | if (mb_strpos($referenceText, $start) === 0) { |
78 | 78 | $parts = parse_url($referenceText); |
79 | 79 | parse_str($parts['query'] ?? '', $query); |
80 | - $fileId = isset($query['fileid']) ? (int)$query['fileid'] : $fileId; |
|
81 | - $fileId = isset($query['openfile']) ? (int)$query['openfile'] : $fileId; |
|
80 | + $fileId = isset($query['fileid']) ? (int) $query['fileid'] : $fileId; |
|
81 | + $fileId = isset($query['openfile']) ? (int) $query['openfile'] : $fileId; |
|
82 | 82 | } |
83 | 83 | |
84 | 84 | if (mb_strpos($referenceText, $startIndex) === 0) { |
85 | 85 | $parts = parse_url($referenceText); |
86 | 86 | parse_str($parts['query'] ?? '', $query); |
87 | - $fileId = isset($query['fileid']) ? (int)$query['fileid'] : $fileId; |
|
88 | - $fileId = isset($query['openfile']) ? (int)$query['openfile'] : $fileId; |
|
87 | + $fileId = isset($query['fileid']) ? (int) $query['fileid'] : $fileId; |
|
88 | + $fileId = isset($query['openfile']) ? (int) $query['openfile'] : $fileId; |
|
89 | 89 | } |
90 | 90 | |
91 | 91 | if (mb_strpos($referenceText, $this->urlGenerator->getAbsoluteURL('/index.php/f/')) === 0) { |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | $fileId = str_replace($this->urlGenerator->getAbsoluteURL('/f/'), '', $referenceText); |
97 | 97 | } |
98 | 98 | |
99 | - return $fileId !== null ? (int)$fileId : null; |
|
99 | + return $fileId !== null ? (int) $fileId : null; |
|
100 | 100 | } |
101 | 101 | |
102 | 102 | public function resolveReference(string $referenceText): ?IReference { |
@@ -140,7 +140,7 @@ discard block |
||
140 | 140 | |
141 | 141 | $reference->setTitle($file->getName()); |
142 | 142 | $reference->setDescription($file->getMimetype()); |
143 | - $reference->setUrl($this->urlGenerator->getAbsoluteURL('/index.php/f/' . $fileId)); |
|
143 | + $reference->setUrl($this->urlGenerator->getAbsoluteURL('/index.php/f/'.$fileId)); |
|
144 | 144 | if ($this->previewManager->isMimeSupported($file->getMimeType())) { |
145 | 145 | $reference->setImageUrl($this->urlGenerator->linkToRouteAbsolute('core.Preview.getPreviewByFileId', ['x' => 1600, 'y' => 630, 'fileId' => $fileId])); |
146 | 146 | } else { |
@@ -158,13 +158,13 @@ discard block |
||
158 | 158 | 'mtime' => $file->getMTime(), |
159 | 159 | 'preview-available' => $this->previewManager->isAvailable($file) |
160 | 160 | ]); |
161 | - } catch (InvalidPathException|NotFoundException|NotPermittedException|NoUserException $e) { |
|
161 | + } catch (InvalidPathException | NotFoundException | NotPermittedException | NoUserException $e) { |
|
162 | 162 | throw new NotFoundException(); |
163 | 163 | } |
164 | 164 | } |
165 | 165 | |
166 | 166 | public function getCachePrefix(string $referenceId): string { |
167 | - return (string)$this->getFilesAppLinkId($referenceId); |
|
167 | + return (string) $this->getFilesAppLinkId($referenceId); |
|
168 | 168 | } |
169 | 169 | |
170 | 170 | public function getCacheKey(string $referenceId): ?string { |
@@ -57,7 +57,7 @@ |
||
57 | 57 | } |
58 | 58 | |
59 | 59 | public function getPath() { |
60 | - return $this->root->getFileInfo()->getInternalPath() . '/' . $this->partInfo['PartNumber']; |
|
60 | + return $this->root->getFileInfo()->getInternalPath().'/'.$this->partInfo['PartNumber']; |
|
61 | 61 | } |
62 | 62 | |
63 | 63 | /** |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | } |
67 | 67 | |
68 | 68 | public function getPath() { |
69 | - return $this->root->getFileInfo()->getInternalPath() . '/.file'; |
|
69 | + return $this->root->getFileInfo()->getInternalPath().'/.file'; |
|
70 | 70 | } |
71 | 71 | |
72 | 72 | /** |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | */ |
89 | 89 | public function getSize() { |
90 | 90 | $children = $this->root->getChildren(); |
91 | - $sizes = array_map(function ($node) { |
|
91 | + $sizes = array_map(function($node) { |
|
92 | 92 | /** @var IFile $node */ |
93 | 93 | return $node->getSize(); |
94 | 94 | }, $children); |
@@ -1,37 +1,37 @@ discard block |
||
1 | 1 | <fieldset id="ldapWizard3"> |
2 | 2 | <div> |
3 | 3 | <p> |
4 | - <?php p($l->t('When logging in, %s will find the user based on the following attributes:', [$theme->getName()]));?> |
|
4 | + <?php p($l->t('When logging in, %s will find the user based on the following attributes:', [$theme->getName()])); ?> |
|
5 | 5 | </p> |
6 | 6 | <p> |
7 | 7 | <label for="ldap_loginfilter_username"> |
8 | - <?php p($l->t('LDAP/AD Username:'));?> |
|
8 | + <?php p($l->t('LDAP/AD Username:')); ?> |
|
9 | 9 | </label> |
10 | 10 | |
11 | 11 | <input type="checkbox" id="ldap_loginfilter_username" |
12 | 12 | aria-describedby="ldap_loginfilter_username_instructions" |
13 | - title="<?php p($l->t('Allows login against the LDAP/AD username, which is either "uid" or "sAMAccountName" and will be detected.'));?>" |
|
13 | + title="<?php p($l->t('Allows login against the LDAP/AD username, which is either "uid" or "sAMAccountName" and will be detected.')); ?>" |
|
14 | 14 | name="ldap_loginfilter_username" value="1" /> |
15 | 15 | <p class="hidden-visually" id="ldap_loginfilter_username_instructions"> |
16 | - <?php p($l->t('Allows login against the LDAP/AD username, which is either "uid" or "sAMAccountName" and will be detected.'));?> |
|
16 | + <?php p($l->t('Allows login against the LDAP/AD username, which is either "uid" or "sAMAccountName" and will be detected.')); ?> |
|
17 | 17 | </p> |
18 | 18 | </p> |
19 | 19 | <p> |
20 | 20 | <label for="ldap_loginfilter_email"> |
21 | - <?php p($l->t('LDAP/AD Email Address:'));?> |
|
21 | + <?php p($l->t('LDAP/AD Email Address:')); ?> |
|
22 | 22 | </label> |
23 | 23 | |
24 | 24 | <input type="checkbox" id="ldap_loginfilter_email" |
25 | - title="<?php p($l->t('Allows login against an email attribute. "mail" and "mailPrimaryAddress" allowed.'));?>" |
|
25 | + title="<?php p($l->t('Allows login against an email attribute. "mail" and "mailPrimaryAddress" allowed.')); ?>" |
|
26 | 26 | aria-describedby="ldap_loginfilter_email_instructions" |
27 | 27 | name="ldap_loginfilter_email" value="1" /> |
28 | 28 | <p class="hidden-visually" id="ldap_loginfilter_email_instructions"> |
29 | - <?php p($l->t('Allows login against an email attribute. "mail" and "mailPrimaryAddress" allowed.'));?> |
|
29 | + <?php p($l->t('Allows login against an email attribute. "mail" and "mailPrimaryAddress" allowed.')); ?> |
|
30 | 30 | </p> |
31 | 31 | </p> |
32 | 32 | <p> |
33 | 33 | <label for="ldap_loginfilter_attributes"> |
34 | - <?php p($l->t('Other Attributes:'));?> |
|
34 | + <?php p($l->t('Other Attributes:')); ?> |
|
35 | 35 | </label> |
36 | 36 | |
37 | 37 | <select id="ldap_loginfilter_attributes" multiple="multiple" |
@@ -39,21 +39,21 @@ discard block |
||
39 | 39 | </select> |
40 | 40 | </p> |
41 | 41 | <p> |
42 | - <label><a id='toggleRawLoginFilter' class='ldapToggle'>↓ <?php p($l->t('Edit LDAP Query'));?></a></label> |
|
42 | + <label><a id='toggleRawLoginFilter' class='ldapToggle'>↓ <?php p($l->t('Edit LDAP Query')); ?></a></label> |
|
43 | 43 | </p> |
44 | 44 | <p id="ldapReadOnlyLoginFilterContainer" class="hidden ldapReadOnlyFilterContainer"> |
45 | - <label><?php p($l->t('LDAP Filter:'));?></label> |
|
45 | + <label><?php p($l->t('LDAP Filter:')); ?></label> |
|
46 | 46 | <span class="ldapFilterReadOnlyElement ldapInputColElement"></span> |
47 | 47 | </p> |
48 | 48 | <p id="rawLoginFilterContainer" class="invisible"> |
49 | 49 | <textarea type="text" id="ldap_login_filter" name="ldap_login_filter" |
50 | 50 | class="ldapFilterInputElement" |
51 | - placeholder="<?php p($l->t('Edit LDAP Query'));?>" |
|
51 | + placeholder="<?php p($l->t('Edit LDAP Query')); ?>" |
|
52 | 52 | aria-describedby="ldap_login_filter_instructions" |
53 | - title="<?php p($l->t('Defines the filter to apply, when login is attempted. "%%uid" replaces the username in the login action. Example: "uid=%%uid"'));?>"> |
|
53 | + title="<?php p($l->t('Defines the filter to apply, when login is attempted. "%%uid" replaces the username in the login action. Example: "uid=%%uid"')); ?>"> |
|
54 | 54 | </textarea> |
55 | 55 | <p class="hidden-visually" id="ldap_login_filter_instructions"> |
56 | - <?php p($l->t('Defines the filter to apply, when login is attempted. "%%uid" replaces the username in the login action. Example: "uid=%%uid"'));?> |
|
56 | + <?php p($l->t('Defines the filter to apply, when login is attempted. "%%uid" replaces the username in the login action. Example: "uid=%%uid"')); ?> |
|
57 | 57 | </p> |
58 | 58 | </p> |
59 | 59 | <p> |
@@ -61,15 +61,15 @@ discard block |
||
61 | 61 | </p> |
62 | 62 | <p class="ldap_verify"> |
63 | 63 | <input type="text" id="ldap_test_loginname" name="ldap_test_loginname" |
64 | - placeholder="<?php p($l->t('Test Loginname'));?>" |
|
64 | + placeholder="<?php p($l->t('Test Loginname')); ?>" |
|
65 | 65 | class="ldapVerifyInput" |
66 | 66 | aria-describedby="ldap_test_loginname_instructions" |
67 | - title="<?php p($l->t('Attempts to receive a DN for the given loginname and the current login filter'));?>"/> |
|
67 | + title="<?php p($l->t('Attempts to receive a DN for the given loginname and the current login filter')); ?>"/> |
|
68 | 68 | <p class="hidden-visually" id="ldap_test_loginname_instructions"> |
69 | - <?php p($l->t('Attempts to receive a DN for the given loginname and the current login filter'));?> |
|
69 | + <?php p($l->t('Attempts to receive a DN for the given loginname and the current login filter')); ?> |
|
70 | 70 | </p> |
71 | 71 | <button class="ldapVerifyLoginName" name="ldapTestLoginSettings" type="button" disabled="disabled"> |
72 | - <?php p($l->t('Verify settings'));?> |
|
72 | + <?php p($l->t('Verify settings')); ?> |
|
73 | 73 | </button> |
74 | 74 | </p> |
75 | 75 | <?php print_unescaped($_['wizardControls']); ?> |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <fieldset id="ldapWizard4"> |
2 | 2 | <div> |
3 | 3 | <p> |
4 | - <?php p($l->t('Groups meeting these criteria are available in %s:', [$theme->getName()]));?> |
|
4 | + <?php p($l->t('Groups meeting these criteria are available in %s:', [$theme->getName()])); ?> |
|
5 | 5 | </p> |
6 | 6 | <p> |
7 | 7 | <label for="ldap_groupfilter_objectclass"> |
8 | - <?php p($l->t('Only these object classes:'));?> |
|
8 | + <?php p($l->t('Only these object classes:')); ?> |
|
9 | 9 | </label> |
10 | 10 | |
11 | 11 | <select id="ldap_groupfilter_objectclass" multiple="multiple" |
@@ -14,10 +14,10 @@ discard block |
||
14 | 14 | </p> |
15 | 15 | <p> |
16 | 16 | <label for="ldap_groupfilter_groups"> |
17 | - <?php p($l->t('Only from these groups:'));?> |
|
17 | + <?php p($l->t('Only from these groups:')); ?> |
|
18 | 18 | </label> |
19 | 19 | |
20 | - <input type="text" class="ldapManyGroupsSupport ldapManyGroupsSearch hidden" placeholder="<?php p($l->t('Search groups'));?>" /> |
|
20 | + <input type="text" class="ldapManyGroupsSupport ldapManyGroupsSearch hidden" placeholder="<?php p($l->t('Search groups')); ?>" /> |
|
21 | 21 | |
22 | 22 | <select id="ldap_groupfilter_groups" multiple="multiple" |
23 | 23 | name="ldap_groupfilter_groups" class="multiSelectPlugin"> |
@@ -28,9 +28,9 @@ discard block |
||
28 | 28 | <label></label> |
29 | 29 | <select class="ldapGroupList ldapGroupListAvailable" multiple="multiple" |
30 | 30 | aria-describedby="ldapGroupListAvailable_instructions" |
31 | - title="<?php p($l->t('Available groups'));?>"></select> |
|
31 | + title="<?php p($l->t('Available groups')); ?>"></select> |
|
32 | 32 | <p class="hidden-visually" id="ldapGroupListAvailable_instructions"> |
33 | - <?php p($l->t('Available groups'));?> |
|
33 | + <?php p($l->t('Available groups')); ?> |
|
34 | 34 | </p> |
35 | 35 | <span class="buttonSpan"> |
36 | 36 | <button class="ldapGroupListSelect" type="button">></button><br/> |
@@ -38,26 +38,26 @@ discard block |
||
38 | 38 | </span> |
39 | 39 | <select class="ldapGroupList ldapGroupListSelected" multiple="multiple" |
40 | 40 | aria-describedby="ldapGroupListSelected_instructions" |
41 | - title="<?php p($l->t('Selected groups'));?>"></select> |
|
41 | + title="<?php p($l->t('Selected groups')); ?>"></select> |
|
42 | 42 | <p class="hidden-visually" id="ldapGroupListSelected_instructions"> |
43 | - <?php p($l->t('Selected groups'));?> |
|
43 | + <?php p($l->t('Selected groups')); ?> |
|
44 | 44 | </p> |
45 | 45 | </p> |
46 | 46 | <p> |
47 | - <label><a id='toggleRawGroupFilter' class='ldapToggle'>↓ <?php p($l->t('Edit LDAP Query'));?></a></label> |
|
47 | + <label><a id='toggleRawGroupFilter' class='ldapToggle'>↓ <?php p($l->t('Edit LDAP Query')); ?></a></label> |
|
48 | 48 | </p> |
49 | 49 | <p id="ldapReadOnlyGroupFilterContainer" class="hidden ldapReadOnlyFilterContainer"> |
50 | - <label><?php p($l->t('LDAP Filter:'));?></label> |
|
50 | + <label><?php p($l->t('LDAP Filter:')); ?></label> |
|
51 | 51 | <span class="ldapFilterReadOnlyElement ldapInputColElement"></span> |
52 | 52 | </p> |
53 | 53 | <p id="rawGroupFilterContainer" class="invisible"> |
54 | 54 | <textarea type="text" id="ldap_group_filter" name="ldap_group_filter" |
55 | - placeholder="<?php p($l->t('Edit LDAP Query'));?>" |
|
55 | + placeholder="<?php p($l->t('Edit LDAP Query')); ?>" |
|
56 | 56 | aria-describedby="rawGroupFilterContainer_instructions" |
57 | - title="<?php p($l->t('The filter specifies which LDAP groups shall have access to the %s instance.', [$theme->getName()]));?>"> |
|
57 | + title="<?php p($l->t('The filter specifies which LDAP groups shall have access to the %s instance.', [$theme->getName()])); ?>"> |
|
58 | 58 | </textarea> |
59 | 59 | <p class="hidden-visually" id="rawGroupFilterContainer_instructions"> |
60 | - <?php p($l->t('The filter specifies which LDAP groups shall have access to the %s instance.', [$theme->getName()]));?> |
|
60 | + <?php p($l->t('The filter specifies which LDAP groups shall have access to the %s instance.', [$theme->getName()])); ?> |
|
61 | 61 | </p> |
62 | 62 | |
63 | 63 | </p> |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | </p> |
67 | 67 | <p class="ldap_count"> |
68 | 68 | <button class="ldapGetEntryCount ldapGetGroupCount" name="ldapGetEntryCount" type="button"> |
69 | - <?php p($l->t('Verify settings and count the groups'));?> |
|
69 | + <?php p($l->t('Verify settings and count the groups')); ?> |
|
70 | 70 | </button> |
71 | 71 | <span id="ldap_group_count"></span> |
72 | 72 | </p> |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <fieldset id="ldapWizard2"> |
2 | 2 | <div> |
3 | 3 | <p> |
4 | - <?php p($l->t('Listing and searching for users is constrained by these criteria:'));?> |
|
4 | + <?php p($l->t('Listing and searching for users is constrained by these criteria:')); ?> |
|
5 | 5 | </p> |
6 | 6 | <p> |
7 | 7 | <label for="ldap_userfilter_objectclass"> |
8 | - <?php p($l->t('Only these object classes:'));?> |
|
8 | + <?php p($l->t('Only these object classes:')); ?> |
|
9 | 9 | </label> |
10 | 10 | |
11 | 11 | <select id="ldap_userfilter_objectclass" multiple="multiple" |
@@ -14,14 +14,14 @@ discard block |
||
14 | 14 | </p> |
15 | 15 | <p> |
16 | 16 | <label></label> |
17 | - <span class="ldapInputColElement"><?php p($l->t('The most common object classes for users are organizationalPerson, person, user, and inetOrgPerson. If you are not sure which object class to select, please consult your directory admin.'));?></span> |
|
17 | + <span class="ldapInputColElement"><?php p($l->t('The most common object classes for users are organizationalPerson, person, user, and inetOrgPerson. If you are not sure which object class to select, please consult your directory admin.')); ?></span> |
|
18 | 18 | </p> |
19 | 19 | <p> |
20 | 20 | <label for="ldap_userfilter_groups"> |
21 | - <?php p($l->t('Only from these groups:'));?> |
|
21 | + <?php p($l->t('Only from these groups:')); ?> |
|
22 | 22 | </label> |
23 | 23 | |
24 | - <input type="text" class="ldapManyGroupsSupport ldapManyGroupsSearch hidden" placeholder="<?php p($l->t('Search groups'));?>" /> |
|
24 | + <input type="text" class="ldapManyGroupsSupport ldapManyGroupsSearch hidden" placeholder="<?php p($l->t('Search groups')); ?>" /> |
|
25 | 25 | |
26 | 26 | <select id="ldap_userfilter_groups" multiple="multiple" |
27 | 27 | name="ldap_userfilter_groups" class="multiSelectPlugin"> |
@@ -31,9 +31,9 @@ discard block |
||
31 | 31 | <label></label> |
32 | 32 | <select class="ldapGroupList ldapGroupListAvailable" multiple="multiple" |
33 | 33 | aria-describedby="ldapGroupListAvailable_instructions" |
34 | - title="<?php p($l->t('Available groups'));?>"></select> |
|
34 | + title="<?php p($l->t('Available groups')); ?>"></select> |
|
35 | 35 | <p class="hidden-visually" id="ldapGroupListAvailable_instructions"> |
36 | - <?php p($l->t('Available groups'));?> |
|
36 | + <?php p($l->t('Available groups')); ?> |
|
37 | 37 | </p> |
38 | 38 | <span class="buttonSpan"> |
39 | 39 | <button class="ldapGroupListSelect" type="button">></button><br/> |
@@ -41,27 +41,27 @@ discard block |
||
41 | 41 | </span> |
42 | 42 | <select class="ldapGroupList ldapGroupListSelected" multiple="multiple" |
43 | 43 | aria-describedby="ldapGroupListSelected_instructions" |
44 | - title="<?php p($l->t('Selected groups'));?>"></select> |
|
44 | + title="<?php p($l->t('Selected groups')); ?>"></select> |
|
45 | 45 | <p class="hidden-visually" id="ldapGroupListSelected_instructions"> |
46 | - <?php p($l->t('Selected groups'));?> |
|
46 | + <?php p($l->t('Selected groups')); ?> |
|
47 | 47 | </p> |
48 | 48 | </p> |
49 | 49 | <p> |
50 | - <label><a id='toggleRawUserFilter' class='ldapToggle'>↓ <?php p($l->t('Edit LDAP Query'));?></a></label> |
|
50 | + <label><a id='toggleRawUserFilter' class='ldapToggle'>↓ <?php p($l->t('Edit LDAP Query')); ?></a></label> |
|
51 | 51 | </p> |
52 | 52 | <p id="ldapReadOnlyUserFilterContainer" class="hidden ldapReadOnlyFilterContainer"> |
53 | - <label><?php p($l->t('LDAP Filter:'));?></label> |
|
53 | + <label><?php p($l->t('LDAP Filter:')); ?></label> |
|
54 | 54 | <span class="ldapFilterReadOnlyElement ldapInputColElement"></span> |
55 | 55 | </p> |
56 | 56 | <p id="rawUserFilterContainer"> |
57 | 57 | <textarea type="text" id="ldap_userlist_filter" name="ldap_userlist_filter" |
58 | 58 | class="ldapFilterInputElement" |
59 | - placeholder="<?php p($l->t('Edit LDAP Query'));?>" |
|
59 | + placeholder="<?php p($l->t('Edit LDAP Query')); ?>" |
|
60 | 60 | aria-describedby="ldap_userlist_filter_instructions" |
61 | - title="<?php p($l->t('The filter specifies which LDAP users shall have access to the %s instance.', [$theme->getName()]));?>"> |
|
61 | + title="<?php p($l->t('The filter specifies which LDAP users shall have access to the %s instance.', [$theme->getName()])); ?>"> |
|
62 | 62 | </textarea> |
63 | 63 | <p class="hidden-visually" id="ldap_userlist_filter_instructions"> |
64 | - <?php p($l->t('The filter specifies which LDAP users shall have access to the %s instance.', [$theme->getName()]));?> |
|
64 | + <?php p($l->t('The filter specifies which LDAP users shall have access to the %s instance.', [$theme->getName()])); ?> |
|
65 | 65 | </p> |
66 | 66 | </p> |
67 | 67 | <p> |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | </p> |
70 | 70 | <p class="ldap_count"> |
71 | 71 | <button class="ldapGetEntryCount ldapGetUserCount" name="ldapGetEntryCount" type="button"> |
72 | - <?php p($l->t('Verify settings and count users'));?> |
|
72 | + <?php p($l->t('Verify settings and count users')); ?> |
|
73 | 73 | </button> |
74 | 74 | <span id="ldap_user_count"></span> |
75 | 75 | </p> |
@@ -194,7 +194,7 @@ discard block |
||
194 | 194 | if ($this->lastLogin === null) { |
195 | 195 | $this->fetchDetails(); |
196 | 196 | } |
197 | - return (int)$this->lastLogin; |
|
197 | + return (int) $this->lastLogin; |
|
198 | 198 | } |
199 | 199 | |
200 | 200 | /** |
@@ -205,14 +205,14 @@ discard block |
||
205 | 205 | if ($this->foundDeleted === null) { |
206 | 206 | $this->fetchDetails(); |
207 | 207 | } |
208 | - return (int)$this->foundDeleted; |
|
208 | + return (int) $this->foundDeleted; |
|
209 | 209 | } |
210 | 210 | |
211 | 211 | public function getExtStorageHome(): string { |
212 | 212 | if ($this->extStorageHome === null) { |
213 | 213 | $this->fetchDetails(); |
214 | 214 | } |
215 | - return (string)$this->extStorageHome; |
|
215 | + return (string) $this->extStorageHome; |
|
216 | 216 | } |
217 | 217 | |
218 | 218 | /** |