Passed
Push — master ( 9af99a...cdf095 )
by Georg
11:57 queued 12s
created
lib/public/Share_Backend_Collection.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -31,11 +31,11 @@
 block discarded – undo
31 31
  * @since 5.0.0
32 32
  */
33 33
 interface Share_Backend_Collection extends Share_Backend {
34
-	/**
35
-	 * Get the sources of the children of the item
36
-	 * @param string $itemSource
37
-	 * @return array Returns an array of children each inside an array with the keys: source, target, and file_path if applicable
38
-	 * @since 5.0.0
39
-	 */
40
-	public function getChildren($itemSource);
34
+    /**
35
+     * Get the sources of the children of the item
36
+     * @param string $itemSource
37
+     * @return array Returns an array of children each inside an array with the keys: source, target, and file_path if applicable
38
+     * @since 5.0.0
39
+     */
40
+    public function getChildren($itemSource);
41 41
 }
Please login to merge, or discard this patch.
lib/public/AppFramework/Http/DataDownloadResponse.php 1 patch
Indentation   +29 added lines, -29 removed lines patch added patch discarded remove patch
@@ -29,36 +29,36 @@
 block discarded – undo
29 29
  * @since 8.0.0
30 30
  */
31 31
 class DataDownloadResponse extends DownloadResponse {
32
-	/**
33
-	 * @var string
34
-	 */
35
-	private $data;
32
+    /**
33
+     * @var string
34
+     */
35
+    private $data;
36 36
 
37
-	/**
38
-	 * Creates a response that prompts the user to download the text
39
-	 * @param string $data text to be downloaded
40
-	 * @param string $filename the name that the downloaded file should have
41
-	 * @param string $contentType the mimetype that the downloaded file should have
42
-	 * @since 8.0.0
43
-	 */
44
-	public function __construct($data, $filename, $contentType) {
45
-		$this->data = $data;
46
-		parent::__construct($filename, $contentType);
47
-	}
37
+    /**
38
+     * Creates a response that prompts the user to download the text
39
+     * @param string $data text to be downloaded
40
+     * @param string $filename the name that the downloaded file should have
41
+     * @param string $contentType the mimetype that the downloaded file should have
42
+     * @since 8.0.0
43
+     */
44
+    public function __construct($data, $filename, $contentType) {
45
+        $this->data = $data;
46
+        parent::__construct($filename, $contentType);
47
+    }
48 48
 
49
-	/**
50
-	 * @param string $data
51
-	 * @since 8.0.0
52
-	 */
53
-	public function setData($data) {
54
-		$this->data = $data;
55
-	}
49
+    /**
50
+     * @param string $data
51
+     * @since 8.0.0
52
+     */
53
+    public function setData($data) {
54
+        $this->data = $data;
55
+    }
56 56
 
57
-	/**
58
-	 * @return string
59
-	 * @since 8.0.0
60
-	 */
61
-	public function render() {
62
-		return $this->data;
63
-	}
57
+    /**
58
+     * @return string
59
+     * @since 8.0.0
60
+     */
61
+    public function render() {
62
+        return $this->data;
63
+    }
64 64
 }
Please login to merge, or discard this patch.
lib/public/SabrePluginEvent.php 1 patch
Indentation   +53 added lines, -53 removed lines patch added patch discarded remove patch
@@ -33,65 +33,65 @@
 block discarded – undo
33 33
  */
