Completed
Push — master ( a96350...d0f819 )
by
unknown
29:59
created
lib/public/Profile/BeforeTemplateRenderedEvent.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -34,21 +34,21 @@
 block discarded – undo
34 34
  * @since 25.0.0
35 35
  */
36 36
 class BeforeTemplateRenderedEvent extends Event {
37
-	private string $userId;
37
+    private string $userId;
38 38
 
39
-	/**
40
-	 * @since 25.0.0
41
-	 */
42
-	public function __construct(string $userId) {
43
-		parent::__construct();
39
+    /**
40
+     * @since 25.0.0
41
+     */
42
+    public function __construct(string $userId) {
43
+        parent::__construct();
44 44
 
45
-		$this->userId = $userId;
46
-	}
45
+        $this->userId = $userId;
46
+    }
47 47
 
48
-	/**
49
-	 * @since 25.0.0
50
-	 */
51
-	public function getUserId(): string {
52
-		return $this->userId;
53
-	}
48
+    /**
49
+     * @since 25.0.0
50
+     */
51
+    public function getUserId(): string {
52
+        return $this->userId;
53
+    }
54 54
 }
Please login to merge, or discard this patch.
apps/settings/templates/settings/personal/personal.info.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -27,12 +27,12 @@
 block discarded – undo
27 27
 /** @var array $_ */
28 28
 
29 29
 script('settings', [
30
-	'usersettings',
31
-	'templates',
32
-	'federationsettingsview',
33
-	'federationscopemenu',
34
-	'settings/personalInfo',
35
-	'vue-settings-personal-info',
30
+    'usersettings',
31
+    'templates',
32
+    'federationsettingsview',
33
+    'federationscopemenu',
34
+    'settings/personalInfo',
35
+    'vue-settings-personal-info',
36 36
 ]);
37 37
 ?>
38 38
 <?php if (!$_['isFairUseOfFreePushService']) : ?>
Please login to merge, or discard this patch.
lib/public/Dashboard/IOptionWidget.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -30,9 +30,9 @@
 block discarded – undo
30 30
  * @since 25.0.0
31 31
  */
32 32
 interface IOptionWidget extends IWidget {
33
-	/**
34
-	 * Get additional options for the widget
35
-	 * @since 25.0.0
36
-	 */
37
-	public function getWidgetOptions(): WidgetOptions;
33
+    /**
34
+     * Get additional options for the widget
35
+     * @since 25.0.0
36
+     */
37
+    public function getWidgetOptions(): WidgetOptions;
38 38
 }
Please login to merge, or discard this patch.
lib/public/Dashboard/Model/WidgetOptions.php 1 patch
Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -29,33 +29,33 @@
 block discarded – undo
29 29
  * @since 25.0.0
30 30
  */
31 31
 class WidgetOptions {
32
-	private bool $roundItemIcons;
32
+    private bool $roundItemIcons;
33 33
 
34
-	/**
35
-	 * @param bool $roundItemIcons
36
-	 * @since 25.0.0
37
-	 */
38
-	public function __construct(bool $roundItemIcons) {
39
-		$this->roundItemIcons = $roundItemIcons;
40
-	}
34
+    /**
35
+     * @param bool $roundItemIcons
36
+     * @since 25.0.0
37
+     */
38
+    public function __construct(bool $roundItemIcons) {
39
+        $this->roundItemIcons = $roundItemIcons;
40
+    }
41 41
 
42
-	/**
43
-	 * Get the default set of options
44
-	 *
45
-	 * @return WidgetOptions
46
-	 * @since 25.0.0
47
-	 */
48
-	public static function getDefault(): WidgetOptions {
49
-		return new WidgetOptions(false);
50
-	}
42
+    /**
43
+     * Get the default set of options
44
+     *
45
+     * @return WidgetOptions
46
+     * @since 25.0.0
47
+     */
48
+    public static function getDefault(): WidgetOptions {
49
+        return new WidgetOptions(false);
50
+    }
51 51
 
52
-	/**
53
-	 * Whether the clients should render icons for widget items as round icons
54
-	 *
55
-	 * @return bool
56
-	 * @since 25.0.0
57
-	 */
58
-	public function withRoundItemIcons(): bool {
59
-		return $this->roundItemIcons;
60
-	}
52
+    /**
53
+     * Whether the clients should render icons for widget items as round icons
54
+     *
55
+     * @return bool
56
+     * @since 25.0.0
57
+     */
58
+    public function withRoundItemIcons(): bool {
59
+        return $this->roundItemIcons;
60
+    }
61 61
 }
