Passed
Push — master ( de52f4...87347c )
by Morris
10:51
created
apps/systemtags/appinfo/app.php 1 patch
Indentation   +23 added lines, -23 removed lines patch added patch discarded remove patch
@@ -30,20 +30,20 @@  discard block
 block discarded – undo
30 30
 
31 31
 $eventDispatcher = \OC::$server->getEventDispatcher();
32 32
 $eventDispatcher->addListener(
33
-	'OCA\Files::loadAdditionalScripts',
34
-	function() {
35
-		// FIXME: no public API for these ?
36
-		\OCP\Util::addScript('dist/systemtags');
37
-		\OCP\Util::addScript('systemtags', 'merged');
38
-		\OCP\Util::addStyle('systemtags', 'systemtagsfilelist');
39
-	}
33
+    'OCA\Files::loadAdditionalScripts',
34
+    function() {
35
+        // FIXME: no public API for these ?
36
+        \OCP\Util::addScript('dist/systemtags');
37
+        \OCP\Util::addScript('systemtags', 'merged');
38
+        \OCP\Util::addStyle('systemtags', 'systemtagsfilelist');
39
+    }
40 40
 );
41 41
 
42 42
 $managerListener = function(ManagerEvent $event) {
43
-	$application = new \OCP\AppFramework\App('systemtags');
44
-	/** @var \OCA\SystemTags\Activity\Listener $listener */
45
-	$listener = $application->getContainer()->query(Listener::class);
46
-	$listener->event($event);
43
+    $application = new \OCP\AppFramework\App('systemtags');
44
+    /** @var \OCA\SystemTags\Activity\Listener $listener */
45
+    $listener = $application->getContainer()->query(Listener::class);
46
+    $listener->event($event);
47 47
 };
48 48
 
49 49
 $eventDispatcher->addListener(ManagerEvent::EVENT_CREATE, $managerListener);
@@ -51,23 +51,23 @@  discard block
 block discarded – undo
51 51
 $eventDispatcher->addListener(ManagerEvent::EVENT_UPDATE, $managerListener);
52 52
 
53 53
 $mapperListener = function(MapperEvent $event) {
54
-	$application = new \OCP\AppFramework\App('systemtags');
55
-	/** @var \OCA\SystemTags\Activity\Listener $listener */
56
-	$listener = $application->getContainer()->query(Listener::class);
57
-	$listener->mapperEvent($event);
54
+    $application = new \OCP\AppFramework\App('systemtags');
55
+    /** @var \OCA\SystemTags\Activity\Listener $listener */
56
+    $listener = $application->getContainer()->query(Listener::class);
57
+    $listener->mapperEvent($event);
58 58
 };
59 59
 
60 60
 $eventDispatcher->addListener(MapperEvent::EVENT_ASSIGN, $mapperListener);
61 61
 $eventDispatcher->addListener(MapperEvent::EVENT_UNASSIGN, $mapperListener);
62 62
 
63 63
 \OCA\Files\App::getNavigationManager()->add(function () {
64
-	$l = \OC::$server->getL10N('systemtags');
65
-	return [
66
-		'id' => 'systemtagsfilter',
67
-		'appname' => 'systemtags',
68
-		'script' => 'list.php',
69
-		'order' => 25,
70
-		'name' => $l->t('Tags'),
71
-	];
64
+    $l = \OC::$server->getL10N('systemtags');
65
+    return [
66
+        'id' => 'systemtagsfilter',
67
+        'appname' => 'systemtags',
68
+        'script' => 'list.php',
69
+        'order' => 25,
70
+        'name' => $l->t('Tags'),
71
+    ];
72 72
 });
73 73
 
Please login to merge, or discard this patch.