Completed
Push — master ( 92e282...5f81a7 )
by John
25:44 queued 14s
created
lib/private/Share20/UserRemovedListener.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -34,18 +34,18 @@
 block discarded – undo
34 34
  * @template-implements IEventListener<UserRemovedEvent>
35 35
  */
36 36
 class UserRemovedListener implements IEventListener {
37
-	/** @var IManager */
38
-	protected $shareManager;
37
+    /** @var IManager */
38
+    protected $shareManager;
39 39
 
40
-	public function __construct(IManager $shareManager) {
41
-		$this->shareManager = $shareManager;
42
-	}
40
+    public function __construct(IManager $shareManager) {
41
+        $this->shareManager = $shareManager;
42
+    }
43 43
 
44
-	public function handle(Event $event): void {
45
-		if (!$event instanceof UserRemovedEvent) {
46
-			return;
47
-		}
44
+    public function handle(Event $event): void {
45
+        if (!$event instanceof UserRemovedEvent) {
46
+            return;
47
+        }
48 48
 
49
-		$this->shareManager->userDeletedFromGroup($event->getUser()->getUID(), $event->getGroup()->getGID());
50
-	}
49
+        $this->shareManager->userDeletedFromGroup($event->getUser()->getUID(), $event->getGroup()->getGID());
50
+    }
51 51
 }
Please login to merge, or discard this patch.
lib/private/Comments/ManagerFactory.php 1 patch
Indentation   +23 added lines, -23 removed lines patch added patch discarded remove patch
@@ -30,29 +30,29 @@
 block discarded – undo
30 30
 use OCP\IServerContainer;
31 31
 
32 32
 class ManagerFactory implements ICommentsManagerFactory {
33
-	/**
34
-	 * Server container
35
-	 *
36
-	 * @var IServerContainer
37
-	 */
38
-	private $serverContainer;
33
+    /**
34
+     * Server container
35
+     *
36
+     * @var IServerContainer
37
+     */
38
+    private $serverContainer;
39 39
 
40
-	/**
41
-	 * Constructor for the comments manager factory
42
-	 *
43
-	 * @param IServerContainer $serverContainer server container
44
-	 */
45
-	public function __construct(IServerContainer $serverContainer) {
46
-		$this->serverContainer = $serverContainer;
47
-	}
40
+    /**
41
+     * Constructor for the comments manager factory
42
+     *
43
+     * @param IServerContainer $serverContainer server container
44
+     */
45
+    public function __construct(IServerContainer $serverContainer) {
46
+        $this->serverContainer = $serverContainer;
47
+    }
48 48
 
49
-	/**
50
-	 * creates and returns an instance of the ICommentsManager
51
-	 *
52
-	 * @return ICommentsManager
53
-	 * @since 9.0.0
54
-	 */
55
-	public function getManager() {
56
-		return $this->serverContainer->get(Manager::class);
57
-	}
49
+    /**
50
+     * creates and returns an instance of the ICommentsManager
51
+     *
52
+     * @return ICommentsManager
53
+     * @since 9.0.0
54
+     */
55
+    public function getManager() {
56
+        return $this->serverContainer->get(Manager::class);
57
+    }
58 58
 }
Please login to merge, or discard this patch.
lib/private/Contacts/ContactsMenu/ActionFactory.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -27,22 +27,22 @@
 block discarded – undo
27 27
 use OCP\Contacts\ContactsMenu\ILinkAction;
28 28
 
29 29
 class ActionFactory implements IActionFactory {
30
-	/**
31
-	 * {@inheritDoc}
32
-	 */
33
-	public function newLinkAction(string $icon, string $name, string $href, string $appId = ''): ILinkAction {
34
-		$action = new LinkAction();
35
-		$action->setName($name);
36
-		$action->setIcon($icon);
37
-		$action->setHref($href);
38
-		$action->setAppId($appId);
39
-		return $action;
40
-	}
30
+    /**
31
+     * {@inheritDoc}
32
+     */
33
+    public function newLinkAction(string $icon, string $name, string $href, string $appId = ''): ILinkAction {
34
+        $action = new LinkAction();
35
+        $action->setName($name);
36
+        $action->setIcon($icon);
37
+        $action->setHref($href);
38
+        $action->setAppId($appId);
39
+        return $action;
40
+    }
41 41
 
42
-	/**
43
-	 * {@inheritDoc}
44
-	 */
45
-	public function newEMailAction(string $icon, string $name, string $email, string $appId = ''): ILinkAction {
46
-		return $this->newLinkAction($icon, $name, 'mailto:' . $email, $appId);
47
-	}
42
+    /**
43
+     * {@inheritDoc}
44
+     */
45
+    public function newEMailAction(string $icon, string $name, string $email, string $appId = ''): ILinkAction {
46
+        return $this->newLinkAction($icon, $name, 'mailto:' . $email, $appId);
47
+    }
48 48
 }
