@@ -87,7 +87,7 @@ |
||
87 | 87 | } |
88 | 88 | |
89 | 89 | protected function registerCommentsEventHandler(IServerContainer $container) { |
90 | - $container->getCommentsManager()->registerEventHandler(function () { |
|
90 | + $container->getCommentsManager()->registerEventHandler(function() { |
|
91 | 91 | return $this->getContainer()->query(EventHandler::class); |
92 | 92 | }); |
93 | 93 | } |
@@ -36,8 +36,8 @@ |
||
36 | 36 | return; |
37 | 37 | } |
38 | 38 | |
39 | - $event->addEntityCollection('files', function ($name) { |
|
40 | - $nodes = \OC::$server->getUserFolder()->getById((int)$name); |
|
39 | + $event->addEntityCollection('files', function($name) { |
|
40 | + $nodes = \OC::$server->getUserFolder()->getById((int) $name); |
|
41 | 41 | return !empty($nodes); |
42 | 42 | }); |
43 | 43 | } |
@@ -6,21 +6,21 @@ |
||
6 | 6 | $baseDir = $vendorDir; |
7 | 7 | |
8 | 8 | return array( |
9 | - 'OCA\\Comments\\Activity\\Filter' => $baseDir . '/../lib/Activity/Filter.php', |
|
10 | - 'OCA\\Comments\\Activity\\Listener' => $baseDir . '/../lib/Activity/Listener.php', |
|
11 | - 'OCA\\Comments\\Activity\\Provider' => $baseDir . '/../lib/Activity/Provider.php', |
|
12 | - 'OCA\\Comments\\Activity\\Setting' => $baseDir . '/../lib/Activity/Setting.php', |
|
13 | - 'OCA\\Comments\\AppInfo\\Application' => $baseDir . '/../lib/AppInfo/Application.php', |
|
14 | - 'OCA\\Comments\\Capabilities' => $baseDir . '/../lib/Capabilities.php', |
|
15 | - 'OCA\\Comments\\Collaboration\\CommentersSorter' => $baseDir . '/../lib/Collaboration/CommentersSorter.php', |
|
16 | - 'OCA\\Comments\\Controller\\Notifications' => $baseDir . '/../lib/Controller/Notifications.php', |
|
17 | - 'OCA\\Comments\\EventHandler' => $baseDir . '/../lib/EventHandler.php', |
|
18 | - 'OCA\\Comments\\JSSettingsHelper' => $baseDir . '/../lib/JSSettingsHelper.php', |
|
19 | - 'OCA\\Comments\\Listener\\CommentsEntityEventListener' => $baseDir . '/../lib/Listener/CommentsEntityEventListener.php', |
|
20 | - 'OCA\\Comments\\Listener\\LoadAdditionalScripts' => $baseDir . '/../lib/Listener/LoadAdditionalScripts.php', |
|
21 | - 'OCA\\Comments\\Listener\\LoadSidebarScripts' => $baseDir . '/../lib/Listener/LoadSidebarScripts.php', |
|
22 | - 'OCA\\Comments\\Notification\\Listener' => $baseDir . '/../lib/Notification/Listener.php', |
|
23 | - 'OCA\\Comments\\Notification\\Notifier' => $baseDir . '/../lib/Notification/Notifier.php', |
|
24 | - 'OCA\\Comments\\Search\\Provider' => $baseDir . '/../lib/Search/Provider.php', |
|
25 | - 'OCA\\Comments\\Search\\Result' => $baseDir . '/../lib/Search/Result.php', |
|
9 | + 'OCA\\Comments\\Activity\\Filter' => $baseDir.'/../lib/Activity/Filter.php', |
|
10 | + 'OCA\\Comments\\Activity\\Listener' => $baseDir.'/../lib/Activity/Listener.php', |
|
11 | + 'OCA\\Comments\\Activity\\Provider' => $baseDir.'/../lib/Activity/Provider.php', |
|
12 | + 'OCA\\Comments\\Activity\\Setting' => $baseDir.'/../lib/Activity/Setting.php', |
|
13 | + 'OCA\\Comments\\AppInfo\\Application' => $baseDir.'/../lib/AppInfo/Application.php', |
|
14 | + 'OCA\\Comments\\Capabilities' => $baseDir.'/../lib/Capabilities.php', |
|
15 | + 'OCA\\Comments\\Collaboration\\CommentersSorter' => $baseDir.'/../lib/Collaboration/CommentersSorter.php', |
|
16 | + 'OCA\\Comments\\Controller\\Notifications' => $baseDir.'/../lib/Controller/Notifications.php', |
|
17 | + 'OCA\\Comments\\EventHandler' => $baseDir.'/../lib/EventHandler.php', |
|
18 | + 'OCA\\Comments\\JSSettingsHelper' => $baseDir.'/../lib/JSSettingsHelper.php', |
|
19 | + 'OCA\\Comments\\Listener\\CommentsEntityEventListener' => $baseDir.'/../lib/Listener/CommentsEntityEventListener.php', |
|
20 | + 'OCA\\Comments\\Listener\\LoadAdditionalScripts' => $baseDir.'/../lib/Listener/LoadAdditionalScripts.php', |
|
21 | + 'OCA\\Comments\\Listener\\LoadSidebarScripts' => $baseDir.'/../lib/Listener/LoadSidebarScripts.php', |
|
22 | + 'OCA\\Comments\\Notification\\Listener' => $baseDir.'/../lib/Notification/Listener.php', |
|
23 | + 'OCA\\Comments\\Notification\\Notifier' => $baseDir.'/../lib/Notification/Notifier.php', |
|
24 | + 'OCA\\Comments\\Search\\Provider' => $baseDir.'/../lib/Search/Provider.php', |
|
25 | + 'OCA\\Comments\\Search\\Result' => $baseDir.'/../lib/Search/Result.php', |
|
26 | 26 | ); |
@@ -6,43 +6,43 @@ |
||
6 | 6 | |
7 | 7 | class ComposerStaticInitComments |
8 | 8 | { |
9 | - public static $prefixLengthsPsr4 = array ( |
|
9 | + public static $prefixLengthsPsr4 = array( |
|
10 | 10 | 'O' => |
11 | - array ( |
|
11 | + array( |
|
12 | 12 | 'OCA\\Comments\\' => 13, |
13 | 13 | ), |
14 | 14 | ); |
15 | 15 | |
16 | - public static $prefixDirsPsr4 = array ( |
|
16 | + public static $prefixDirsPsr4 = array( |
|
17 | 17 | 'OCA\\Comments\\' => |
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\\Comments\\Activity\\Filter' => __DIR__ . '/..' . '/../lib/Activity/Filter.php', |
|
25 | - 'OCA\\Comments\\Activity\\Listener' => __DIR__ . '/..' . '/../lib/Activity/Listener.php', |
|
26 | - 'OCA\\Comments\\Activity\\Provider' => __DIR__ . '/..' . '/../lib/Activity/Provider.php', |
|
27 | - 'OCA\\Comments\\Activity\\Setting' => __DIR__ . '/..' . '/../lib/Activity/Setting.php', |
|
28 | - 'OCA\\Comments\\AppInfo\\Application' => __DIR__ . '/..' . '/../lib/AppInfo/Application.php', |
|
29 | - 'OCA\\Comments\\Capabilities' => __DIR__ . '/..' . '/../lib/Capabilities.php', |
|
30 | - 'OCA\\Comments\\Collaboration\\CommentersSorter' => __DIR__ . '/..' . '/../lib/Collaboration/CommentersSorter.php', |
|
31 | - 'OCA\\Comments\\Controller\\Notifications' => __DIR__ . '/..' . '/../lib/Controller/Notifications.php', |
|
32 | - 'OCA\\Comments\\EventHandler' => __DIR__ . '/..' . '/../lib/EventHandler.php', |
|
33 | - 'OCA\\Comments\\JSSettingsHelper' => __DIR__ . '/..' . '/../lib/JSSettingsHelper.php', |
|
34 | - 'OCA\\Comments\\Listener\\CommentsEntityEventListener' => __DIR__ . '/..' . '/../lib/Listener/CommentsEntityEventListener.php', |
|
35 | - 'OCA\\Comments\\Listener\\LoadAdditionalScripts' => __DIR__ . '/..' . '/../lib/Listener/LoadAdditionalScripts.php', |
|
36 | - 'OCA\\Comments\\Listener\\LoadSidebarScripts' => __DIR__ . '/..' . '/../lib/Listener/LoadSidebarScripts.php', |
|
37 | - 'OCA\\Comments\\Notification\\Listener' => __DIR__ . '/..' . '/../lib/Notification/Listener.php', |
|
38 | - 'OCA\\Comments\\Notification\\Notifier' => __DIR__ . '/..' . '/../lib/Notification/Notifier.php', |
|
39 | - 'OCA\\Comments\\Search\\Provider' => __DIR__ . '/..' . '/../lib/Search/Provider.php', |
|
40 | - 'OCA\\Comments\\Search\\Result' => __DIR__ . '/..' . '/../lib/Search/Result.php', |
|
23 | + public static $classMap = array( |
|
24 | + 'OCA\\Comments\\Activity\\Filter' => __DIR__.'/..'.'/../lib/Activity/Filter.php', |
|
25 | + 'OCA\\Comments\\Activity\\Listener' => __DIR__.'/..'.'/../lib/Activity/Listener.php', |
|
26 | + 'OCA\\Comments\\Activity\\Provider' => __DIR__.'/..'.'/../lib/Activity/Provider.php', |
|
27 | + 'OCA\\Comments\\Activity\\Setting' => __DIR__.'/..'.'/../lib/Activity/Setting.php', |
|
28 | + 'OCA\\Comments\\AppInfo\\Application' => __DIR__.'/..'.'/../lib/AppInfo/Application.php', |
|
29 | + 'OCA\\Comments\\Capabilities' => __DIR__.'/..'.'/../lib/Capabilities.php', |
|
30 | + 'OCA\\Comments\\Collaboration\\CommentersSorter' => __DIR__.'/..'.'/../lib/Collaboration/CommentersSorter.php', |
|
31 | + 'OCA\\Comments\\Controller\\Notifications' => __DIR__.'/..'.'/../lib/Controller/Notifications.php', |
|
32 | + 'OCA\\Comments\\EventHandler' => __DIR__.'/..'.'/../lib/EventHandler.php', |
|
33 | + 'OCA\\Comments\\JSSettingsHelper' => __DIR__.'/..'.'/../lib/JSSettingsHelper.php', |
|
34 | + 'OCA\\Comments\\Listener\\CommentsEntityEventListener' => __DIR__.'/..'.'/../lib/Listener/CommentsEntityEventListener.php', |
|
35 | + 'OCA\\Comments\\Listener\\LoadAdditionalScripts' => __DIR__.'/..'.'/../lib/Listener/LoadAdditionalScripts.php', |
|
36 | + 'OCA\\Comments\\Listener\\LoadSidebarScripts' => __DIR__.'/..'.'/../lib/Listener/LoadSidebarScripts.php', |
|
37 | + 'OCA\\Comments\\Notification\\Listener' => __DIR__.'/..'.'/../lib/Notification/Listener.php', |
|
38 | + 'OCA\\Comments\\Notification\\Notifier' => __DIR__.'/..'.'/../lib/Notification/Notifier.php', |
|
39 | + 'OCA\\Comments\\Search\\Provider' => __DIR__.'/..'.'/../lib/Search/Provider.php', |
|
40 | + 'OCA\\Comments\\Search\\Result' => __DIR__.'/..'.'/../lib/Search/Result.php', |
|
41 | 41 | ); |
42 | 42 | |
43 | 43 | public static function getInitializer(ClassLoader $loader) |
44 | 44 | { |
45 | - return \Closure::bind(function () use ($loader) { |
|
45 | + return \Closure::bind(function() use ($loader) { |
|
46 | 46 | $loader->prefixLengthsPsr4 = ComposerStaticInitComments::$prefixLengthsPsr4; |
47 | 47 | $loader->prefixDirsPsr4 = ComposerStaticInitComments::$prefixDirsPsr4; |
48 | 48 | $loader->classMap = ComposerStaticInitComments::$classMap; |
@@ -74,7 +74,7 @@ |
||
74 | 74 | */ |
75 | 75 | public function run(IOutput $output) { |
76 | 76 | $output->startProgress(); |
77 | - $this->userManager->callForSeenUsers(function (IUser $user) use ($output) { |
|
77 | + $this->userManager->callForSeenUsers(function(IUser $user) use ($output) { |
|
78 | 78 | $theme = $this->config->getUserValue($user->getUID(), Application::APP_ID, 'theme', false); |
79 | 79 | if ($theme === 'themedark') { |
80 | 80 | $this->config->setUserValue($user->getUID(), Application::APP_ID, 'theme', 'dark'); |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | // we want to check if any theme or font is enabled. |
86 | 86 | if (count($userValues) > 0) { |
87 | 87 | $hash = $config->getUserValue($loggedUser->getUID(), self::APP_ID, 'icons-css', md5(implode('-', $userValues))); |
88 | - $linkToCSS = $urlGenerator->linkToRoute(self::APP_ID . '.accessibility.getCss', ['md5' => $hash]); |
|
88 | + $linkToCSS = $urlGenerator->linkToRoute(self::APP_ID.'.accessibility.getCss', ['md5' => $hash]); |
|
89 | 89 | \OCP\Util::addHeader('link', ['rel' => 'stylesheet', 'href' => $linkToCSS]); |
90 | 90 | } |
91 | 91 | } |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | IConfig $config, |
96 | 96 | IServerContainer $serverContainer) { |
97 | 97 | $linkToJs = $urlGenerator->linkToRoute( |
98 | - self::APP_ID . '.accessibility.getJavascript', |
|
98 | + self::APP_ID.'.accessibility.getJavascript', |
|
99 | 99 | [ |
100 | 100 | 'v' => $config->getAppValue(self::APP_ID, 'cachebuster', '0'), |
101 | 101 | ] |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | private function getLogger(IConfig $config, |
95 | 95 | ILogger $logger, |
96 | 96 | ILogFactory $logFactory): ILogger { |
97 | - $default = $config->getSystemValue('datadirectory', \OC::$SERVERROOT . '/data') . '/audit.log'; |
|
97 | + $default = $config->getSystemValue('datadirectory', \OC::$SERVERROOT.'/data').'/audit.log'; |
|
98 | 98 | $logFile = $config->getAppValue('admin_audit', 'logfile', $default); |
99 | 99 | |
100 | 100 | if ($logFile === null) { |
@@ -174,15 +174,15 @@ discard block |
||
174 | 174 | private function appHooks(ILogger $logger, |
175 | 175 | IServerContainer $serverContainer) { |
176 | 176 | $eventDispatcher = $serverContainer->getEventDispatcher(); |
177 | - $eventDispatcher->addListener(ManagerEvent::EVENT_APP_ENABLE, function (ManagerEvent $event) use ($logger) { |
|
177 | + $eventDispatcher->addListener(ManagerEvent::EVENT_APP_ENABLE, function(ManagerEvent $event) use ($logger) { |
|
178 | 178 | $appActions = new AppManagement($logger); |
179 | 179 | $appActions->enableApp($event->getAppID()); |
180 | 180 | }); |
181 | - $eventDispatcher->addListener(ManagerEvent::EVENT_APP_ENABLE_FOR_GROUPS, function (ManagerEvent $event) use ($logger) { |
|
181 | + $eventDispatcher->addListener(ManagerEvent::EVENT_APP_ENABLE_FOR_GROUPS, function(ManagerEvent $event) use ($logger) { |
|
182 | 182 | $appActions = new AppManagement($logger); |
183 | 183 | $appActions->enableAppForGroups($event->getAppID(), $event->getGroups()); |
184 | 184 | }); |
185 | - $eventDispatcher->addListener(ManagerEvent::EVENT_APP_DISABLE, function (ManagerEvent $event) use ($logger) { |
|
185 | + $eventDispatcher->addListener(ManagerEvent::EVENT_APP_DISABLE, function(ManagerEvent $event) use ($logger) { |
|
186 | 186 | $appActions = new AppManagement($logger); |
187 | 187 | $appActions->disableApp($event->getAppID()); |
188 | 188 | }); |
@@ -191,7 +191,7 @@ discard block |
||
191 | 191 | private function consoleHooks(ILogger $logger, |
192 | 192 | IServerContainer $serverContainer) { |
193 | 193 | $eventDispatcher = $serverContainer->getEventDispatcher(); |
194 | - $eventDispatcher->addListener(ConsoleEvent::EVENT_RUN, function (ConsoleEvent $event) use ($logger) { |
|
194 | + $eventDispatcher->addListener(ConsoleEvent::EVENT_RUN, function(ConsoleEvent $event) use ($logger) { |
|
195 | 195 | $appActions = new Console($logger); |
196 | 196 | $appActions->runCommand($event->getArguments()); |
197 | 197 | }); |
@@ -203,7 +203,7 @@ discard block |
||
203 | 203 | $eventDispatcher = $serverContainer->getEventDispatcher(); |
204 | 204 | $eventDispatcher->addListener( |
205 | 205 | IPreview::EVENT, |
206 | - function (GenericEvent $event) use ($fileActions) { |
|
206 | + function(GenericEvent $event) use ($fileActions) { |
|
207 | 207 | /** @var File $file */ |
208 | 208 | $file = $event->getSubject(); |
209 | 209 | $fileActions->preview([ |
@@ -275,11 +275,11 @@ discard block |
||
275 | 275 | private function securityHooks(ILogger $logger, |
276 | 276 | IServerContainer $serverContainer) { |
277 | 277 | $eventDispatcher = $serverContainer->getEventDispatcher(); |
278 | - $eventDispatcher->addListener(IProvider::EVENT_SUCCESS, function (GenericEvent $event) use ($logger) { |
|
278 | + $eventDispatcher->addListener(IProvider::EVENT_SUCCESS, function(GenericEvent $event) use ($logger) { |
|
279 | 279 | $security = new Security($logger); |
280 | 280 | $security->twofactorSuccess($event->getSubject(), $event->getArguments()); |
281 | 281 | }); |
282 | - $eventDispatcher->addListener(IProvider::EVENT_FAILED, function (GenericEvent $event) use ($logger) { |
|
282 | + $eventDispatcher->addListener(IProvider::EVENT_FAILED, function(GenericEvent $event) use ($logger) { |
|
283 | 283 | $security = new Security($logger); |
284 | 284 | $security->twofactorFailed($event->getSubject(), $event->getArguments()); |
285 | 285 | }); |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | /** |
67 | 67 | * @param array $urlParams |
68 | 68 | */ |
69 | - public function __construct(array $urlParams=[]) { |
|
69 | + public function __construct(array $urlParams = []) { |
|
70 | 70 | parent::__construct(self::APP_ID, $urlParams); |
71 | 71 | } |
72 | 72 | |
@@ -79,11 +79,11 @@ discard block |
||
79 | 79 | * Core class wrappers |
80 | 80 | */ |
81 | 81 | /** FIXME: Remove once OC_User is non-static and mockable */ |
82 | - $context->registerService('isAdmin', function () { |
|
82 | + $context->registerService('isAdmin', function() { |
|
83 | 83 | return \OC_User::isAdminUser(\OC_User::getUser()); |
84 | 84 | }); |
85 | 85 | /** FIXME: Remove once OC_SubAdmin is non-static and mockable */ |
86 | - $context->registerService('isSubAdmin', function (IContainer $c) { |
|
86 | + $context->registerService('isSubAdmin', function(IContainer $c) { |
|
87 | 87 | $userObject = \OC::$server->getUserSession()->getUser(); |
88 | 88 | $isSubAdmin = false; |
89 | 89 | if ($userObject !== null) { |
@@ -91,20 +91,20 @@ discard block |
||
91 | 91 | } |
92 | 92 | return $isSubAdmin; |
93 | 93 | }); |
94 | - $context->registerService('userCertificateManager', function (IContainer $c) { |
|
94 | + $context->registerService('userCertificateManager', function(IContainer $c) { |
|
95 | 95 | return $c->query('ServerContainer')->getCertificateManager(); |
96 | 96 | }, false); |
97 | - $context->registerService('systemCertificateManager', function (IContainer $c) { |
|
97 | + $context->registerService('systemCertificateManager', function(IContainer $c) { |
|
98 | 98 | return $c->query('ServerContainer')->getCertificateManager(null); |
99 | 99 | }, false); |
100 | - $context->registerService(IProvider::class, function (IContainer $c) { |
|
100 | + $context->registerService(IProvider::class, function(IContainer $c) { |
|
101 | 101 | return $c->query('ServerContainer')->query(IProvider::class); |
102 | 102 | }); |
103 | - $context->registerService(IManager::class, function (IContainer $c) { |
|
103 | + $context->registerService(IManager::class, function(IContainer $c) { |
|
104 | 104 | return $c->query('ServerContainer')->getSettingsManager(); |
105 | 105 | }); |
106 | 106 | |
107 | - $context->registerService(NewUserMailHelper::class, function (IContainer $c) { |
|
107 | + $context->registerService(NewUserMailHelper::class, function(IContainer $c) { |
|
108 | 108 | /** @var Server $server */ |
109 | 109 | $server = $c->query('ServerContainer'); |
110 | 110 | /** @var Defaults $defaults */ |
@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | /** @var EventDispatcherInterface $eventDispatcher */ |
129 | 129 | $eventDispatcher = $context->getServerContainer()->getEventDispatcher(); |
130 | 130 | $container = $context->getAppContainer(); |
131 | - $eventDispatcher->addListener('app_password_created', function (GenericEvent $event) use ($container) { |
|
131 | + $eventDispatcher->addListener('app_password_created', function(GenericEvent $event) use ($container) { |
|
132 | 132 | if (($token = $event->getSubject()) instanceof IToken) { |
133 | 133 | /** @var IActivityManager $activityManager */ |
134 | 134 | $activityManager = $container->query(IActivityManager::class); |
@@ -155,8 +155,8 @@ discard block |
||
155 | 155 | Util::connectHook('OC_User', 'changeUser', $this, 'onChangeInfo'); |
156 | 156 | |
157 | 157 | $groupManager = $context->getServerContainer()->getGroupManager(); |
158 | - $groupManager->listen('\OC\Group', 'postRemoveUser', [$this, 'removeUserFromGroup']); |
|
159 | - $groupManager->listen('\OC\Group', 'postAddUser', [$this, 'addUserToGroup']); |
|
158 | + $groupManager->listen('\OC\Group', 'postRemoveUser', [$this, 'removeUserFromGroup']); |
|
159 | + $groupManager->listen('\OC\Group', 'postAddUser', [$this, 'addUserToGroup']); |
|
160 | 160 | |
161 | 161 | Util::connectHook('\OCP\Config', 'js', $this, 'extendJsConfig'); |
162 | 162 | } |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | $this->logger = $logger; |
60 | 60 | } |
61 | 61 | |
62 | - public function for(string $appId): IRegistrationContext { |
|
62 | + public function for (string $appId): IRegistrationContext { |
|
63 | 63 | return new class($appId, $this) implements IRegistrationContext { |
64 | 64 | /** @var string */ |
65 | 65 | private $appId; |
@@ -182,7 +182,7 @@ discard block |
||
182 | 182 | } catch (Throwable $e) { |
183 | 183 | $appId = $registration['appId']; |
184 | 184 | $this->logger->logException($e, [ |
185 | - 'message' => "Error during capability registration of $appId: " . $e->getMessage(), |
|
185 | + 'message' => "Error during capability registration of $appId: ".$e->getMessage(), |
|
186 | 186 | 'level' => ILogger::ERROR, |
187 | 187 | ]); |
188 | 188 | } |
@@ -207,7 +207,7 @@ discard block |
||
207 | 207 | } catch (Throwable $e) { |
208 | 208 | $appId = $registration['appId']; |
209 | 209 | $this->logger->logException($e, [ |
210 | - 'message' => "Error during event listener registration of $appId: " . $e->getMessage(), |
|
210 | + 'message' => "Error during event listener registration of $appId: ".$e->getMessage(), |
|
211 | 211 | 'level' => ILogger::ERROR, |
212 | 212 | ]); |
213 | 213 | } |
@@ -233,7 +233,7 @@ discard block |
||
233 | 233 | } catch (Throwable $e) { |
234 | 234 | $appId = $registration['appId']; |
235 | 235 | $this->logger->logException($e, [ |
236 | - 'message' => "Error during service registration of $appId: " . $e->getMessage(), |
|
236 | + 'message' => "Error during service registration of $appId: ".$e->getMessage(), |
|
237 | 237 | 'level' => ILogger::ERROR, |
238 | 238 | ]); |
239 | 239 | } |
@@ -250,7 +250,7 @@ discard block |
||
250 | 250 | } catch (Throwable $e) { |
251 | 251 | $appId = $registration['appId']; |
252 | 252 | $this->logger->logException($e, [ |
253 | - 'message' => "Error during service alias registration of $appId: " . $e->getMessage(), |
|
253 | + 'message' => "Error during service alias registration of $appId: ".$e->getMessage(), |
|
254 | 254 | 'level' => ILogger::ERROR, |
255 | 255 | ]); |
256 | 256 | } |
@@ -267,7 +267,7 @@ discard block |
||
267 | 267 | } catch (Throwable $e) { |
268 | 268 | $appId = $registration['appId']; |
269 | 269 | $this->logger->logException($e, [ |
270 | - 'message' => "Error during service alias registration of $appId: " . $e->getMessage(), |
|
270 | + 'message' => "Error during service alias registration of $appId: ".$e->getMessage(), |
|
271 | 271 | 'level' => ILogger::ERROR, |
272 | 272 | ]); |
273 | 273 | } |
@@ -286,7 +286,7 @@ discard block |
||
286 | 286 | } catch (Throwable $e) { |
287 | 287 | $appId = $middleware['appId']; |
288 | 288 | $this->logger->logException($e, [ |
289 | - 'message' => "Error during capability registration of $appId: " . $e->getMessage(), |
|
289 | + 'message' => "Error during capability registration of $appId: ".$e->getMessage(), |
|
290 | 290 | 'level' => ILogger::ERROR, |
291 | 291 | ]); |
292 | 292 | } |