34 34
 class SabrePluginEvent extends Event {
35 35
 
36
-	/** @var int */
37
-	protected $statusCode;
36
+    /** @var int */
37
+    protected $statusCode;
38 38
 
39
-	/** @var string */
40
-	protected $message;
39
+    /** @var string */
40
+    protected $message;
41 41
 
42
-	/** @var Server */
43
-	protected $server;
42
+    /** @var Server */
43
+    protected $server;
44 44
 
45
-	/**
46
-	 * @since 8.2.0
47
-	 */
48
-	public function __construct($server = null) {
49
-		$this->message = '';
50
-		$this->statusCode = Http::STATUS_OK;
51
-		$this->server = $server;
52
-	}
45
+    /**
46
+     * @since 8.2.0
47
+     */
48
+    public function __construct($server = null) {
49
+        $this->message = '';
50
+        $this->statusCode = Http::STATUS_OK;
51
+        $this->server = $server;
52
+    }
53 53
 
54
-	/**
55
-	 * @param int $statusCode
56
-	 * @return self
57
-	 * @since 8.2.0
58
-	 */
59
-	public function setStatusCode($statusCode) {
60
-		$this->statusCode = (int) $statusCode;
61
-		return $this;
62
-	}
54
+    /**
55
+     * @param int $statusCode
56
+     * @return self
57
+     * @since 8.2.0
58
+     */
59
+    public function setStatusCode($statusCode) {
60
+        $this->statusCode = (int) $statusCode;
61
+        return $this;
62
+    }
63 63
 
64
-	/**
65
-	 * @param string $message
66
-	 * @return self
67
-	 * @since 8.2.0
68
-	 */
69
-	public function setMessage($message) {
70
-		$this->message = (string) $message;
71
-		return $this;
72
-	}
64
+    /**
65
+     * @param string $message
66
+     * @return self
67
+     * @since 8.2.0
68
+     */
69
+    public function setMessage($message) {
70
+        $this->message = (string) $message;
71
+        return $this;
72
+    }
73 73
 
74
-	/**
75
-	 * @return int
76
-	 * @since 8.2.0
77
-	 */
78
-	public function getStatusCode() {
79
-		return $this->statusCode;
80
-	}
74
+    /**
75
+     * @return int
76
+     * @since 8.2.0
77
+     */
78
+    public function getStatusCode() {
79
+        return $this->statusCode;
80
+    }
81 81
 
82
-	/**
83
-	 * @return string
84
-	 * @since 8.2.0
85
-	 */
86
-	public function getMessage() {
87
-		return $this->message;
88
-	}
82
+    /**
83
+     * @return string
84
+     * @since 8.2.0
85
+     */
86
+    public function getMessage() {
87
+        return $this->message;
88
+    }
89 89
 
90
-	/**
91
-	 * @return null|Server
92
-	 * @since 9.0.0
93
-	 */
94
-	public function getServer() {
95
-		return $this->server;
96
-	}
90
+    /**
91
+     * @return null|Server
92
+     * @since 9.0.0
93
+     */
94
+    public function getServer() {
95
+        return $this->server;
96
+    }
97 97
 }
Please login to merge, or discard this patch.
lib/public/RichObjectStrings/IValidator.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -29,11 +29,11 @@
 block discarded – undo
29 29
  */
30 30
 interface IValidator {
31 31
 
32
-	/**
33
-	 * @param string $subject
34
-	 * @param array[] $parameters
35
-	 * @throws InvalidObjectExeption
36
-	 * @since 11.0.0
37
-	 */
38
-	public function validate($subject, array $parameters);
32
+    /**
33
+     * @param string $subject
34
+     * @param array[] $parameters
35
+     * @throws InvalidObjectExeption
36
+     * @since 11.0.0
37
+     */
38
+    public function validate($subject, array $parameters);
39 39
 }
Please login to merge, or discard this patch.
lib/public/DB/QueryBuilder/IQueryFunction.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -26,9 +26,9 @@
 block discarded – undo
26 26
  * @since 8.2.0
27 27
  */
28 28
 interface IQueryFunction {
29
-	/**
30
-	 * @return string
31
-	 * @since 8.2.0
32
-	 */
33
-	public function __toString();
29
+    /**
30
+     * @return string
31
+     * @since 8.2.0
32
+     */
33
+    public function __toString();
34 34
 }
Please login to merge, or discard this patch.
lib/public/DB/QueryBuilder/ILiteral.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -26,9 +26,9 @@
 block discarded – undo
26 26
  * @since 8.2.0
27 27
  */
28 28
 interface ILiteral {
29
-	/**
30
-	 * @return string
31
-	 * @since 8.2.0
32
-	 */
33
-	public function __toString();
29
+    /**
30
+     * @return string
31
+     * @since 8.2.0
32
+     */
33
+    public function __toString();
34 34
 }