Please login to merge, or discard this patch.
apps/files/lib/Db/OpenLocalEditor.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -39,22 +39,22 @@
 block discarded – undo
39 39
  * @method string getToken()
40 40
  */
41 41
 class OpenLocalEditor extends Entity {
42
-	/** @var string */
43
-	protected $userId;
42
+    /** @var string */
43
+    protected $userId;
44 44
 
45
-	/** @var string */
46
-	protected $pathHash;
45
+    /** @var string */
46
+    protected $pathHash;
47 47
 
48
-	/** @var int */
49
-	protected $expirationTime;
48
+    /** @var int */
49
+    protected $expirationTime;
50 50
 
51
-	/** @var string */
52
-	protected $token;
51
+    /** @var string */
52
+    protected $token;
53 53
 
54
-	public function __construct() {
55
-		$this->addType('userId', 'string');
56
-		$this->addType('pathHash', 'string');
57
-		$this->addType('expirationTime', 'integer');
58
-		$this->addType('token', 'string');
59
-	}
54
+    public function __construct() {
55
+        $this->addType('userId', 'string');
56
+        $this->addType('pathHash', 'string');
57
+        $this->addType('expirationTime', 'integer');
58
+        $this->addType('token', 'string');
59
+    }
60 60
 }
Please login to merge, or discard this patch.
lib/public/Files/SimpleFS/ISimpleFolder.php 1 patch
Indentation   +58 added lines, -58 removed lines patch added patch discarded remove patch
@@ -32,69 +32,69 @@
 block discarded – undo
32 32
  * @since 11.0.0
33 33
  */
