Completed
Push — master ( 6f835a...11144a )
by Julius
12:31 queued 10s
created
apps/workflowengine/lib/AppInfo/Application.php 1 patch
Indentation   +47 added lines, -47 removed lines patch added patch discarded remove patch
@@ -27,58 +27,58 @@
 block discarded – undo
27 27
 
28 28
 class Application extends \OCP\AppFramework\App {
29 29
 
30
-	public function __construct() {
31
-		parent::__construct('workflowengine');
30
+    public function __construct() {
31
+        parent::__construct('workflowengine');
32 32
 
33
-		$this->getContainer()->registerAlias('FlowOperationsController', FlowOperations::class);
34
-		$this->getContainer()->registerAlias('RequestTimeController', RequestTime::class);
35
-	}
33
+        $this->getContainer()->registerAlias('FlowOperationsController', FlowOperations::class);
34
+        $this->getContainer()->registerAlias('RequestTimeController', RequestTime::class);
35
+    }
36 36
 
37
-	/**
38
-	 * Register all hooks and listeners
39
-	 */
40
-	public function registerHooksAndListeners() {
41
-		$dispatcher = $this->getContainer()->getServer()->getEventDispatcher();
42
-		$dispatcher->addListener(
43
-			'OCP\WorkflowEngine::loadAdditionalSettingScripts',
44
-			function() {
45
-				if (!function_exists('style')) {
46
-					// This is hacky, but we need to load the template class
47
-					class_exists(Template::class, true);
48
-				}
37
+    /**
38
+     * Register all hooks and listeners
39
+     */
40
+    public function registerHooksAndListeners() {
41
+        $dispatcher = $this->getContainer()->getServer()->getEventDispatcher();
42
+        $dispatcher->addListener(
43
+            'OCP\WorkflowEngine::loadAdditionalSettingScripts',
44
+            function() {
45
+                if (!function_exists('style')) {
46
+                    // This is hacky, but we need to load the template class
47
+                    class_exists(Template::class, true);
48
+                }
49 49
 
50
-				style('workflowengine', [
51
-					'admin',
52
-				]);
50
+                style('workflowengine', [
51
+                    'admin',
52
+                ]);
53 53
 
54
-				script('core', [
55
-					'files/fileinfo',
56
-					'files/client',
57
-					'oc-backbone-webdav',
58
-					'systemtags/systemtags',
59
-					'systemtags/systemtagmodel',
60
-					'systemtags/systemtagscollection',
61
-				]);
54
+                script('core', [
55
+                    'files/fileinfo',
56
+                    'files/client',
57
+                    'oc-backbone-webdav',
58
+                    'systemtags/systemtags',
59
+                    'systemtags/systemtagmodel',
60
+                    'systemtags/systemtagscollection',
61
+                ]);
62 62
 
63
-				vendor_script('jsTimezoneDetect/jstz');
63
+                vendor_script('jsTimezoneDetect/jstz');
64 64
 
65
-				script('workflowengine', [
66
-					'admin',
67
-					'templates',
65
+                script('workflowengine', [
66
+                    'admin',
67
+                    'templates',
68 68
 
69
-					// Check plugins
70
-					'filemimetypeplugin',
71
-					'filenameplugin',
72
-					'filesizeplugin',
73
-					'filesystemtagsplugin',
74
-					'requestremoteaddressplugin',
75
-					'requesttimeplugin',
76
-					'requesturlplugin',
77
-					'requestuseragentplugin',
78
-					'usergroupmembershipplugin',
79
-				]);
80
-			},
81
-			-100
82
-		);
83
-	}
69
+                    // Check plugins
70
+                    'filemimetypeplugin',
71
+                    'filenameplugin',
72
+                    'filesizeplugin',
73
+                    'filesystemtagsplugin',
74
+                    'requestremoteaddressplugin',
75
+                    'requesttimeplugin',
76
+                    'requesturlplugin',
77
+                    'requestuseragentplugin',
78
+                    'usergroupmembershipplugin',
79
+                ]);
80
+            },
81
+            -100
82
+        );
83
+    }
84 84
 }
Please login to merge, or discard this patch.