Passed
Push — master ( 99d0ba...8af979 )
by Julius
23:28 queued 12s
created
apps/testing/lib/AppInfo/Application.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -31,22 +31,22 @@
 block discarded – undo
31 31
 use OCP\AppFramework\Bootstrap\IRegistrationContext;
32 32
 
33 33
 class Application extends App implements IBootstrap {
34
-	public function __construct(array $urlParams = []) {
35
-		parent::__construct('testing', $urlParams);
36
-	}
34
+    public function __construct(array $urlParams = []) {
35
+        parent::__construct('testing', $urlParams);
36
+    }
37 37
 
38
-	public function register(IRegistrationContext $context): void {
39
-	}
38
+    public function register(IRegistrationContext $context): void {
39
+    }
40 40
 
41
-	public function boot(IBootContext $context): void {
42
-		$server = $context->getServerContainer();
43
-		$config = $server->getConfig();
44
-		if ($config->getAppValue('testing', 'enable_alt_user_backend', 'no') === 'yes') {
45
-			$userManager = $server->getUserManager();
41
+    public function boot(IBootContext $context): void {
42
+        $server = $context->getServerContainer();
43
+        $config = $server->getConfig();
44
+        if ($config->getAppValue('testing', 'enable_alt_user_backend', 'no') === 'yes') {
45
+            $userManager = $server->getUserManager();
46 46
 
47
-			// replace all user backends with this one
48
-			$userManager->clearBackends();
49
-			$userManager->registerBackend($context->getAppContainer()->get(AlternativeHomeUserBackend::class));
50
-		}
51
-	}
47
+            // replace all user backends with this one
48
+            $userManager->clearBackends();
49
+            $userManager->registerBackend($context->getAppContainer()->get(AlternativeHomeUserBackend::class));
50
+        }
51
+    }
52 52
 }
Please login to merge, or discard this patch.