34 34
 interface ISimpleFolder {
35
-	/**
36
-	 * Get all the files in a folder
37
-	 *
38
-	 * @return ISimpleFile[]
39
-	 * @since 11.0.0
40
-	 */
41
-	public function getDirectoryListing(): array;
35
+    /**
36
+     * Get all the files in a folder
37
+     *
38
+     * @return ISimpleFile[]
39
+     * @since 11.0.0
40
+     */
41
+    public function getDirectoryListing(): array;
42 42
 
43
-	/**
44
-	 * Check if a file with $name exists
45
-	 *
46
-	 * @param string $name
47
-	 * @return bool
48
-	 * @since 11.0.0
49
-	 */
50
-	public function fileExists(string $name): bool;
43
+    /**
44
+     * Check if a file with $name exists
45
+     *
46
+     * @param string $name
47
+     * @return bool
48
+     * @since 11.0.0
49
+     */
50
+    public function fileExists(string $name): bool;
51 51
 
52
-	/**
53
-	 * Get the file named $name from the folder
54
-	 *
55
-	 * @throws NotFoundException
56
-	 * @since 11.0.0
57
-	 */
58
-	public function getFile(string $name): ISimpleFile;
52
+    /**
53
+     * Get the file named $name from the folder
54
+     *
55
+     * @throws NotFoundException
56
+     * @since 11.0.0
57
+     */
58
+    public function getFile(string $name): ISimpleFile;
59 59
 
60
-	/**
61
-	 * Creates a new file with $name in the folder
62
-	 *
63
-	 * @param string|resource|null $content @since 19.0.0
64
-	 * @throws NotPermittedException
65
-	 * @since 11.0.0
66
-	 */
67
-	public function newFile(string $name, $content = null): ISimpleFile;
60
+    /**
61
+     * Creates a new file with $name in the folder
62
+     *
63
+     * @param string|resource|null $content @since 19.0.0
64
+     * @throws NotPermittedException
65
+     * @since 11.0.0
66
+     */
67
+    public function newFile(string $name, $content = null): ISimpleFile;
68 68
 
69
-	/**
70
-	 * Remove the folder and all the files in it
71
-	 *
72
-	 * @throws NotPermittedException
73
-	 * @since 11.0.0
74
-	 */
75
-	public function delete(): void;
69
+    /**
70
+     * Remove the folder and all the files in it
71
+     *
72
+     * @throws NotPermittedException
73
+     * @since 11.0.0
74
+     */
75
+    public function delete(): void;
76 76
 
77
-	/**
78
-	 * Get the folder name
79
-	 *
80
-	 * @since 11.0.0
81
-	 */
82
-	public function getName(): string;
77
+    /**
78
+     * Get the folder name
79
+     *
80
+     * @since 11.0.0
81
+     */
82
+    public function getName(): string;
83 83
 
84
-	/**
85
-	 * Get the folder named $name from the current folder
86
-	 *
87
-	 * @throws NotFoundException
88
-	 * @since 25.0.0
89
-	 */
90
-	public function getFolder(string $name): ISimpleFolder;
84
+    /**
85
+     * Get the folder named $name from the current folder
86
+     *
87
+     * @throws NotFoundException
88
+     * @since 25.0.0
89
+     */
90
+    public function getFolder(string $name): ISimpleFolder;
91 91
 
92
-	/**
93
-	 * Creates a new folder with $name in the current folder
94
-	 *
95
-	 * @param string|resource|null $content @since 19.0.0
96
-	 * @throws NotPermittedException
97
-	 * @since 25.0.0
98
-	 */
99
-	public function newFolder(string $path): ISimpleFolder;
92
+    /**
93
+     * Creates a new folder with $name in the current folder
94
+     *
95
+     * @param string|resource|null $content @since 19.0.0
96
+     * @throws NotPermittedException
97
+     * @since 25.0.0
98
+     */
99
+    public function newFolder(string $path): ISimpleFolder;
100 100
 }
Please login to merge, or discard this patch.
apps/files_external/lib/Lib/PriorityTrait.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -29,22 +29,22 @@
 block discarded – undo
29 29
  */
30 30
 trait PriorityTrait {
31 31
 
32
-	/** @var int initial priority */
33
-	protected $priority = BackendService::PRIORITY_DEFAULT;
32
+    /** @var int initial priority */
33
+    protected $priority = BackendService::PRIORITY_DEFAULT;
34 34
 
35
-	/**
36
-	 * @return int
37
-	 */
38
-	public function getPriority() {
39
-		return $this->priority;
40
-	}
35
+    /**
36
+     * @return int
37
+     */
38
+    public function getPriority() {
39
+        return $this->priority;
40
+    }
41 41
 
42
-	/**
43
-	 * @param int $priority
44
-	 * @return self
45
-	 */
46
-	public function setPriority($priority) {
47
-		$this->priority = $priority;
48
-		return $this;
49
-	}
42
+    /**
43
+     * @param int $priority
44
+     * @return self
45
+     */
46
+    public function setPriority($priority) {
47
+        $this->priority = $priority;
48
+        return $this;
49
+    }
50 50
 }
Please login to merge, or discard this patch.
apps/files_external/lib/Lib/LegacyDependencyCheckPolyfill.php 1 patch
Indentation   +34 added lines, -34 removed lines patch added patch discarded remove patch
@@ -28,41 +28,41 @@
 block discarded – undo
28 28
  */
