@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | if ($iniValue === '-1') { |
51 | 51 | return -1; |
52 | 52 | } else if (is_numeric($iniValue) === true) { |
53 | - return (int)$iniValue; |
|
53 | + return (int) $iniValue; |
|
54 | 54 | } else { |
55 | 55 | return $this->memoryLimitToBytes($iniValue); |
56 | 56 | } |
@@ -64,10 +64,10 @@ discard block |
||
64 | 64 | */ |
65 | 65 | private function memoryLimitToBytes(string $memoryLimit): int { |
66 | 66 | $last = strtolower(substr($memoryLimit, -1)); |
67 | - $memoryLimit = (int)substr($memoryLimit, 0, -1); |
|
67 | + $memoryLimit = (int) substr($memoryLimit, 0, -1); |
|
68 | 68 | |
69 | 69 | // intended fall trough |
70 | - switch($last) { |
|
70 | + switch ($last) { |
|
71 | 71 | case 'g': |
72 | 72 | $memoryLimit *= 1024; |
73 | 73 | case 'm': |
@@ -56,18 +56,18 @@ |
||
56 | 56 | protected function execute(InputInterface $input, OutputInterface $output) { |
57 | 57 | $gid = $input->getArgument('groupid'); |
58 | 58 | if ($gid === 'admin') { |
59 | - $output->writeln('<error>Group "' . $gid . '" could not be deleted.</error>'); |
|
59 | + $output->writeln('<error>Group "'.$gid.'" could not be deleted.</error>'); |
|
60 | 60 | return 1; |
61 | 61 | } |
62 | - if (! $this->groupManager->groupExists($gid)) { |
|
63 | - $output->writeln('<error>Group "' . $gid . '" does not exist.</error>'); |
|
62 | + if (!$this->groupManager->groupExists($gid)) { |
|
63 | + $output->writeln('<error>Group "'.$gid.'" does not exist.</error>'); |
|
64 | 64 | return 1; |
65 | 65 | } |
66 | 66 | $group = $this->groupManager->get($gid); |
67 | 67 | if ($group->delete()) { |
68 | - $output->writeln('Group "' . $gid . '" was removed'); |
|
68 | + $output->writeln('Group "'.$gid.'" was removed'); |
|
69 | 69 | } else { |
70 | - $output->writeln('<error>Group "' . $gid . '" could not be deleted. Please check the logs.</error>'); |
|
70 | + $output->writeln('<error>Group "'.$gid.'" could not be deleted. Please check the logs.</error>'); |
|
71 | 71 | return 1; |
72 | 72 | } |
73 | 73 | } |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | $this->groupedShares = $arguments['groupedShares']; |
76 | 76 | |
77 | 77 | $newMountPoint = $this->verifyMountPoint($this->superShare, $mountpoints, $folderExistCache); |
78 | - $absMountPoint = '/' . $this->user . '/files' . $newMountPoint; |
|
78 | + $absMountPoint = '/'.$this->user.'/files'.$newMountPoint; |
|
79 | 79 | parent::__construct($storage, $absMountPoint, $arguments, $loader); |
80 | 80 | } |
81 | 81 | |
@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | } |
103 | 103 | |
104 | 104 | $newMountPoint = $this->generateUniqueTarget( |
105 | - \OC\Files\Filesystem::normalizePath($parent . '/' . $mountPoint), |
|
105 | + \OC\Files\Filesystem::normalizePath($parent.'/'.$mountPoint), |
|
106 | 106 | $this->recipientView, |
107 | 107 | $mountpoints |
108 | 108 | ); |
@@ -139,15 +139,15 @@ discard block |
||
139 | 139 | */ |
140 | 140 | private function generateUniqueTarget($path, $view, array $mountpoints) { |
141 | 141 | $pathinfo = pathinfo($path); |
142 | - $ext = isset($pathinfo['extension']) ? '.' . $pathinfo['extension'] : ''; |
|
142 | + $ext = isset($pathinfo['extension']) ? '.'.$pathinfo['extension'] : ''; |
|
143 | 143 | $name = $pathinfo['filename']; |
144 | 144 | $dir = $pathinfo['dirname']; |
145 | 145 | |
146 | 146 | $i = 2; |
147 | - $absolutePath = $this->recipientView->getAbsolutePath($path) . '/'; |
|
147 | + $absolutePath = $this->recipientView->getAbsolutePath($path).'/'; |
|
148 | 148 | while ($view->file_exists($path) || isset($mountpoints[$absolutePath])) { |
149 | - $path = Filesystem::normalizePath($dir . '/' . $name . ' (' . $i . ')' . $ext); |
|
150 | - $absolutePath = $this->recipientView->getAbsolutePath($path) . '/'; |
|
149 | + $path = Filesystem::normalizePath($dir.'/'.$name.' ('.$i.')'.$ext); |
|
150 | + $absolutePath = $this->recipientView->getAbsolutePath($path).'/'; |
|
151 | 151 | $i++; |
152 | 152 | } |
153 | 153 | |
@@ -167,7 +167,7 @@ discard block |
||
167 | 167 | |
168 | 168 | // it is not a file relative to data/user/files |
169 | 169 | if (count($split) < 3 || $split[1] !== 'files') { |
170 | - \OC::$server->getLogger()->error('Can not strip userid and "files/" from path: ' . $path, ['app' => 'files_sharing']); |
|
170 | + \OC::$server->getLogger()->error('Can not strip userid and "files/" from path: '.$path, ['app' => 'files_sharing']); |
|
171 | 171 | throw new \OCA\Files_Sharing\Exceptions\BrokenPath('Path does not start with /user/files', 10); |
172 | 172 | } |
173 | 173 | |
@@ -175,7 +175,7 @@ discard block |
||
175 | 175 | $sliced = array_slice($split, 2); |
176 | 176 | $relPath = implode('/', $sliced); |
177 | 177 | |
178 | - return '/' . $relPath; |
|
178 | + return '/'.$relPath; |
|
179 | 179 | } |
180 | 180 | |
181 | 181 | /** |
@@ -196,7 +196,7 @@ discard block |
||
196 | 196 | $this->setMountPoint($target); |
197 | 197 | $this->storage->setMountPoint($relTargetPath); |
198 | 198 | } catch (\Exception $e) { |
199 | - \OC::$server->getLogger()->logException($e, ['app' => 'files_sharing', 'message' => 'Could not rename mount point for shared folder "' . $this->getMountPoint() . '" to "' . $target . '"']); |
|
199 | + \OC::$server->getLogger()->logException($e, ['app' => 'files_sharing', 'message' => 'Could not rename mount point for shared folder "'.$this->getMountPoint().'" to "'.$target.'"']); |
|
200 | 200 | } |
201 | 201 | |
202 | 202 | return $result; |
@@ -250,7 +250,7 @@ discard block |
||
250 | 250 | $row = $result->fetch(); |
251 | 251 | $result->closeCursor(); |
252 | 252 | if ($row) { |
253 | - return (int)$row['storage']; |
|
253 | + return (int) $row['storage']; |
|
254 | 254 | } |
255 | 255 | return -1; |
256 | 256 | } |
@@ -95,7 +95,7 @@ |
||
95 | 95 | |
96 | 96 | $current = $path; |
97 | 97 | while (true) { |
98 | - $mountPoint = $current . '/'; |
|
98 | + $mountPoint = $current.'/'; |
|
99 | 99 | if (isset($this->mounts[$mountPoint])) { |
100 | 100 | $this->pathCache[$path] = $this->mounts[$mountPoint]; |
101 | 101 | return $this->mounts[$mountPoint]; |
@@ -88,11 +88,11 @@ discard block |
||
88 | 88 | |
89 | 89 | public function registerMounts(IUser $user, array $mounts) { |
90 | 90 | // filter out non-proper storages coming from unit tests |
91 | - $mounts = array_filter($mounts, function (IMountPoint $mount) { |
|
91 | + $mounts = array_filter($mounts, function(IMountPoint $mount) { |
|
92 | 92 | return $mount instanceof SharedMount || $mount->getStorage() && $mount->getStorage()->getCache(); |
93 | 93 | }); |
94 | 94 | /** @var ICachedMountInfo[] $newMounts */ |
95 | - $newMounts = array_map(function (IMountPoint $mount) use ($user) { |
|
95 | + $newMounts = array_map(function(IMountPoint $mount) use ($user) { |
|
96 | 96 | // filter out any storages which aren't scanned yet since we aren't interested in files from those storages (yet) |
97 | 97 | if ($mount->getStorageRootId() === -1) { |
98 | 98 | return null; |
@@ -101,13 +101,13 @@ discard block |
||
101 | 101 | } |
102 | 102 | }, $mounts); |
103 | 103 | $newMounts = array_values(array_filter($newMounts)); |
104 | - $newMountRootIds = array_map(function (ICachedMountInfo $mount) { |
|
104 | + $newMountRootIds = array_map(function(ICachedMountInfo $mount) { |
|
105 | 105 | return $mount->getRootId(); |
106 | 106 | }, $newMounts); |
107 | 107 | $newMounts = array_combine($newMountRootIds, $newMounts); |
108 | 108 | |
109 | 109 | $cachedMounts = $this->getMountsForUser($user); |
110 | - $cachedMountRootIds = array_map(function (ICachedMountInfo $mount) { |
|
110 | + $cachedMountRootIds = array_map(function(ICachedMountInfo $mount) { |
|
111 | 111 | return $mount->getRootId(); |
112 | 112 | }, $cachedMounts); |
113 | 113 | $cachedMounts = array_combine($cachedMountRootIds, $cachedMounts); |
@@ -181,7 +181,7 @@ discard block |
||
181 | 181 | ], ['root_id', 'user_id']); |
182 | 182 | } else { |
183 | 183 | // in some cases this is legitimate, like orphaned shares |
184 | - $this->logger->debug('Could not get storage info for mount at ' . $mount->getMountPoint()); |
|
184 | + $this->logger->debug('Could not get storage info for mount at '.$mount->getMountPoint()); |
|
185 | 185 | } |
186 | 186 | } |
187 | 187 | |
@@ -214,9 +214,9 @@ discard block |
||
214 | 214 | } |
215 | 215 | $mount_id = $row['mount_id']; |
216 | 216 | if (!is_null($mount_id)) { |
217 | - $mount_id = (int)$mount_id; |
|
217 | + $mount_id = (int) $mount_id; |
|
218 | 218 | } |
219 | - return new CachedMountInfo($user, (int)$row['storage_id'], (int)$row['root_id'], $row['mount_point'], $mount_id, isset($row['path']) ? $row['path'] : ''); |
|
219 | + return new CachedMountInfo($user, (int) $row['storage_id'], (int) $row['root_id'], $row['mount_point'], $mount_id, isset($row['path']) ? $row['path'] : ''); |
|
220 | 220 | } |
221 | 221 | |
222 | 222 | /** |
@@ -290,12 +290,12 @@ discard block |
||
290 | 290 | $row = $query->execute()->fetch(); |
291 | 291 | if (is_array($row)) { |
292 | 292 | $this->cacheInfoCache[$fileId] = [ |
293 | - (int)$row['storage'], |
|
293 | + (int) $row['storage'], |
|
294 | 294 | $row['path'], |
295 | - (int)$row['mimetype'] |
|
295 | + (int) $row['mimetype'] |
|
296 | 296 | ]; |
297 | 297 | } else { |
298 | - throw new NotFoundException('File with id "' . $fileId . '" not found'); |
|
298 | + throw new NotFoundException('File with id "'.$fileId.'" not found'); |
|
299 | 299 | } |
300 | 300 | } |
301 | 301 | return $this->cacheInfoCache[$fileId]; |
@@ -316,16 +316,16 @@ discard block |
||
316 | 316 | $mountsForStorage = $this->getMountsForStorageId($storageId, $user); |
317 | 317 | |
318 | 318 | // filter mounts that are from the same storage but a different directory |
319 | - $filteredMounts = array_filter($mountsForStorage, function (ICachedMountInfo $mount) use ($internalPath, $fileId) { |
|
319 | + $filteredMounts = array_filter($mountsForStorage, function(ICachedMountInfo $mount) use ($internalPath, $fileId) { |
|
320 | 320 | if ($fileId === $mount->getRootId()) { |
321 | 321 | return true; |
322 | 322 | } |
323 | 323 | $internalMountPath = $mount->getRootInternalPath(); |
324 | 324 | |
325 | - return $internalMountPath === '' || substr($internalPath, 0, strlen($internalMountPath) + 1) === $internalMountPath . '/'; |
|
325 | + return $internalMountPath === '' || substr($internalPath, 0, strlen($internalMountPath) + 1) === $internalMountPath.'/'; |
|
326 | 326 | }); |
327 | 327 | |
328 | - return array_map(function (ICachedMountInfo $mount) use ($internalPath) { |
|
328 | + return array_map(function(ICachedMountInfo $mount) use ($internalPath) { |
|
329 | 329 | return new CachedMountFileInfo( |
330 | 330 | $mount->getUser(), |
331 | 331 | $mount->getStorageId(), |
@@ -383,7 +383,7 @@ discard block |
||
383 | 383 | $slash |
384 | 384 | ); |
385 | 385 | |
386 | - $userIds = array_map(function (IUser $user) { |
|
386 | + $userIds = array_map(function(IUser $user) { |
|
387 | 387 | return $user->getUID(); |
388 | 388 | }, $users); |
389 | 389 |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | public function getForm() { |
50 | 50 | $helper = new Helper(\OC::$server->getConfig()); |
51 | 51 | $prefixes = $helper->getServerConfigurationPrefixes(); |
52 | - if(count($prefixes) === 0) { |
|
52 | + if (count($prefixes) === 0) { |
|
53 | 53 | $newPrefix = $helper->getNextServerConfigurationPrefix(); |
54 | 54 | $config = new Configuration($newPrefix, false); |
55 | 55 | $config->setConfiguration($config->getDefaults()); |
@@ -70,11 +70,11 @@ discard block |
||
70 | 70 | $parameters['wizardControls'] = $wControls; |
71 | 71 | |
72 | 72 | // assign default values |
73 | - if(!isset($config)) { |
|
73 | + if (!isset($config)) { |
|
74 | 74 | $config = new Configuration('', false); |
75 | 75 | } |
76 | 76 | $defaults = $config->getDefaults(); |
77 | - foreach($defaults as $key => $default) { |
|
77 | + foreach ($defaults as $key => $default) { |
|
78 | 78 | $parameters[$key.'_default'] = $default; |
79 | 79 | } |
80 | 80 |
@@ -4,23 +4,23 @@ discard block |
||
4 | 4 | <?php |
5 | 5 | $i = 1; |
6 | 6 | $sel = ' selected'; |
7 | - foreach($_['serverConfigurationPrefixes'] as $prefix) { |
|
7 | + foreach ($_['serverConfigurationPrefixes'] as $prefix) { |
|
8 | 8 | ?> |
9 | - <option value="<?php p($prefix); ?>"<?php p($sel); $sel = ''; ?>><?php p($l->t('%s. Server:', array($i++)));?> <?php p(' '.$_['serverConfigurationHosts'][$prefix]); ?></option> |
|
9 | + <option value="<?php p($prefix); ?>"<?php p($sel); $sel = ''; ?>><?php p($l->t('%s. Server:', array($i++))); ?> <?php p(' '.$_['serverConfigurationHosts'][$prefix]); ?></option> |
|
10 | 10 | <?php |
11 | 11 | } |
12 | 12 | ?> |
13 | 13 | </select> |
14 | 14 | <button type="button" id="ldap_action_add_configuration" |
15 | 15 | name="ldap_action_add_configuration" class="icon-add icon-default-style" |
16 | - title="<?php p($l->t('Add a new configuration'));?>"> </button> |
|
16 | + title="<?php p($l->t('Add a new configuration')); ?>"> </button> |
|
17 | 17 | <button type="button" id="ldap_action_copy_configuration" |
18 | 18 | name="ldap_action_copy_configuration" |
19 | 19 | class="ldapIconCopy icon-default-style" |
20 | - title="<?php p($l->t('Copy current configuration into new directory binding'));?>"> </button> |
|
20 | + title="<?php p($l->t('Copy current configuration into new directory binding')); ?>"> </button> |
|
21 | 21 | <button type="button" id="ldap_action_delete_configuration" |
22 | 22 | name="ldap_action_delete_configuration" class="icon-delete icon-default-style" |
23 | - title="<?php p($l->t('Delete the current configuration'));?>"> </button> |
|
23 | + title="<?php p($l->t('Delete the current configuration')); ?>"> </button> |
|
24 | 24 | </p> |
25 | 25 | |
26 | 26 | <div class="hostPortCombinator"> |
@@ -29,14 +29,14 @@ discard block |
||
29 | 29 | <div class="table"> |
30 | 30 | <input type="text" class="host" id="ldap_host" |
31 | 31 | name="ldap_host" |
32 | - placeholder="<?php p($l->t('Host'));?>" |
|
33 | - title="<?php p($l->t('You can omit the protocol, unless you require SSL. If so, start with ldaps://'));?>" |
|
32 | + placeholder="<?php p($l->t('Host')); ?>" |
|
33 | + title="<?php p($l->t('You can omit the protocol, unless you require SSL. If so, start with ldaps://')); ?>" |
|
34 | 34 | /> |
35 | 35 | <span class="hostPortCombinatorSpan"> |
36 | 36 | <input type="number" id="ldap_port" name="ldap_port" |
37 | - placeholder="<?php p($l->t('Port'));?>" /> |
|
37 | + placeholder="<?php p($l->t('Port')); ?>" /> |
|
38 | 38 | <button class="ldapDetectPort" name="ldapDetectPort" type="button"> |
39 | - <?php p($l->t('Detect Port'));?> |
|
39 | + <?php p($l->t('Detect Port')); ?> |
|
40 | 40 | </button> |
41 | 41 | </span> |
42 | 42 | </div> |
@@ -46,19 +46,19 @@ discard block |
||
46 | 46 | <div class="tablerow"> |
47 | 47 | <input type="text" id="ldap_dn" name="ldap_dn" |
48 | 48 | class="tablecell" |
49 | - placeholder="<?php p($l->t('User DN'));?>" autocomplete="off" |
|
50 | - title="<?php p($l->t('The DN of the client user with which the bind shall be done, e.g. uid=agent,dc=example,dc=com. For anonymous access, leave DN and Password empty.'));?>" |
|
49 | + placeholder="<?php p($l->t('User DN')); ?>" autocomplete="off" |
|
50 | + title="<?php p($l->t('The DN of the client user with which the bind shall be done, e.g. uid=agent,dc=example,dc=com. For anonymous access, leave DN and Password empty.')); ?>" |
|
51 | 51 | /> |
52 | 52 | </div> |
53 | 53 | |
54 | 54 | <div class="tablerow"> |
55 | 55 | <input type="password" id="ldap_agent_password" |
56 | 56 | class="tablecell" name="ldap_agent_password" |
57 | - placeholder="<?php p($l->t('Password'));?>" autocomplete="off" |
|
58 | - title="<?php p($l->t('For anonymous access, leave DN and Password empty.'));?>" |
|
57 | + placeholder="<?php p($l->t('Password')); ?>" autocomplete="off" |
|
58 | + title="<?php p($l->t('For anonymous access, leave DN and Password empty.')); ?>" |
|
59 | 59 | /> |
60 | 60 | <button class="ldapSaveAgentCredentials" name="ldapSaveAgentCredentials" type="button"> |
61 | - <?php p($l->t('Save Credentials'));?> |
|
61 | + <?php p($l->t('Save Credentials')); ?> |
|
62 | 62 | </button> |
63 | 63 | </div> |
64 | 64 | <div class="tablerow"> </div> |
@@ -66,24 +66,24 @@ discard block |
||
66 | 66 | <div class="tablerow"> |
67 | 67 | <textarea id="ldap_base" name="ldap_base" |
68 | 68 | class="tablecell" |
69 | - placeholder="<?php p($l->t('One Base DN per line'));?>" |
|
70 | - title="<?php p($l->t('You can specify Base DN for users and groups in the Advanced tab'));?>"> |
|
69 | + placeholder="<?php p($l->t('One Base DN per line')); ?>" |
|
70 | + title="<?php p($l->t('You can specify Base DN for users and groups in the Advanced tab')); ?>"> |
|
71 | 71 | </textarea> |
72 | 72 | <button class="ldapDetectBase" name="ldapDetectBase" type="button"> |
73 | - <?php p($l->t('Detect Base DN'));?> |
|
73 | + <?php p($l->t('Detect Base DN')); ?> |
|
74 | 74 | </button> |
75 | 75 | <button class="ldapTestBase" name="ldapTestBase" type="button"> |
76 | - <?php p($l->t('Test Base DN'));?> |
|
76 | + <?php p($l->t('Test Base DN')); ?> |
|
77 | 77 | </button> |
78 | 78 | </div> |
79 | 79 | |
80 | 80 | <div class="tablerow left"> |
81 | 81 | <input type="checkbox" id="ldap_experienced_admin" value="1" |
82 | 82 | name="ldap_experienced_admin" class="tablecell" |
83 | - title="<?php p($l->t('Avoids automatic LDAP requests. Better for bigger setups, but requires some LDAP knowledge.'));?>" |
|
83 | + title="<?php p($l->t('Avoids automatic LDAP requests. Better for bigger setups, but requires some LDAP knowledge.')); ?>" |
|
84 | 84 | /> |
85 | 85 | <label for="ldap_experienced_admin" class="tablecell"> |
86 | - <?php p($l->t('Manually enter LDAP filters (recommended for large directories)'));?> |
|
86 | + <?php p($l->t('Manually enter LDAP filters (recommended for large directories)')); ?> |
|
87 | 87 | </label> |
88 | 88 | </div> |
89 | 89 |
@@ -6,35 +6,35 @@ |
||
6 | 6 | |
7 | 7 | class ComposerStaticInitUpdateNotification |
8 | 8 | { |
9 | - public static $prefixLengthsPsr4 = array ( |
|
9 | + public static $prefixLengthsPsr4 = array( |
|
10 | 10 | 'O' => |
11 | - array ( |
|
11 | + array( |
|
12 | 12 | 'OCA\\UpdateNotification\\' => 23, |
13 | 13 | ), |
14 | 14 | ); |
15 | 15 | |
16 | - public static $prefixDirsPsr4 = array ( |
|
16 | + public static $prefixDirsPsr4 = array( |
|
17 | 17 | 'OCA\\UpdateNotification\\' => |
18 | - array ( |
|
19 | - 0 => __DIR__ . '/..' . '/../lib', |
|
18 | + array( |
|
19 | + 0 => __DIR__.'/..'.'/../lib', |
|
20 | 20 | ), |
21 | 21 | ); |
22 | 22 | |
23 | - public static $classMap = array ( |
|
24 | - 'OCA\\UpdateNotification\\AppInfo\\Application' => __DIR__ . '/..' . '/../lib/AppInfo/Application.php', |
|
25 | - 'OCA\\UpdateNotification\\Command\\Check' => __DIR__ . '/..' . '/../lib/Command/Check.php', |
|
26 | - 'OCA\\UpdateNotification\\Controller\\APIController' => __DIR__ . '/..' . '/../lib/Controller/APIController.php', |
|
27 | - 'OCA\\UpdateNotification\\Controller\\AdminController' => __DIR__ . '/..' . '/../lib/Controller/AdminController.php', |
|
28 | - 'OCA\\UpdateNotification\\Notification\\BackgroundJob' => __DIR__ . '/..' . '/../lib/Notification/BackgroundJob.php', |
|
29 | - 'OCA\\UpdateNotification\\Notification\\Notifier' => __DIR__ . '/..' . '/../lib/Notification/Notifier.php', |
|
30 | - 'OCA\\UpdateNotification\\ResetTokenBackgroundJob' => __DIR__ . '/..' . '/../lib/ResetTokenBackgroundJob.php', |
|
31 | - 'OCA\\UpdateNotification\\Settings\\Admin' => __DIR__ . '/..' . '/../lib/Settings/Admin.php', |
|
32 | - 'OCA\\UpdateNotification\\UpdateChecker' => __DIR__ . '/..' . '/../lib/UpdateChecker.php', |
|
23 | + public static $classMap = array( |
|
24 | + 'OCA\\UpdateNotification\\AppInfo\\Application' => __DIR__.'/..'.'/../lib/AppInfo/Application.php', |
|
25 | + 'OCA\\UpdateNotification\\Command\\Check' => __DIR__.'/..'.'/../lib/Command/Check.php', |
|
26 | + 'OCA\\UpdateNotification\\Controller\\APIController' => __DIR__.'/..'.'/../lib/Controller/APIController.php', |
|
27 | + 'OCA\\UpdateNotification\\Controller\\AdminController' => __DIR__.'/..'.'/../lib/Controller/AdminController.php', |
|
28 | + 'OCA\\UpdateNotification\\Notification\\BackgroundJob' => __DIR__.'/..'.'/../lib/Notification/BackgroundJob.php', |
|
29 | + 'OCA\\UpdateNotification\\Notification\\Notifier' => __DIR__.'/..'.'/../lib/Notification/Notifier.php', |
|
30 | + 'OCA\\UpdateNotification\\ResetTokenBackgroundJob' => __DIR__.'/..'.'/../lib/ResetTokenBackgroundJob.php', |
|
31 | + 'OCA\\UpdateNotification\\Settings\\Admin' => __DIR__.'/..'.'/../lib/Settings/Admin.php', |
|
32 | + 'OCA\\UpdateNotification\\UpdateChecker' => __DIR__.'/..'.'/../lib/UpdateChecker.php', |
|
33 | 33 | ); |
34 | 34 | |
35 | 35 | public static function getInitializer(ClassLoader $loader) |
36 | 36 | { |
37 | - return \Closure::bind(function () use ($loader) { |
|
37 | + return \Closure::bind(function() use ($loader) { |
|
38 | 38 | $loader->prefixLengthsPsr4 = ComposerStaticInitUpdateNotification::$prefixLengthsPsr4; |
39 | 39 | $loader->prefixDirsPsr4 = ComposerStaticInitUpdateNotification::$prefixDirsPsr4; |
40 | 40 | $loader->classMap = ComposerStaticInitUpdateNotification::$classMap; |
@@ -6,13 +6,13 @@ |
||
6 | 6 | $baseDir = $vendorDir; |
7 | 7 | |
8 | 8 | return array( |
9 | - 'OCA\\UpdateNotification\\AppInfo\\Application' => $baseDir . '/../lib/AppInfo/Application.php', |
|
10 | - 'OCA\\UpdateNotification\\Command\\Check' => $baseDir . '/../lib/Command/Check.php', |
|
11 | - 'OCA\\UpdateNotification\\Controller\\APIController' => $baseDir . '/../lib/Controller/APIController.php', |
|
12 | - 'OCA\\UpdateNotification\\Controller\\AdminController' => $baseDir . '/../lib/Controller/AdminController.php', |
|
13 | - 'OCA\\UpdateNotification\\Notification\\BackgroundJob' => $baseDir . '/../lib/Notification/BackgroundJob.php', |
|
14 | - 'OCA\\UpdateNotification\\Notification\\Notifier' => $baseDir . '/../lib/Notification/Notifier.php', |
|
15 | - 'OCA\\UpdateNotification\\ResetTokenBackgroundJob' => $baseDir . '/../lib/ResetTokenBackgroundJob.php', |
|
16 | - 'OCA\\UpdateNotification\\Settings\\Admin' => $baseDir . '/../lib/Settings/Admin.php', |
|
17 | - 'OCA\\UpdateNotification\\UpdateChecker' => $baseDir . '/../lib/UpdateChecker.php', |
|
9 | + 'OCA\\UpdateNotification\\AppInfo\\Application' => $baseDir.'/../lib/AppInfo/Application.php', |
|
10 | + 'OCA\\UpdateNotification\\Command\\Check' => $baseDir.'/../lib/Command/Check.php', |
|
11 | + 'OCA\\UpdateNotification\\Controller\\APIController' => $baseDir.'/../lib/Controller/APIController.php', |
|
12 | + 'OCA\\UpdateNotification\\Controller\\AdminController' => $baseDir.'/../lib/Controller/AdminController.php', |
|
13 | + 'OCA\\UpdateNotification\\Notification\\BackgroundJob' => $baseDir.'/../lib/Notification/BackgroundJob.php', |
|
14 | + 'OCA\\UpdateNotification\\Notification\\Notifier' => $baseDir.'/../lib/Notification/Notifier.php', |
|
15 | + 'OCA\\UpdateNotification\\ResetTokenBackgroundJob' => $baseDir.'/../lib/ResetTokenBackgroundJob.php', |
|
16 | + 'OCA\\UpdateNotification\\Settings\\Admin' => $baseDir.'/../lib/Settings/Admin.php', |
|
17 | + 'OCA\\UpdateNotification\\UpdateChecker' => $baseDir.'/../lib/UpdateChecker.php', |
|
18 | 18 | ); |