Passed
Push — master ( b37a49...348454 )
by Joas
15:41 queued 15s
created
lib/public/Group/Backend/IGetDisplayNameBackend.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -29,11 +29,11 @@
 block discarded – undo
29 29
  */
30 30
 interface IGetDisplayNameBackend {
31 31
 
32
-	/**
33
-	 * @param string $gid
34
-	 * @return string
35
-	 * @since 17.0.0
36
-	 */
37
-	public function getDisplayName(string $gid): string;
32
+    /**
33
+     * @param string $gid
34
+     * @return string
35
+     * @since 17.0.0
36
+     */
37
+    public function getDisplayName(string $gid): string;
38 38
 
39 39
 }
Please login to merge, or discard this patch.
apps/files_trashbin/lib/Sabre/ITrash.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -26,19 +26,19 @@
 block discarded – undo
26 26
 use OCP\Files\FileInfo;
27 27
 
28 28
 interface ITrash {
29
-	public function restore(): bool;
29
+    public function restore(): bool;
30 30
 
31
-	public function getFilename(): string;
31
+    public function getFilename(): string;
32 32
 
33
-	public function getOriginalLocation(): string;
33
+    public function getOriginalLocation(): string;
34 34
 
35
-	public function getTitle(): string;
35
+    public function getTitle(): string;
36 36
 
37
-	public function getDeletionTime(): int;
37
+    public function getDeletionTime(): int;
38 38
 
39
-	public function getSize();
39
+    public function getSize();
40 40
 
41
-	public function getFileId(): int;
41
+    public function getFileId(): int;
42 42
 
43
-	public function getFileInfo(): FileInfo;
43
+    public function getFileInfo(): FileInfo;
44 44
 }
Please login to merge, or discard this patch.
apps/files_trashbin/lib/Trash/ITrashItem.php 1 patch
Indentation   +43 added lines, -43 removed lines patch added patch discarded remove patch
@@ -28,53 +28,53 @@
 block discarded – undo
28 28
  * @since 15.0.0
29 29
  */
30 30
 interface ITrashItem extends FileInfo {
31
-	/**
32
-	 * Get the trash backend for this item
33
-	 *
34
-	 * @return ITrashBackend
35
-	 * @since 15.0.0
36
-	 */
37
-	public function getTrashBackend(): ITrashBackend;
31
+    /**
32
+     * Get the trash backend for this item
33
+     *
34
+     * @return ITrashBackend
35
+     * @since 15.0.0
36
+     */
37
+    public function getTrashBackend(): ITrashBackend;
38 38
 
39
-	/**
40
-	 * Get the original location for the trash item
41
-	 *
42
-	 * @return string
43
-	 * @since 15.0.0
44
-	 */
45
-	public function getOriginalLocation(): string;
39
+    /**
40
+     * Get the original location for the trash item
41
+     *
42
+     * @return string
43
+     * @since 15.0.0
44
+     */
45
+    public function getOriginalLocation(): string;
46 46
 
47
-	/**
48
-	 * Get the timestamp that the file was moved to trash
49
-	 *
50
-	 * @return int
51
-	 * @since 15.0.0
52
-	 */
53
-	public function getDeletedTime(): int;
47
+    /**
48
+     * Get the timestamp that the file was moved to trash
49
+     *
50
+     * @return int
51
+     * @since 15.0.0
52
+     */
53
+    public function getDeletedTime(): int;
54 54
 
55
-	/**
56
-	 * Get the path of the item relative to the users trashbin
57
-	 *
58
-	 * @return string
59
-	 * @since 15.0.0
60
-	 */
61
-	public function getTrashPath(): string;
55
+    /**
56
+     * Get the path of the item relative to the users trashbin
57
+     *
58
+     * @return string
59
+     * @since 15.0.0
60
+     */
61
+    public function getTrashPath(): string;
62 62
 
63
-	/**
64
-	 * Whether the item is a deleted item in the root of the trash, or a file in a subfolder
65
-	 *
66
-	 * @return bool
67
-	 * @since 15.0.0
68
-	 */
69
-	public function isRootItem(): bool;
63
+    /**
64
+     * Whether the item is a deleted item in the root of the trash, or a file in a subfolder
65
+     *
66
+     * @return bool
67
+     * @since 15.0.0
68
+     */
69
+    public function isRootItem(): bool;
70 70
 
71
-	/**
72
-	 * Get the user for which this trash item applies
73
-	 *
74
-	 * @return IUser
75
-	 * @since 15.0.0
76
-	 */
77
-	public function getUser(): IUser;
71
+    /**
72
+     * Get the user for which this trash item applies
73
+     *
74
+     * @return IUser
75
+     * @since 15.0.0
76
+     */
77
+    public function getUser(): IUser;
78 78
 
79
-	public function getTitle(): string;
79
+    public function getTitle(): string;
80 80
 }