29 29
 trait LegacyDependencyCheckPolyfill {
30 30
 
31
-	/**
32
-	 * @return class-string<IStorage>
33
-	 */
34
-	abstract public function getStorageClass();
31
+    /**
32
+     * @return class-string<IStorage>
33
+     */
34
+    abstract public function getStorageClass();
35 35
 
36
-	/**
37
-	 * Check if object is valid for use
38
-	 *
39
-	 * @return MissingDependency[] Unsatisfied dependencies
40
-	 */
41
-	public function checkDependencies() {
42
-		$ret = [];
36
+    /**
37
+     * Check if object is valid for use
38
+     *
39
+     * @return MissingDependency[] Unsatisfied dependencies
40
+     */
41
+    public function checkDependencies() {
42
+        $ret = [];
43 43
 
44
-		$result = call_user_func([$this->getStorageClass(), 'checkDependencies']);
45
-		if ($result !== true) {
46
-			if (!is_array($result)) {
47
-				$result = [$result];
48
-			}
49
-			foreach ($result as $key => $value) {
50
-				if (!($value instanceof MissingDependency)) {
51
-					$module = null;
52
-					$message = null;
53
-					if (is_numeric($key)) {
54
-						$module = $value;
55
-					} else {
56
-						$module = $key;
57
-						$message = $value;
58
-					}
59
-					$value = new MissingDependency($module);
60
-					$value->setMessage($message);
61
-				}
62
-				$ret[] = $value;
63
-			}
64
-		}
44
+        $result = call_user_func([$this->getStorageClass(), 'checkDependencies']);
45
+        if ($result !== true) {
46
+            if (!is_array($result)) {
47
+                $result = [$result];
48
+            }
49
+            foreach ($result as $key => $value) {
50
+                if (!($value instanceof MissingDependency)) {
51
+                    $module = null;
52
+                    $message = null;
53
+                    if (is_numeric($key)) {
54
+                        $module = $value;
55
+                    } else {
56
+                        $module = $key;
57
+                        $message = $value;
58
+                    }
59
+                    $value = new MissingDependency($module);
60
+                    $value->setMessage($message);
61
+                }
62
+                $ret[] = $value;
63
+            }
64
+        }
65 65
 
66
-		return $ret;
67
-	}
66
+        return $ret;
67
+    }
68 68
 }
Please login to merge, or discard this patch.
apps/files_external/lib/Lib/IFrontendDefinition.php 1 patch
Indentation   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -21,36 +21,36 @@
 block discarded – undo
21 21
 
22 22
 interface IFrontendDefinition {
23 23
 
24
-	public function getText(): string;
24
+    public function getText(): string;
25 25
 
26
-	public function setText(string $text): self;
26
+    public function setText(string $text): self;
27 27
 
28
-	/**
29
-	 * @return array<string, DefinitionParameter>
30
-	 */
31
-	public function getParameters(): array;
28
+    /**
29
+     * @return array<string, DefinitionParameter>
30
+     */
31
+    public function getParameters(): array;
32 32
 
33
-	/**
34
-	 * @param list<DefinitionParameter> $parameters
35
-	 */
36
-	public function addParameters(array $parameters): self;
33
+    /**
34
+     * @param list<DefinitionParameter> $parameters
35
+     */
36
+    public function addParameters(array $parameters): self;
37 37
 
38
-	public function addParameter(DefinitionParameter $parameter): self;
38
+    public function addParameter(DefinitionParameter $parameter): self;
39 39
 
40
-	/**
41
-	 * @return string[]
42
-	 */
43
-	public function getCustomJs(): array;
40
+    /**
41
+     * @return string[]
42
+     */
43
+    public function getCustomJs(): array;
44 44
 
45
-	public function addCustomJs(string $custom): self;
45
+    public function addCustomJs(string $custom): self;
46 46
 
47
-	/**
48
-	 * Serialize into JSON for client-side JS
49
-	 */
50
-	public function jsonSerializeDefinition(): array;
47
+    /**
48
+     * Serialize into JSON for client-side JS
49
+     */
50
+    public function jsonSerializeDefinition(): array;
51 51
 
52
-	/**
53
-	 * Check if parameters are satisfied in a StorageConfig
54
-	 */
55
-	public function validateStorageDefinition(StorageConfig $storage): bool;
52
+    /**
53
+     * Check if parameters are satisfied in a StorageConfig
54
+     */
55
+    public function validateStorageDefinition(StorageConfig $storage): bool;
56 56
 }
Please login to merge, or discard this patch.