Passed
Push — master ( 1dce30...f6efd5 )
by Joas
15:03 queued 13s
created
lib/public/WorkflowEngine/Events/RegisterOperationsEvent.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -35,22 +35,22 @@
 block discarded – undo
35 35
  */
36 36
 class RegisterOperationsEvent extends Event {
37 37
 
38
-	/** @var IManager */
39
-	private $manager;
40
-
41
-	/**
42
-	 * @since 18.0.0
43
-	 */
44
-	public function __construct(IManager $manager) {
45
-		parent::__construct();
46
-
47
-		$this->manager = $manager;
48
-	}
49
-
50
-	/**
51
-	 * @since 18.0.0
52
-	 */
53
-	public function registerOperation(IOperation $operation): void {
54
-		$this->manager->registerOperation($operation);
55
-	}
38
+    /** @var IManager */
39
+    private $manager;
40
+
41
+    /**
42
+     * @since 18.0.0
43
+     */
44
+    public function __construct(IManager $manager) {
45
+        parent::__construct();
46
+
47
+        $this->manager = $manager;
48
+    }
49
+
50
+    /**
51
+     * @since 18.0.0
52
+     */
53
+    public function registerOperation(IOperation $operation): void {
54
+        $this->manager->registerOperation($operation);
55
+    }
56 56
 }
Please login to merge, or discard this patch.
lib/public/WorkflowEngine/Events/RegisterEntitiesEvent.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -35,22 +35,22 @@
 block discarded – undo
35 35
  */
36 36
 class RegisterEntitiesEvent extends Event {
37 37
 
38
-	/** @var IManager */
39
-	private $manager;
40
-
41
-	/**
42
-	 * @since 18.0.0
43
-	 */
44
-	public function __construct(IManager $manager) {
45
-		parent::__construct();
46
-
47
-		$this->manager = $manager;
48
-	}
49
-
50
-	/**
51
-	 * @since 18.0.0
52
-	 */
53
-	public function registerEntity(IEntity $entity): void {
54
-		$this->manager->registerEntity($entity);
55
-	}
38
+    /** @var IManager */
39
+    private $manager;
40
+
41
+    /**
42
+     * @since 18.0.0
43
+     */
44
+    public function __construct(IManager $manager) {
45
+        parent::__construct();
46
+
47
+        $this->manager = $manager;
48
+    }
49
+
50
+    /**
51
+     * @since 18.0.0
52
+     */
53
+    public function registerEntity(IEntity $entity): void {
54
+        $this->manager->registerEntity($entity);
55
+    }
56 56
 }
Please login to merge, or discard this patch.
lib/public/Lock/ManuallyLockedException.php 1 patch
Indentation   +43 added lines, -43 removed lines patch added patch discarded remove patch
@@ -37,54 +37,54 @@
 block discarded – undo