Please login to merge, or discard this patch.
apps/files_versions/lib/Sabre/VersionFile.php 1 patch
Indentation   +58 added lines, -58 removed lines patch added patch discarded remove patch
@@ -32,62 +32,62 @@
 block discarded – undo
32 32
 use Sabre\DAV\IFile;
33 33
 
34 34
 class VersionFile implements IFile {
35
-	/** @var IVersion */
36
-	private $version;
37
-
38
-	/** @var IVersionManager */
39
-	private $versionManager;
40
-
41
-	public function __construct(IVersion $version, IVersionManager $versionManager) {
42
-		$this->version = $version;
43
-		$this->versionManager = $versionManager;
44
-	}
45
-
46
-	public function put($data) {
47
-		throw new Forbidden();
48
-	}
49
-
50
-	public function get() {
51
-		try {
52
-			return $this->versionManager->read($this->version);
53
-		} catch (NotFoundException $e) {
54
-			throw new NotFound();
55
-		}
56
-	}
57
-
58
-	public function getContentType(): string {
59
-		return $this->version->getMimeType();
60
-	}
61
-
62
-	public function getETag(): string {
63
-		return (string)$this->version->getRevisionId();
64
-	}
65
-
66
-	public function getSize(): int {
67
-		return $this->version->getSize();
68
-	}
69
-
70
-	public function delete() {
71
-		throw new Forbidden();
72
-	}
73
-
74
-	public function getName(): string {
75
-		return (string)$this->version->getRevisionId();
76
-	}
77
-
78
-	public function setName($name) {
79
-		throw new Forbidden();
80
-	}
81
-
82
-	public function getLastModified(): int {
83
-		return $this->version->getTimestamp();
84
-	}
85
-
86
-	public function rollBack() {
87
-		$this->versionManager->rollback($this->version);
88
-	}
89
-
90
-	public function getVersion(): IVersion {
91
-		return $this->version;
92
-	}
35
+    /** @var IVersion */
36
+    private $version;
37
+
38
+    /** @var IVersionManager */
39
+    private $versionManager;
40
+
41
+    public function __construct(IVersion $version, IVersionManager $versionManager) {
42
+        $this->version = $version;
43
+        $this->versionManager = $versionManager;
44
+    }
45
+
46
+    public function put($data) {
47
+        throw new Forbidden();
48
+    }
49
+
50
+    public function get() {
51
+        try {
52
+            return $this->versionManager->read($this->version);
53
+        } catch (NotFoundException $e) {
54
+            throw new NotFound();
55
+        }
56
+    }
57
+
58
+    public function getContentType(): string {
59
+        return $this->version->getMimeType();
60
+    }
61
+
62
+    public function getETag(): string {
63
+        return (string)$this->version->getRevisionId();
64
+    }
65
+
66
+    public function getSize(): int {
67
+        return $this->version->getSize();
68
+    }
69
+
70
+    public function delete() {
71
+        throw new Forbidden();
72
+    }
73
+
74
+    public function getName(): string {
75
+        return (string)$this->version->getRevisionId();
76
+    }
77
+
78
+    public function setName($name) {
79
+        throw new Forbidden();
80
+    }
81
+
82
+    public function getLastModified(): int {
83
+        return $this->version->getTimestamp();
84
+    }
85
+
86
+    public function rollBack() {
87
+        $this->versionManager->rollback($this->version);
88
+    }
89
+
90
+    public function getVersion(): IVersion {
91
+        return $this->version;
92
+    }
93 93
 }
