Completed
Push — master ( baae99...c3ddd1 )
by
unknown
29:22 queued 39s
created
apps/updatenotification/lib/Controller/APIController.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 
76 76
 		// Get list of installed custom apps
77 77
 		$installedApps = $this->appManager->getEnabledApps();
78
-		$installedApps = array_filter($installedApps, function ($app) {
78
+		$installedApps = array_filter($installedApps, function($app) {
79 79
 			try {
80 80
 				$this->appManager->getAppPath($app);
81 81
 			} catch (AppPathNotFoundException $e) {
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
 		$this->appFetcher->setVersion($newVersion, 'future-apps.json', false);
95 95
 
96 96
 		// Apps available on the app store for that version
97
-		$availableApps = array_map(static function (array $app): string {
97
+		$availableApps = array_map(static function(array $app): string {
98 98
 			return $app['id'];
99 99
 		}, $this->appFetcher->get());
100 100
 
@@ -106,9 +106,9 @@  discard block
 block discarded – undo
106 106
 		}
107 107
 
108 108
 		// Ignore apps that are deployed from git
109
-		$installedApps = array_filter($installedApps, function (string $appId) {
109
+		$installedApps = array_filter($installedApps, function(string $appId) {
110 110
 			try {
111
-				return !file_exists($this->appManager->getAppPath($appId) . '/.git');
111
+				return !file_exists($this->appManager->getAppPath($appId).'/.git');
112 112
 			} catch (AppPathNotFoundException $e) {
113 113
 				return true;
114 114
 			}
Please login to merge, or discard this patch.
apps/updatenotification/lib/Notification/Notifier.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
 				]);
104 104
 
105 105
 				if ($this->isAdmin()) {
106
-					$notification->setLink($this->url->linkToRouteAbsolute('settings.AdminSettings.index', ['section' => 'overview']) . '#version');
106
+					$notification->setLink($this->url->linkToRouteAbsolute('settings.AdminSettings.index', ['section' => 'overview']).'#version');
107 107
 				}
108 108
 			} else {
109 109
 				$appInfo = $this->getAppInfo($notification->getObjectType(), $languageCode);
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
 				]);
123 123
 
124 124
 				if ($this->isAdmin()) {
125
-					$notification->setLink($this->url->linkToRouteAbsolute('settings.AppSettings.viewApps', ['category' => 'updates']) . '#app-' . $notification->getObjectType());
125
+					$notification->setLink($this->url->linkToRouteAbsolute('settings.AppSettings.viewApps', ['category' => 'updates']).'#app-'.$notification->getObjectType());
126 126
 				}
127 127
 			}
128 128
 		}
Please login to merge, or discard this patch.
apps/updatenotification/composer/composer/autoload_static.php 1 patch
Spacing   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -6,43 +6,43 @@
 block discarded – undo
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
-        'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
25
-        'OCA\\UpdateNotification\\AppInfo\\Application' => __DIR__ . '/..' . '/../lib/AppInfo/Application.php',
26
-        'OCA\\UpdateNotification\\BackgroundJob\\AppUpdatedNotifications' => __DIR__ . '/..' . '/../lib/BackgroundJob/AppUpdatedNotifications.php',
27
-        'OCA\\UpdateNotification\\BackgroundJob\\ResetToken' => __DIR__ . '/..' . '/../lib/BackgroundJob/ResetToken.php',
28
-        'OCA\\UpdateNotification\\BackgroundJob\\UpdateAvailableNotifications' => __DIR__ . '/..' . '/../lib/BackgroundJob/UpdateAvailableNotifications.php',
29
-        'OCA\\UpdateNotification\\Command\\Check' => __DIR__ . '/..' . '/../lib/Command/Check.php',
30
-        'OCA\\UpdateNotification\\Controller\\APIController' => __DIR__ . '/..' . '/../lib/Controller/APIController.php',
31
-        'OCA\\UpdateNotification\\Controller\\AdminController' => __DIR__ . '/..' . '/../lib/Controller/AdminController.php',
32
-        'OCA\\UpdateNotification\\Controller\\ChangelogController' => __DIR__ . '/..' . '/../lib/Controller/ChangelogController.php',
33
-        'OCA\\UpdateNotification\\Listener\\AppUpdateEventListener' => __DIR__ . '/..' . '/../lib/Listener/AppUpdateEventListener.php',
34
-        'OCA\\UpdateNotification\\Listener\\BeforeTemplateRenderedEventListener' => __DIR__ . '/..' . '/../lib/Listener/BeforeTemplateRenderedEventListener.php',
35
-        'OCA\\UpdateNotification\\Manager' => __DIR__ . '/..' . '/../lib/Manager.php',
36
-        'OCA\\UpdateNotification\\Notification\\AppUpdateNotifier' => __DIR__ . '/..' . '/../lib/Notification/AppUpdateNotifier.php',
37
-        'OCA\\UpdateNotification\\Notification\\Notifier' => __DIR__ . '/..' . '/../lib/Notification/Notifier.php',
38
-        'OCA\\UpdateNotification\\ResponseDefinitions' => __DIR__ . '/..' . '/../lib/ResponseDefinitions.php',
39
-        'OCA\\UpdateNotification\\Settings\\Admin' => __DIR__ . '/..' . '/../lib/Settings/Admin.php',
40
-        'OCA\\UpdateNotification\\UpdateChecker' => __DIR__ . '/..' . '/../lib/UpdateChecker.php',
23
+    public static $classMap = array(
24
+        'Composer\\InstalledVersions' => __DIR__.'/..'.'/composer/InstalledVersions.php',
25
+        'OCA\\UpdateNotification\\AppInfo\\Application' => __DIR__.'/..'.'/../lib/AppInfo/Application.php',
26
+        'OCA\\UpdateNotification\\BackgroundJob\\AppUpdatedNotifications' => __DIR__.'/..'.'/../lib/BackgroundJob/AppUpdatedNotifications.php',
27
+        'OCA\\UpdateNotification\\BackgroundJob\\ResetToken' => __DIR__.'/..'.'/../lib/BackgroundJob/ResetToken.php',
28
+        'OCA\\UpdateNotification\\BackgroundJob\\UpdateAvailableNotifications' => __DIR__.'/..'.'/../lib/BackgroundJob/UpdateAvailableNotifications.php',
29
+        'OCA\\UpdateNotification\\Command\\Check' => __DIR__.'/..'.'/../lib/Command/Check.php',
30
+        'OCA\\UpdateNotification\\Controller\\APIController' => __DIR__.'/..'.'/../lib/Controller/APIController.php',
31
+        'OCA\\UpdateNotification\\Controller\\AdminController' => __DIR__.'/..'.'/../lib/Controller/AdminController.php',
32
+        'OCA\\UpdateNotification\\Controller\\ChangelogController' => __DIR__.'/..'.'/../lib/Controller/ChangelogController.php',
33
+        'OCA\\UpdateNotification\\Listener\\AppUpdateEventListener' => __DIR__.'/..'.'/../lib/Listener/AppUpdateEventListener.php',
34
+        'OCA\\UpdateNotification\\Listener\\BeforeTemplateRenderedEventListener' => __DIR__.'/..'.'/../lib/Listener/BeforeTemplateRenderedEventListener.php',
35
+        'OCA\\UpdateNotification\\Manager' => __DIR__.'/..'.'/../lib/Manager.php',
36
+        'OCA\\UpdateNotification\\Notification\\AppUpdateNotifier' => __DIR__.'/..'.'/../lib/Notification/AppUpdateNotifier.php',
37
+        'OCA\\UpdateNotification\\Notification\\Notifier' => __DIR__.'/..'.'/../lib/Notification/Notifier.php',
38
+        'OCA\\UpdateNotification\\ResponseDefinitions' => __DIR__.'/..'.'/../lib/ResponseDefinitions.php',
39
+        'OCA\\UpdateNotification\\Settings\\Admin' => __DIR__.'/..'.'/../lib/Settings/Admin.php',
40
+        'OCA\\UpdateNotification\\UpdateChecker' => __DIR__.'/..'.'/../lib/UpdateChecker.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 = ComposerStaticInitUpdateNotification::$prefixLengthsPsr4;
47 47
             $loader->prefixDirsPsr4 = ComposerStaticInitUpdateNotification::$prefixDirsPsr4;
48 48
             $loader->classMap = ComposerStaticInitUpdateNotification::$classMap;
Please login to merge, or discard this patch.
apps/updatenotification/composer/composer/autoload_classmap.php 1 patch
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -6,21 +6,21 @@
 block discarded – undo
6 6
 $baseDir = $vendorDir;
7 7
 
8 8
 return array(
9
-    'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
10
-    'OCA\\UpdateNotification\\AppInfo\\Application' => $baseDir . '/../lib/AppInfo/Application.php',
11
-    'OCA\\UpdateNotification\\BackgroundJob\\AppUpdatedNotifications' => $baseDir . '/../lib/BackgroundJob/AppUpdatedNotifications.php',
12
-    'OCA\\UpdateNotification\\BackgroundJob\\ResetToken' => $baseDir . '/../lib/BackgroundJob/ResetToken.php',
13
-    'OCA\\UpdateNotification\\BackgroundJob\\UpdateAvailableNotifications' => $baseDir . '/../lib/BackgroundJob/UpdateAvailableNotifications.php',
14
-    'OCA\\UpdateNotification\\Command\\Check' => $baseDir . '/../lib/Command/Check.php',
15
-    'OCA\\UpdateNotification\\Controller\\APIController' => $baseDir . '/../lib/Controller/APIController.php',
16
-    'OCA\\UpdateNotification\\Controller\\AdminController' => $baseDir . '/../lib/Controller/AdminController.php',
17
-    'OCA\\UpdateNotification\\Controller\\ChangelogController' => $baseDir . '/../lib/Controller/ChangelogController.php',
18
-    'OCA\\UpdateNotification\\Listener\\AppUpdateEventListener' => $baseDir . '/../lib/Listener/AppUpdateEventListener.php',
19
-    'OCA\\UpdateNotification\\Listener\\BeforeTemplateRenderedEventListener' => $baseDir . '/../lib/Listener/BeforeTemplateRenderedEventListener.php',
20
-    'OCA\\UpdateNotification\\Manager' => $baseDir . '/../lib/Manager.php',
21
-    'OCA\\UpdateNotification\\Notification\\AppUpdateNotifier' => $baseDir . '/../lib/Notification/AppUpdateNotifier.php',
22
-    'OCA\\UpdateNotification\\Notification\\Notifier' => $baseDir . '/../lib/Notification/Notifier.php',
23
-    'OCA\\UpdateNotification\\ResponseDefinitions' => $baseDir . '/../lib/ResponseDefinitions.php',
24
-    'OCA\\UpdateNotification\\Settings\\Admin' => $baseDir . '/../lib/Settings/Admin.php',
25
-    'OCA\\UpdateNotification\\UpdateChecker' => $baseDir . '/../lib/UpdateChecker.php',
9
+    'Composer\\InstalledVersions' => $vendorDir.'/composer/InstalledVersions.php',
10
+    'OCA\\UpdateNotification\\AppInfo\\Application' => $baseDir.'/../lib/AppInfo/Application.php',
11
+    'OCA\\UpdateNotification\\BackgroundJob\\AppUpdatedNotifications' => $baseDir.'/../lib/BackgroundJob/AppUpdatedNotifications.php',
12
+    'OCA\\UpdateNotification\\BackgroundJob\\ResetToken' => $baseDir.'/../lib/BackgroundJob/ResetToken.php',
13
+    'OCA\\UpdateNotification\\BackgroundJob\\UpdateAvailableNotifications' => $baseDir.'/../lib/BackgroundJob/UpdateAvailableNotifications.php',
14
+    'OCA\\UpdateNotification\\Command\\Check' => $baseDir.'/../lib/Command/Check.php',
15
+    'OCA\\UpdateNotification\\Controller\\APIController' => $baseDir.'/../lib/Controller/APIController.php',
16
+    'OCA\\UpdateNotification\\Controller\\AdminController' => $baseDir.'/../lib/Controller/AdminController.php',
17
+    'OCA\\UpdateNotification\\Controller\\ChangelogController' => $baseDir.'/../lib/Controller/ChangelogController.php',
18
+    'OCA\\UpdateNotification\\Listener\\AppUpdateEventListener' => $baseDir.'/../lib/Listener/AppUpdateEventListener.php',
19
+    'OCA\\UpdateNotification\\Listener\\BeforeTemplateRenderedEventListener' => $baseDir.'/../lib/Listener/BeforeTemplateRenderedEventListener.php',
20
+    'OCA\\UpdateNotification\\Manager' => $baseDir.'/../lib/Manager.php',
21
+    'OCA\\UpdateNotification\\Notification\\AppUpdateNotifier' => $baseDir.'/../lib/Notification/AppUpdateNotifier.php',
22
+    'OCA\\UpdateNotification\\Notification\\Notifier' => $baseDir.'/../lib/Notification/Notifier.php',
23
+    'OCA\\UpdateNotification\\ResponseDefinitions' => $baseDir.'/../lib/ResponseDefinitions.php',
24
+    'OCA\\UpdateNotification\\Settings\\Admin' => $baseDir.'/../lib/Settings/Admin.php',
25
+    'OCA\\UpdateNotification\\UpdateChecker' => $baseDir.'/../lib/UpdateChecker.php',
26 26
 );
Please login to merge, or discard this patch.
apps/updatenotification/composer/autoload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,6 +17,6 @@
 block discarded – undo
17 17
     throw new RuntimeException($err);
18 18
 }
19 19
 
20
-require_once __DIR__ . '/composer/autoload_real.php';
20
+require_once __DIR__.'/composer/autoload_real.php';
21 21
 
22 22
 return ComposerAutoloaderInitUpdateNotification::getLoader();
Please login to merge, or discard this patch.