37 37
 class ManuallyLockedException extends LockedException {
38 38
 
39 39
 
40
-	/**
41
-	 * owner of the lock
42
-	 *
43
-	 * @var string|null
44
-	 */
45
-	private $owner = null;
40
+    /**
41
+     * owner of the lock
42
+     *
43
+     * @var string|null
44
+     */
45
+    private $owner = null;
46 46
 
47
-	/**
48
-	 * estimated timeout for the lock
49
-	 *
50
-	 * @var int
51
-	 * @since 18.0.0
52
-	 */
53
-	private $timeout = -1;
47
+    /**
48
+     * estimated timeout for the lock
49
+     *
50
+     * @var int
51
+     * @since 18.0.0
52
+     */
53
+    private $timeout = -1;
54 54
 
55 55
 
56
-	/**
57
-	 * ManuallyLockedException constructor.
58
-	 *
59
-	 * @param string $path locked path
60
-	 * @param \Exception|null $previous previous exception for cascading
61
-	 * @param string $existingLock
62
-	 * @param string|null $owner
63
-	 * @param int $timeout
64
-	 *
65
-	 * @since 18.0.0
66
-	 */
67
-	public function __construct(string $path, \Exception $previous = null, ?string $existingLock = null, ?string $owner = null, int $timeout = -1) {
68
-		parent::__construct($path, $previous, $existingLock);
69
-		$this->owner = $owner;
70
-		$this->timeout = $timeout;
71
-	}
56
+    /**
57
+     * ManuallyLockedException constructor.
58
+     *
59
+     * @param string $path locked path
60
+     * @param \Exception|null $previous previous exception for cascading
61
+     * @param string $existingLock
62
+     * @param string|null $owner
63
+     * @param int $timeout
64
+     *
65
+     * @since 18.0.0
66
+     */
67
+    public function __construct(string $path, \Exception $previous = null, ?string $existingLock = null, ?string $owner = null, int $timeout = -1) {
68
+        parent::__construct($path, $previous, $existingLock);
69
+        $this->owner = $owner;
70
+        $this->timeout = $timeout;
71
+    }
72 72
 
73 73
 
74
-	/**
75
-	 * @return int
76
-	 * @since 18.0.0
77
-	 */
78
-	public function getTimeout(): int {
79
-		return $this->timeout;
80
-	}
74
+    /**
75
+     * @return int
76
+     * @since 18.0.0
77
+     */
78
+    public function getTimeout(): int {
79
+        return $this->timeout;
80
+    }
81 81
 
82
-	/**
83
-	 * @return string|null
84
-	 * @since 18.0.0
85
-	 */
86
-	public function getOwner(): ?string {
87
-		return $this->owner;
88
-	}
82
+    /**
83
+     * @return string|null
84
+     * @since 18.0.0
85
+     */
86
+    public function getOwner(): ?string {
87
+        return $this->owner;
88
+    }
89 89
 
90 90
 }
Please login to merge, or discard this patch.
apps/settings/lib/Sections/Admin/Groupware.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -30,30 +30,30 @@
 block discarded – undo
30 30
 
31 31
 class Groupware implements IIconSection {
32 32
 
33
-	/** @var IL10N */
34
-	private $l;
33
+    /** @var IL10N */
34
+    private $l;
35 35
 
36
-	/** @var IURLGenerator */
37
-	private $urlGenerator;
36
+    /** @var IURLGenerator */
37
+    private $urlGenerator;
38 38
 
39
-	public function __construct(IL10N $l, IURLGenerator $urlGenerator) {
40
-		$this->l = $l;
41
-		$this->urlGenerator = $urlGenerator;
42
-	}
39
+    public function __construct(IL10N $l, IURLGenerator $urlGenerator) {
40
+        $this->l = $l;
41
+        $this->urlGenerator = $urlGenerator;
42
+    }
43 43
 
44
-	public function getIcon(): string {
45
-		return $this->urlGenerator->imagePath('core', 'places/contacts.svg');
46
-	}
44
+    public function getIcon(): string {
45
+        return $this->urlGenerator->imagePath('core', 'places/contacts.svg');
46
+    }
47 47
 
48
-	public function getID(): string {
49
-		return 'groupware';
50
-	}
48
+    public function getID(): string {
49
+        return 'groupware';
50
+    }
51 51
 
52
-	public function getName(): string {
53
-		return $this->l->t('Groupware');
54
-	}
52
+    public function getName(): string {
53
+        return $this->l->t('Groupware');
54
+    }
55 55
 
56
-	public function getPriority(): int {
57
-		return 50;
58
-	}
56
+    public function getPriority(): int {
57
+        return 50;
58
+    }
59 59
 }
Please login to merge, or discard this patch.
apps/settings/lib/Sections/Admin/Additional.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -30,30 +30,30 @@
 block discarded – undo
30 30
 