Please login to merge, or discard this patch.
lib/public/DB/QueryBuilder/IParameter.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -26,9 +26,9 @@
 block discarded – undo
26 26
  * @since 8.2.0
27 27
  */
28 28
 interface IParameter {
29
-	/**
30
-	 * @return string
31
-	 * @since 8.2.0
32
-	 */
33
-	public function __toString();
29
+    /**
30
+     * @return string
31
+     * @since 8.2.0
32
+     */
33
+    public function __toString();
34 34
 }
Please login to merge, or discard this patch.
lib/public/ICertificateManager.php 1 patch
Indentation   +36 added lines, -36 removed lines patch added patch discarded remove patch
@@ -29,44 +29,44 @@
 block discarded – undo
29 29
  * @since 8.0.0
30 30
  */
31 31
 interface ICertificateManager {
32
-	/**
33
-	 * Returns all certificates trusted by the user
34
-	 *
35
-	 * @return \OCP\ICertificate[]
36
-	 * @since 8.0.0
37
-	 */
38
-	public function listCertificates();
32
+    /**
33
+     * Returns all certificates trusted by the user
34
+     *
35
+     * @return \OCP\ICertificate[]
36
+     * @since 8.0.0
37
+     */
38
+    public function listCertificates();
39 39
 
40
-	/**
41
-	 * @param string $certificate the certificate data
42
-	 * @param string $name the filename for the certificate
43
-	 * @return \OCP\ICertificate
44
-	 * @throws \Exception If the certificate could not get added
45
-	 * @since 8.0.0 - since 8.1.0 throws exception instead of returning false
46
-	 */
47
-	public function addCertificate($certificate, $name);
40
+    /**
41
+     * @param string $certificate the certificate data
42
+     * @param string $name the filename for the certificate
43
+     * @return \OCP\ICertificate
44
+     * @throws \Exception If the certificate could not get added
45
+     * @since 8.0.0 - since 8.1.0 throws exception instead of returning false
46
+     */
47
+    public function addCertificate($certificate, $name);
48 48
 
49
-	/**
50
-	 * @param string $name
51
-	 * @since 8.0.0
52
-	 */
53
-	public function removeCertificate($name);
49
+    /**
50
+     * @param string $name
51
+     * @since 8.0.0
52
+     */
53
+    public function removeCertificate($name);
54 54
 
55
-	/**
56
-	 * Get the path to the certificate bundle for this user
57
-	 *
58
-	 * @param string $uid (optional) user to get the certificate bundle for, use `null` to get the system bundle (since 9.0.0)
59
-	 * @return string
60
-	 * @since 8.0.0
61
-	 */
62
-	public function getCertificateBundle($uid = '');
55
+    /**
56
+     * Get the path to the certificate bundle for this user
57
+     *
58
+     * @param string $uid (optional) user to get the certificate bundle for, use `null` to get the system bundle (since 9.0.0)
59
+     * @return string
60
+     * @since 8.0.0
61
+     */
62
+    public function getCertificateBundle($uid = '');
63 63
 
64
-	/**
65
-	 * Get the full local path to the certificate bundle for this user
66
-	 *
67
-	 * @param string $uid (optional) user to get the certificate bundle for, use `null` to get the system bundle
68
-	 * @return string
69
-	 * @since 9.0.0
70
-	 */
71
-	public function getAbsoluteBundlePath($uid = '');
64
+    /**
65
+     * Get the full local path to the certificate bundle for this user
66
+     *
67
+     * @param string $uid (optional) user to get the certificate bundle for, use `null` to get the system bundle
68
+     * @return string
69
+     * @since 9.0.0
70
+     */
71
+    public function getAbsoluteBundlePath($uid = '');
72 72
 }
Please login to merge, or discard this patch.
lib/public/App/ManagerEvent.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
 	 * @since 9.0.0
85 85
 	 */
