diff --git a/lib/Notification/AppHint.php b/lib/Notification/AppHint.php index 0f53c2385..d71ef3eac 100644 --- a/lib/Notification/AppHint.php +++ b/lib/Notification/AppHint.php @@ -68,7 +68,7 @@ protected function sendNotification(string $app, string $user): void { public function dismissNotification(string $app) { $notification = $this->notificationManager->createNotification(); $notification->setApp('firstrunwizard') - ->setSubject('apphint-'. $app) + ->setSubject('apphint-' . $app) ->setObject('app', $app); $this->notificationManager->markProcessed($notification); } @@ -76,7 +76,7 @@ public function dismissNotification(string $app) { protected function generateNotification(string $app, string $user) { $notification = $this->notificationManager->createNotification(); $notification->setApp('firstrunwizard') - ->setSubject('apphint-'. $app) + ->setSubject('apphint-' . $app) ->setObject('app', $app) ->setUser($user); return $notification; diff --git a/lib/Notification/Notifier.php b/lib/Notification/Notifier.php index 593051575..91b276a3d 100644 --- a/lib/Notification/Notifier.php +++ b/lib/Notification/Notifier.php @@ -202,7 +202,7 @@ protected function setAppHintDetails(INotification $notification, $languageCode, } $notification ->setLink($this->url->linkToRouteAbsolute('settings.AppSettings.viewApps') . $appLink) - ->setIcon($this->url->getAbsoluteURL($this->url->imagePath('firstrunwizard', 'apps/'. $app . '.svg'))); + ->setIcon($this->url->getAbsoluteURL($this->url->imagePath('firstrunwizard', 'apps/' . $app . '.svg'))); return $notification; } } diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 7c6f66d20..216f1f551 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -8,7 +8,7 @@ define('PHPUNIT_RUN', 1); } -require_once __DIR__.'/../../../lib/base.php'; +require_once __DIR__ . '/../../../lib/base.php'; // Fix for "Autoload path not allowed: .../tests/lib/testcase.php" \OC::$loader->addValidRoot(OC::$SERVERROOT . '/tests');