31 31
 class Additional implements IIconSection {
32 32
 
33
-	/** @var IL10N */
34
-	private $l;
33
+    /** @var IL10N */
34
+    private $l;
35 35
 
36
-	/** @var IURLGenerator */
37
-	private $urlGenerator;
36
+    /** @var IURLGenerator */
37
+    private $urlGenerator;
38 38
 
39
-	public function __construct(IL10N $l, IURLGenerator $urlGenerator) {
40
-		$this->l = $l;
41
-		$this->urlGenerator = $urlGenerator;
42
-	}
39
+    public function __construct(IL10N $l, IURLGenerator $urlGenerator) {
40
+        $this->l = $l;
41
+        $this->urlGenerator = $urlGenerator;
42
+    }
43 43
 
44
-	public function getIcon(): string {
45
-		return $this->urlGenerator->imagePath('core', 'actions/settings-dark.svg');
46
-	}
44
+    public function getIcon(): string {
45
+        return $this->urlGenerator->imagePath('core', 'actions/settings-dark.svg');
46
+    }
47 47
 
48
-	public function getID(): string {
49
-		return 'additional';
50
-	}
48
+    public function getID(): string {
49
+        return 'additional';
50
+    }
51 51
 
52
-	public function getName(): string {
53
-		return $this->l->t('Additional settings');
54
-	}
52
+    public function getName(): string {
53
+        return $this->l->t('Additional settings');
54
+    }
55 55
 
56
-	public function getPriority(): int {
57
-		return 98;
58
-	}
56
+    public function getPriority(): int {
57
+        return 98;
58
+    }
59 59
 }
Please login to merge, or discard this patch.
apps/settings/lib/Sections/Admin/Sharing.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -30,30 +30,30 @@
 block discarded – undo
30 30
 
31 31
 class Sharing implements IIconSection {
32 32
 
33
-	/** @var IL10N */
34
-	private $l;
33
+    /** @var IL10N */
34
+    private $l;
35 35
 
36
-	/** @var IURLGenerator */
37
-	private $urlGenerator;
36
+    /** @var IURLGenerator */
37
+    private $urlGenerator;
38 38
 
39
-	public function __construct(IL10N $l, IURLGenerator $urlGenerator) {
40
-		$this->l = $l;
41
-		$this->urlGenerator = $urlGenerator;
42
-	}
39
+    public function __construct(IL10N $l, IURLGenerator $urlGenerator) {
40
+        $this->l = $l;
41
+        $this->urlGenerator = $urlGenerator;
42
+    }
43 43
 
44
-	public function getIcon(): string {
45
-		return $this->urlGenerator->imagePath('core', 'actions/share.svg');
46
-	}
44
+    public function getIcon(): string {
45
+        return $this->urlGenerator->imagePath('core', 'actions/share.svg');
46
+    }
47 47
 
48
-	public function getID(): string {
49
-		return 'sharing';
50
-	}
48
+    public function getID(): string {
49
+        return 'sharing';
50
+    }
51 51
 
52
-	public function getName(): string {
53
-		return $this->l->t('Sharing');
54
-	}
52
+    public function getName(): string {
53
+        return $this->l->t('Sharing');
54
+    }
55 55
 
56
-	public function getPriority(): int {
57
-		return 5;
58
-	}
56
+    public function getPriority(): int {
57
+        return 5;
58
+    }
59 59
 }
Please login to merge, or discard this patch.
apps/settings/lib/Sections/Admin/Security.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -30,30 +30,30 @@
 block discarded – undo
30 30
 
31 31
 class Security implements IIconSection {
32 32
 
33
-	/** @var IL10N */
34
-	private $l;
33
+    /** @var IL10N */
34
+    private $l;
35 35
 
36
-	/** @var IURLGenerator */
37
-	private $urlGenerator;
36
+    /** @var IURLGenerator */
37
+    private $urlGenerator;
38 38
 
39
-	public function __construct(IL10N $l, IURLGenerator $urlGenerator) {
40
-		$this->l = $l;
41
-		$this->urlGenerator = $urlGenerator;
42
-	}
39
+    public function __construct(IL10N $l, IURLGenerator $urlGenerator) {
40
+        $this->l = $l;
41
+        $this->urlGenerator = $urlGenerator;
42
+    }
43 43
 
44
-	public function getIcon(): string {
45
-		return $this->urlGenerator->imagePath('core', 'actions/password.svg');
46
-	}
44
+    public function getIcon(): string {
45
+        return $this->urlGenerator->imagePath('core', 'actions/password.svg');
46
+    }
47 47
 
48
-	public function getID(): string {
49
-		return 'security';
50
-	}
48
+    public function getID(): string {
49
+        return 'security';
50
+    }
51 51
 
52
-	public function getName(): string {
53
-		return $this->l->t('Security');
54
-	}
52
+    public function getName(): string {
53
+        return $this->l->t('Security');
54
+    }
55 55
 
56
-	public function getPriority(): int {
57
-		return 10;
58
-	}
56
+    public function getPriority(): int {
57
+        return 10;
58
+    }
59 59
 }