86 86
 	public function getGroups() {
87
-		return array_map(function ($group) {
87
+		return array_map(function($group) {
88 88
 			/** @var \OCP\IGroup $group */
89 89
 			return $group->getGID();
90 90
 		}, $this->groups);
Please login to merge, or discard this patch.
Indentation   +51 added lines, -51 removed lines patch added patch discarded remove patch
@@ -32,61 +32,61 @@
 block discarded – undo
32 32
  * @since 9.0.0
33 33
  */
34 34
 class ManagerEvent extends Event {
35
-	public const EVENT_APP_ENABLE = 'OCP\App\IAppManager::enableApp';
36
-	public const EVENT_APP_ENABLE_FOR_GROUPS = 'OCP\App\IAppManager::enableAppForGroups';
37
-	public const EVENT_APP_DISABLE = 'OCP\App\IAppManager::disableApp';
35
+    public const EVENT_APP_ENABLE = 'OCP\App\IAppManager::enableApp';
36
+    public const EVENT_APP_ENABLE_FOR_GROUPS = 'OCP\App\IAppManager::enableAppForGroups';
37
+    public const EVENT_APP_DISABLE = 'OCP\App\IAppManager::disableApp';
38 38
 
39
-	/**
40
-	 * @since 9.1.0
41
-	 */
42
-	public const EVENT_APP_UPDATE = 'OCP\App\IAppManager::updateApp';
39
+    /**
40
+     * @since 9.1.0
41
+     */
42
+    public const EVENT_APP_UPDATE = 'OCP\App\IAppManager::updateApp';
43 43
 
44
-	/** @var string */
45
-	protected $event;
46
-	/** @var string */
47
-	protected $appID;
48
-	/** @var \OCP\IGroup[]|null */
49
-	protected $groups;
44
+    /** @var string */
45
+    protected $event;
46
+    /** @var string */
47
+    protected $appID;
48
+    /** @var \OCP\IGroup[]|null */
49
+    protected $groups;
50 50
 
51
-	/**
52
-	 * DispatcherEvent constructor.
53
-	 *
54
-	 * @param string $event
55
-	 * @param $appID
56
-	 * @param \OCP\IGroup[]|null $groups
57
-	 * @since 9.0.0
58
-	 */
59
-	public function __construct($event, $appID, array $groups = null) {
60
-		$this->event = $event;
61
-		$this->appID = $appID;
62
-		$this->groups = $groups;
63
-	}
51
+    /**
52
+     * DispatcherEvent constructor.
53
+     *
54
+     * @param string $event
55
+     * @param $appID
56
+     * @param \OCP\IGroup[]|null $groups
57
+     * @since 9.0.0
58
+     */
59
+    public function __construct($event, $appID, array $groups = null) {
60
+        $this->event = $event;
61
+        $this->appID = $appID;
62
+        $this->groups = $groups;
63
+    }
64 64
 
65
-	/**
66
-	 * @return string
67
-	 * @since 9.0.0
68
-	 */
69
-	public function getEvent() {
70
-		return $this->event;
71
-	}
65
+    /**
66
+     * @return string
67
+     * @since 9.0.0
68
+     */
69
+    public function getEvent() {
70
+        return $this->event;
71
+    }
72 72
 
73
-	/**
74
-	 * @return string
75
-	 * @since 9.0.0
76
-	 */
77
-	public function getAppID() {
78
-		return $this->appID;
79
-	}
73
+    /**
74
+     * @return string
75
+     * @since 9.0.0
76
+     */
77
+    public function getAppID() {
78
+        return $this->appID;
79
+    }
80 80
 
81
-	/**
82
-	 * returns the group Ids
83
-	 * @return string[]
84
-	 * @since 9.0.0
85
-	 */
86
-	public function getGroups() {
87
-		return array_map(function ($group) {
88
-			/** @var \OCP\IGroup $group */
89
-			return $group->getGID();
90
-		}, $this->groups);
91
-	}
81
+    /**
82
+     * returns the group Ids
83
+     * @return string[]
84
+     * @since 9.0.0
85
+     */
86
+    public function getGroups() {
87
+        return array_map(function ($group) {
88
+            /** @var \OCP\IGroup $group */
89
+            return $group->getGID();
90
+        }, $this->groups);
91
+    }
92 92
 }
Please login to merge, or discard this patch.