Please login to merge, or discard this patch.
lib/private/Repair/NC14/AddPreviewBackgroundCleanupJob.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -31,18 +31,18 @@
 block discarded – undo
31 31
 use OCP\Migration\IRepairStep;
32 32
 
33 33
 class AddPreviewBackgroundCleanupJob implements IRepairStep {
34
-	/** @var IJobList */
35
-	private $jobList;
34
+    /** @var IJobList */
35
+    private $jobList;
36 36
 
37
-	public function __construct(IJobList $jobList) {
38
-		$this->jobList = $jobList;
39
-	}
37
+    public function __construct(IJobList $jobList) {
38
+        $this->jobList = $jobList;
39
+    }
40 40
 
41
-	public function getName(): string {
42
-		return 'Add preview background cleanup job';
43
-	}
41
+    public function getName(): string {
42
+        return 'Add preview background cleanup job';
43
+    }
44 44
 
45
-	public function run(IOutput $output) {
46
-		$this->jobList->add(BackgroundCleanupJob::class);
47
-	}
45
+    public function run(IOutput $output) {
46
+        $this->jobList->add(BackgroundCleanupJob::class);
47
+    }
48 48
 }
Please login to merge, or discard this patch.
lib/private/Repair/AddCleanupUpdaterBackupsJob.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -28,18 +28,18 @@
 block discarded – undo
28 28
 use OCP\Migration\IRepairStep;
29 29
 
30 30
 class AddCleanupUpdaterBackupsJob implements IRepairStep {
31
-	/** @var IJobList */
32
-	protected $jobList;
31
+    /** @var IJobList */
32
+    protected $jobList;
33 33
 
34
-	public function __construct(IJobList $jobList) {
35
-		$this->jobList = $jobList;
36
-	}
34
+    public function __construct(IJobList $jobList) {
35
+        $this->jobList = $jobList;
36
+    }
37 37
 
38
-	public function getName() {
39
-		return 'Queue a one-time job to cleanup old backups of the updater';
40
-	}
38
+    public function getName() {
39
+        return 'Queue a one-time job to cleanup old backups of the updater';
40
+    }
41 41
 
42
-	public function run(IOutput $output) {
43
-		$this->jobList->add(BackgroundCleanupUpdaterBackupsJob::class);
44
-	}
42
+    public function run(IOutput $output) {
43
+        $this->jobList->add(BackgroundCleanupUpdaterBackupsJob::class);
44
+    }
45 45
 }
Please login to merge, or discard this patch.
lib/private/Repair/NC20/ShippedDashboardEnable.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -30,22 +30,22 @@
 block discarded – undo
30 30
 use OCP\Migration\IRepairStep;
31 31
 
32 32
 class ShippedDashboardEnable implements IRepairStep {
33
-	/** @var IConfig */
34
-	private $config;
33
+    /** @var IConfig */
34
+    private $config;
35 35
 
36
-	public function __construct(IConfig $config) {
37
-		$this->config = $config;
38
-	}
36
+    public function __construct(IConfig $config) {
37
+        $this->config = $config;
38
+    }
39 39
 
40
-	public function getName() {
41
-		return 'Remove old dashboard app config data';
42
-	}
40
+    public function getName() {
41
+        return 'Remove old dashboard app config data';
42
+    }
43 43
 
44
-	public function run(IOutput $output) {
45
-		$version = $this->config->getAppValue('dashboard', 'version', '7.0.0');
46
-		if (version_compare($version, '7.0.0', '<')) {
47
-			$this->config->deleteAppValues('dashboard');
48
-			$output->info('Removed old dashboard app config');
49
-		}
50
-	}
44
+    public function run(IOutput $output) {
45
+        $version = $this->config->getAppValue('dashboard', 'version', '7.0.0');
46
+        if (version_compare($version, '7.0.0', '<')) {
47
+            $this->config->deleteAppValues('dashboard');
48
+            $output->info('Removed old dashboard app config');
49
+        }
50
+    }
51 51
 }