Please login to merge, or discard this patch.
apps/settings/lib/Sections/Admin/Server.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -30,30 +30,30 @@
 block discarded – undo
30 30
 
31 31
 class Server implements IIconSection {
32 32
 
33
-	/** @var IL10N */
34
-	private $l;
33
+    /** @var IL10N */
34
+    private $l;
35 35
 
36
-	/** @var IURLGenerator */
37
-	private $urlGenerator;
36
+    /** @var IURLGenerator */
37
+    private $urlGenerator;
38 38
 
39
-	public function __construct(IL10N $l, IURLGenerator $urlGenerator) {
40
-		$this->l = $l;
41
-		$this->urlGenerator = $urlGenerator;
42
-	}
39
+    public function __construct(IL10N $l, IURLGenerator $urlGenerator) {
40
+        $this->l = $l;
41
+        $this->urlGenerator = $urlGenerator;
42
+    }
43 43
 
44
-	public function getIcon(): string {
45
-		return $this->urlGenerator->imagePath('core', 'actions/settings-dark.svg');
46
-	}
44
+    public function getIcon(): string {
45
+        return $this->urlGenerator->imagePath('core', 'actions/settings-dark.svg');
46
+    }
47 47
 
48
-	public function getID(): string {
49
-		return 'server';
50
-	}
48
+    public function getID(): string {
49
+        return 'server';
50
+    }
51 51
 
52
-	public function getName(): string {
53
-		return $this->l->t('Basic settings');
54
-	}
52
+    public function getName(): string {
53
+        return $this->l->t('Basic settings');
54
+    }
55 55
 
56
-	public function getPriority(): int {
57
-		return 1;
58
-	}
56
+    public function getPriority(): int {
57
+        return 1;
58
+    }
59 59
 }
Please login to merge, or discard this patch.
apps/settings/lib/Sections/Admin/Overview.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -30,30 +30,30 @@
 block discarded – undo
30 30
 
31 31
 class Overview implements IIconSection {
32 32
 
33
-	/** @var IL10N */
34
-	private $l;
33
+    /** @var IL10N */
34
+    private $l;
35 35
 
36
-	/** @var IURLGenerator */
37
-	private $urlGenerator;
36
+    /** @var IURLGenerator */
37
+    private $urlGenerator;
38 38
 
39
-	public function __construct(IL10N $l, IURLGenerator $urlGenerator) {
40
-		$this->l = $l;
41
-		$this->urlGenerator = $urlGenerator;
42
-	}
39
+    public function __construct(IL10N $l, IURLGenerator $urlGenerator) {
40
+        $this->l = $l;
41
+        $this->urlGenerator = $urlGenerator;
42
+    }
43 43
 
44
-	public function getIcon(): string {
45
-		return $this->urlGenerator->imagePath('settings', 'admin.svg');
46
-	}
44
+    public function getIcon(): string {
45
+        return $this->urlGenerator->imagePath('settings', 'admin.svg');
46
+    }
47 47
 
48
-	public function getID(): string {
49
-		return 'overview';
50
-	}
48
+    public function getID(): string {
49
+        return 'overview';
50
+    }
51 51
 
52
-	public function getName(): string {
53
-		return $this->l->t('Overview');
54
-	}
52
+    public function getName(): string {
53
+        return $this->l->t('Overview');
54
+    }
55 55
 
56
-	public function getPriority(): int {
57
-		return 0;
58
-	}
56
+    public function getPriority(): int {
57
+        return 0;
58
+    }
59 59
 }
Please login to merge, or discard this patch.