Please login to merge, or discard this patch.
lib/public/Broadcast/Events/IBroadcastEvent.php 1 patch
Indentation   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -31,27 +31,27 @@
 block discarded – undo
31 31
  */
32 32
 interface IBroadcastEvent {
33 33
 
34
-	/**
35
-	 * @return string the name of the event
36
-	 * @since 18.0.0
37
-	 */
38
-	public function getName(): string;
39
-
40
-	/**
41
-	 * @return string[]
42
-	 * @since 18.0.0
43
-	 */
44
-	public function getUids(): array;
45
-
46
-	/**
47
-	 * @return JsonSerializable the data to be sent to the client
48
-	 * @since 18.0.0
49
-	 */
50
-	public function getPayload(): JsonSerializable;
51
-
52
-	/**
53
-	 * @since 18.0.0
54
-	 */
55
-	public function setBroadcasted(): void;
34
+    /**
35
+     * @return string the name of the event
36
+     * @since 18.0.0
37
+     */
38
+    public function getName(): string;
39
+
40
+    /**
41
+     * @return string[]
42
+     * @since 18.0.0
43
+     */
44
+    public function getUids(): array;
45
+
46
+    /**
47
+     * @return JsonSerializable the data to be sent to the client
48
+     * @since 18.0.0
49
+     */
50
+    public function getPayload(): JsonSerializable;
51
+
52
+    /**
53
+     * @since 18.0.0
54
+     */
55
+    public function setBroadcasted(): void;
56 56
 
57 57
 }
Please login to merge, or discard this patch.
lib/public/EventDispatcher/ABroadcastedEvent.php 1 patch
Indentation   +32 added lines, -32 removed lines patch added patch discarded remove patch
@@ -31,41 +31,41 @@
 block discarded – undo
31 31
  */
32 32
 abstract class ABroadcastedEvent extends Event implements JsonSerializable {
33 33
 
34
-	/**
35
-	 * @since 18.0.0
36
-	 */
37
-	private $broadcasted = false;
34
+    /**
35
+     * @since 18.0.0
36
+     */
37
+    private $broadcasted = false;
38 38
 
39
-	/**
40
-	 * Get the name of the event, as received on the client-side
41
-	 *
42
-	 * Uses the fully qualified event class name by default
43
-	 *
44
-	 * @return string
45
-	 * @since 18.0.0
46
-	 */
47
-	public function broadcastAs(): string {
48
-		return get_class($this);
49
-	}
39
+    /**
40
+     * Get the name of the event, as received on the client-side
41
+     *
42
+     * Uses the fully qualified event class name by default
43
+     *
44
+     * @return string
45
+     * @since 18.0.0
46
+     */
47
+    public function broadcastAs(): string {
48
+        return get_class($this);
49
+    }
50 50
 
51
-	/**
52
-	 * @return string[]
53
-	 * @since 18.0.0
54
-	 */
55
-	abstract public function getUids(): array;
51
+    /**
52
+     * @return string[]
53
+     * @since 18.0.0
54
+     */
55
+    abstract public function getUids(): array;
56 56
 
57
-	/**
58
-	 * @since 18.0.0
59
-	 */
60
-	public function setBroadcasted(): void {
61
-		$this->broadcasted = true;
62
-	}
57
+    /**
58
+     * @since 18.0.0
59
+     */
60
+    public function setBroadcasted(): void {
61
+        $this->broadcasted = true;
62
+    }
63 63
 
64
-	/**
65
-	 * @since 18.0.0
66
-	 */
67
-	public function isBroadcasted(): bool {
68
-		return $this->broadcasted;
69
-	}
64
+    /**
65
+     * @since 18.0.0
66
+     */
67
+    public function isBroadcasted(): bool {
68
+        return $this->broadcasted;
69
+    }
70 70
 
71 71
 }