Please login to merge, or discard this patch.
lib/private/Repair/NC13/AddLogRotateJob.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -28,18 +28,18 @@
 block discarded – undo
28 28
 use OCP\Migration\IRepairStep;
29 29
 
30 30
 class AddLogRotateJob implements IRepairStep {
31
-	/** @var IJobList */
32
-	private $jobList;
31
+    /** @var IJobList */
32
+    private $jobList;
33 33
 
34
-	public function __construct(IJobList $jobList) {
35
-		$this->jobList = $jobList;
36
-	}
34
+    public function __construct(IJobList $jobList) {
35
+        $this->jobList = $jobList;
36
+    }
37 37
 
38
-	public function getName() {
39
-		return 'Add log rotate job';
40
-	}
38
+    public function getName() {
39
+        return 'Add log rotate job';
40
+    }
41 41
 
42
-	public function run(IOutput $output) {
43
-		$this->jobList->add(Rotate::class);
44
-	}
42
+    public function run(IOutput $output) {
43
+        $this->jobList->add(Rotate::class);
44
+    }
45 45
 }
Please login to merge, or discard this patch.
lib/private/Repair/Owncloud/DropAccountTermsTable.php 1 patch
Indentation   +23 added lines, -23 removed lines patch added patch discarded remove patch
@@ -27,31 +27,31 @@
 block discarded – undo
27 27
 use OCP\Migration\IRepairStep;
28 28
 
29 29
 class DropAccountTermsTable implements IRepairStep {
30
-	/** @var IDBConnection */
31
-	protected $db;
30
+    /** @var IDBConnection */
31
+    protected $db;
32 32
 
33
-	/**
34
-	 * @param IDBConnection $db
35
-	 */
36
-	public function __construct(IDBConnection $db) {
37
-		$this->db = $db;
38
-	}
33
+    /**
34
+     * @param IDBConnection $db
35
+     */
36
+    public function __construct(IDBConnection $db) {
37
+        $this->db = $db;
38
+    }
39 39
 
40
-	/**
41
-	 * @return string
42
-	 */
43
-	public function getName() {
44
-		return 'Drop account terms table when migrating from ownCloud';
45
-	}
40
+    /**
41
+     * @return string
42
+     */
43
+    public function getName() {
44
+        return 'Drop account terms table when migrating from ownCloud';
45
+    }
46 46
 
47
-	/**
48
-	 * @param IOutput $output
49
-	 */
50
-	public function run(IOutput $output) {
51
-		if (!$this->db->tableExists('account_terms')) {
52
-			return;
53
-		}
47
+    /**
48
+     * @param IOutput $output
49
+     */
50
+    public function run(IOutput $output) {
51
+        if (!$this->db->tableExists('account_terms')) {
52
+            return;
53
+        }
54 54
 
55
-		$this->db->dropTable('account_terms');
56
-	}
55
+        $this->db->dropTable('account_terms');
56
+    }
57 57
 }
Please login to merge, or discard this patch.
lib/private/Repair/AddBruteForceCleanupJob.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -31,18 +31,18 @@
 block discarded – undo
31 31
 use OCP\Migration\IRepairStep;
32 32
 
33 33
 class AddBruteForceCleanupJob implements IRepairStep {
34
-	/** @var IJobList */
35
-	protected $jobList;
34
+    /** @var IJobList */
35
+    protected $jobList;
36 36
 
37
-	public function __construct(IJobList $jobList) {
38
-		$this->jobList = $jobList;
39
-	}
37
+    public function __construct(IJobList $jobList) {
38
+        $this->jobList = $jobList;
39
+    }
40 40
 
41
-	public function getName() {
42
-		return 'Add job to cleanup the bruteforce entries';
43
-	}
41
+    public function getName() {
42
+        return 'Add job to cleanup the bruteforce entries';
43
+    }
44 44
 
45
-	public function run(IOutput $output) {
46
-		$this->jobList->add(CleanupJob::class);
47
-	}
45
+    public function run(IOutput $output) {
46
+        $this->jobList->add(CleanupJob::class);
47
+    }
48 48
 }
Please login to merge, or discard this patch.