Please login to merge, or discard this patch.
lib/private/Broadcast/Events/BroadcastEvent.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -31,29 +31,29 @@
 block discarded – undo
31 31
 
32 32
 class BroadcastEvent extends Event implements IBroadcastEvent {
33 33
 
34
-	/** @var ABroadcastedEvent */
35
-	private $event;
34
+    /** @var ABroadcastedEvent */
35
+    private $event;
36 36
 
37
-	public function __construct(ABroadcastedEvent $event) {
38
-		parent::__construct();
37
+    public function __construct(ABroadcastedEvent $event) {
38
+        parent::__construct();
39 39
 
40
-		$this->event = $event;
41
-	}
40
+        $this->event = $event;
41
+    }
42 42
 
43
-	public function getName(): string {
44
-		return $this->event->broadcastAs();
45
-	}
43
+    public function getName(): string {
44
+        return $this->event->broadcastAs();
45
+    }
46 46
 
47
-	public function getUids(): array {
48
-		return $this->event->getUids();
49
-	}
47
+    public function getUids(): array {
48
+        return $this->event->getUids();
49
+    }
50 50
 
51
-	public function getPayload(): JsonSerializable {
52
-		return $this->event;
53
-	}
51
+    public function getPayload(): JsonSerializable {
52
+        return $this->event;
53
+    }
54 54
 
55
-	public function setBroadcasted(): void {
56
-		$this->event->setBroadcasted();
57
-	}
55
+    public function setBroadcasted(): void {
56
+        $this->event->setBroadcasted();
57
+    }
58 58
 
59 59
 }
Please login to merge, or discard this patch.
lib/public/WorkflowEngine/IOperationCompat.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -36,15 +36,15 @@
 block discarded – undo
36 36
  * @deprecated
37 37
  */
38 38
 interface IOperationCompat {
39
-	/**
40
-	 * Like onEvent, but used with events that are not based on
41
-	 * \OCP\EventDispatcher\Event.
42
-	 *
43
-	 * This method is introduced for compatibility reasons and will be removed
44
-	 * in 2023 again.
45
-	 *
46
-	 * @since 18.0.0
47
-	 * @deprecated
48
-	 */
49
-	public function onEventCompat(string $eventName, $event, IRuleMatcher $ruleMatcher): void;
39
+    /**
40
+     * Like onEvent, but used with events that are not based on
41
+     * \OCP\EventDispatcher\Event.
42
+     *
43
+     * This method is introduced for compatibility reasons and will be removed
44
+     * in 2023 again.
45
+     *
46
+     * @since 18.0.0
47
+     * @deprecated
48
+     */
49
+    public function onEventCompat(string $eventName, $event, IRuleMatcher $ruleMatcher): void;
50 50
 }
Please login to merge, or discard this patch.
lib/public/WorkflowEngine/IEntityCompat.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -36,12 +36,12 @@
 block discarded – undo
36 36
  * @deprecated
37 37
  */
38 38
 interface IEntityCompat extends IEntity {
39
-	/**
40
-	 * Like prepareRuleMatcherCompat, but works with events that are not based
41
-	 * on \OCP\EventDispatcher\Event.
42
-	 *
43
-	 * @since 18.0.0
44
-	 * @deprecated
45
-	 */
46
-	public function prepareRuleMatcherCompat(IRuleMatcher $ruleMatcher, string $eventName, $event): void;
39
+    /**
40
+     * Like prepareRuleMatcherCompat, but works with events that are not based
41
+     * on \OCP\EventDispatcher\Event.
42
+     *
43
+     * @since 18.0.0
44
+     * @deprecated
45
+     */
46
+    public function prepareRuleMatcherCompat(IRuleMatcher $ruleMatcher, string $eventName, $event): void;
47 47
 }
Please login to merge, or discard this patch.