Passed
Push — master ( 645109...008e6d )
by Christoph
12:14 queued 12s
created
lib/public/AutoloadNotAllowedException.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -27,12 +27,12 @@
 block discarded – undo
27 27
  * @since 8.2.0
28 28
  */
29 29
 class AutoloadNotAllowedException extends \DomainException {
30
-	/**
31
-	 * @param string $path
32
-	 * @since 8.2.0
33
-	 */
34
-	public function __construct($path) {
35
-		parent::__construct('Autoload path not allowed: '.$path);
36
-	}
30
+    /**
31
+     * @param string $path
32
+     * @since 8.2.0
33
+     */
34
+    public function __construct($path) {
35
+        parent::__construct('Autoload path not allowed: '.$path);
36
+    }
37 37
 }
38 38
 
Please login to merge, or discard this patch.
lib/public/Lockdown/ILockdownManager.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -25,26 +25,26 @@
 block discarded – undo
25 25
  * @since 9.2
26 26
  */
27 27
 interface ILockdownManager {
28
-	/**
29
-	 * Enable the lockdown restrictions
30
-	 *
31
-	 * @since 9.2
32
-	 */
33
-	public function enable();
28
+    /**
29
+     * Enable the lockdown restrictions
30
+     *
31
+     * @since 9.2
32
+     */
33
+    public function enable();
34 34
 
35
-	/**
36
-	 * Set the active token to get the restrictions from and enable the lockdown
37
-	 *
38
-	 * @param IToken $token
39
-	 * @since 9.2
40
-	 */
41
-	public function setToken(IToken $token);
35
+    /**
36
+     * Set the active token to get the restrictions from and enable the lockdown
37
+     *
38
+     * @param IToken $token
39
+     * @since 9.2
40
+     */
41
+    public function setToken(IToken $token);
42 42
 
43
-	/**
44
-	 * Check whether or not filesystem access is allowed
45
-	 *
46
-	 * @return bool
47
-	 * @since 9.2
48
-	 */
49
-	public function canAccessFilesystem();
43
+    /**
44
+     * Check whether or not filesystem access is allowed
45
+     *
46
+     * @return bool
47
+     * @since 9.2
48
+     */
49
+    public function canAccessFilesystem();
50 50
 }
Please login to merge, or discard this patch.
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/AppFramework/Http/IOutput.php 1 patch
Indentation   +38 added lines, -38 removed lines patch added patch discarded remove patch
@@ -32,48 +32,48 @@
 block discarded – undo
32 32
  */
33 33
 interface IOutput {
34 34
 
35
-	/**
36
-	 * @param string $out
37
-	 * @since 8.1.0
38
-	 */
39
-	public function setOutput($out);
35
+    /**
36
+     * @param string $out
37
+     * @since 8.1.0
38
+     */
39
+    public function setOutput($out);
40 40
 
41
-	/**
42
-	 * @param string|resource $path or file handle
43
-	 *
44
-	 * @return bool false if an error occurred
45
-	 * @since 8.1.0
46
-	 */
47
-	public function setReadfile($path);
41
+    /**
42
+     * @param string|resource $path or file handle
43
+     *
44
+     * @return bool false if an error occurred
45
+     * @since 8.1.0
46
+     */
47
+    public function setReadfile($path);
48 48
 
49
-	/**
50
-	 * @param string $header
51
-	 * @since 8.1.0
52
-	 */
53
-	public function setHeader($header);
49
+    /**
50
+     * @param string $header
51
+     * @since 8.1.0
52
+     */
53
+    public function setHeader($header);
54 54
 
55
-	/**
56
-	 * @return int returns the current http response code
57
-	 * @since 8.1.0
58
-	 */
59
-	public function getHttpResponseCode();
55
+    /**
56
+     * @return int returns the current http response code
57
+     * @since 8.1.0
58
+     */
59
+    public function getHttpResponseCode();
60 60
 
61
-	/**
62
-	 * @param int $code sets the http status code
63
-	 * @since 8.1.0
64
-	 */
65
-	public function setHttpResponseCode($code);
61
+    /**
62
+     * @param int $code sets the http status code
63
+     * @since 8.1.0
64
+     */
65
+    public function setHttpResponseCode($code);
66 66
 
67
-	/**
68
-	 * @param string $name
69
-	 * @param string $value
70
-	 * @param int $expire
71
-	 * @param string $path
72
-	 * @param string $domain
73
-	 * @param bool $secure
74
-	 * @param bool $httpOnly
75
-	 * @since 8.1.0
76
-	 */
77
-	public function setCookie($name, $value, $expire, $path, $domain, $secure, $httpOnly);
67
+    /**
68
+     * @param string $name
69
+     * @param string $value
70
+     * @param int $expire
71
+     * @param string $path
72
+     * @param string $domain
73
+     * @param bool $secure
74
+     * @param bool $httpOnly
75
+     * @since 8.1.0
76
+     */
77
+    public function setCookie($name, $value, $expire, $path, $domain, $secure, $httpOnly);
78 78
 
79 79
 }
Please login to merge, or discard this patch.
lib/public/AppFramework/Http/DownloadResponse.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
 		$this->filename = $filename;
46 46
 		$this->contentType = $contentType;
47 47
 
48
-		$this->addHeader('Content-Disposition', 'attachment; filename="' . $filename . '"');
48
+		$this->addHeader('Content-Disposition', 'attachment; filename="'.$filename.'"');
49 49
 		$this->addHeader('Content-Type', $contentType);
50 50
 	}
51 51
 
Please login to merge, or discard this patch.
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -32,24 +32,24 @@
 block discarded – undo
32 32
  */
33 33
 class DownloadResponse extends Response {
34 34
 
35
-	private $filename;
36
-	private $contentType;
37
-
38
-	/**
39
-	 * Creates a response that prompts the user to download the file
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 7.0.0
43
-	 */
44
-	public function __construct($filename, $contentType) {
45
-		parent::__construct();
46
-
47
-		$this->filename = $filename;
48
-		$this->contentType = $contentType;
49
-
50
-		$this->addHeader('Content-Disposition', 'attachment; filename="' . $filename . '"');
51
-		$this->addHeader('Content-Type', $contentType);
52
-	}
35
+    private $filename;
36
+    private $contentType;
37
+
38
+    /**
39
+     * Creates a response that prompts the user to download the file
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 7.0.0
43
+     */
44
+    public function __construct($filename, $contentType) {
45
+        parent::__construct();
46
+
47
+        $this->filename = $filename;
48
+        $this->contentType = $contentType;
49
+
50
+        $this->addHeader('Content-Disposition', 'attachment; filename="' . $filename . '"');
51
+        $this->addHeader('Content-Type', $contentType);
52
+    }
53 53
 
54 54
 
55 55
 }
Please login to merge, or discard this patch.
lib/public/AppFramework/Http.php 1 patch
Indentation   +59 added lines, -59 removed lines patch added patch discarded remove patch
@@ -35,63 +35,63 @@
 block discarded – undo
35 35
  */
36 36
 class Http {
37 37
 
38
-	const STATUS_CONTINUE = 100;
39
-	const STATUS_SWITCHING_PROTOCOLS = 101;
40
-	const STATUS_PROCESSING = 102;
41
-	const STATUS_OK = 200;
42
-	const STATUS_CREATED = 201;
43
-	const STATUS_ACCEPTED = 202;
44
-	const STATUS_NON_AUTHORATIVE_INFORMATION = 203;
45
-	const STATUS_NO_CONTENT = 204;
46
-	const STATUS_RESET_CONTENT = 205;
47
-	const STATUS_PARTIAL_CONTENT = 206;
48
-	const STATUS_MULTI_STATUS = 207;
49
-	const STATUS_ALREADY_REPORTED = 208;
50
-	const STATUS_IM_USED = 226;
51
-	const STATUS_MULTIPLE_CHOICES = 300;
52
-	const STATUS_MOVED_PERMANENTLY = 301;
53
-	const STATUS_FOUND = 302;
54
-	const STATUS_SEE_OTHER = 303;
55
-	const STATUS_NOT_MODIFIED = 304;
56
-	const STATUS_USE_PROXY = 305;
57
-	const STATUS_RESERVED = 306;
58
-	const STATUS_TEMPORARY_REDIRECT = 307;
59
-	const STATUS_BAD_REQUEST = 400;
60
-	const STATUS_UNAUTHORIZED = 401;
61
-	const STATUS_PAYMENT_REQUIRED = 402;
62
-	const STATUS_FORBIDDEN = 403;
63
-	const STATUS_NOT_FOUND = 404;
64
-	const STATUS_METHOD_NOT_ALLOWED = 405;
65
-	const STATUS_NOT_ACCEPTABLE = 406;
66
-	const STATUS_PROXY_AUTHENTICATION_REQUIRED = 407;
67
-	const STATUS_REQUEST_TIMEOUT = 408;
68
-	const STATUS_CONFLICT = 409;
69
-	const STATUS_GONE = 410;
70
-	const STATUS_LENGTH_REQUIRED = 411;
71
-	const STATUS_PRECONDITION_FAILED = 412;
72
-	const STATUS_REQUEST_ENTITY_TOO_LARGE = 413;
73
-	const STATUS_REQUEST_URI_TOO_LONG = 414;
74
-	const STATUS_UNSUPPORTED_MEDIA_TYPE = 415;
75
-	const STATUS_REQUEST_RANGE_NOT_SATISFIABLE = 416;
76
-	const STATUS_EXPECTATION_FAILED = 417;
77
-	const STATUS_IM_A_TEAPOT = 418;
78
-	const STATUS_UNPROCESSABLE_ENTITY = 422;
79
-	const STATUS_LOCKED = 423;
80
-	const STATUS_FAILED_DEPENDENCY = 424;
81
-	const STATUS_UPGRADE_REQUIRED = 426;
82
-	const STATUS_PRECONDITION_REQUIRED = 428;
83
-	const STATUS_TOO_MANY_REQUESTS = 429;
84
-	const STATUS_REQUEST_HEADER_FIELDS_TOO_LARGE = 431;
85
-	const STATUS_INTERNAL_SERVER_ERROR = 500;
86
-	const STATUS_NOT_IMPLEMENTED = 501;
87
-	const STATUS_BAD_GATEWAY = 502;
88
-	const STATUS_SERVICE_UNAVAILABLE = 503;
89
-	const STATUS_GATEWAY_TIMEOUT = 504;
90
-	const STATUS_HTTP_VERSION_NOT_SUPPORTED = 505;
91
-	const STATUS_VARIANT_ALSO_NEGOTIATES = 506;
92
-	const STATUS_INSUFFICIENT_STORAGE = 507;
93
-	const STATUS_LOOP_DETECTED = 508;
94
-	const STATUS_BANDWIDTH_LIMIT_EXCEEDED = 509;
95
-	const STATUS_NOT_EXTENDED = 510;
96
-	const STATUS_NETWORK_AUTHENTICATION_REQUIRED = 511;
38
+    const STATUS_CONTINUE = 100;
39
+    const STATUS_SWITCHING_PROTOCOLS = 101;
40
+    const STATUS_PROCESSING = 102;
41
+    const STATUS_OK = 200;
42
+    const STATUS_CREATED = 201;
43
+    const STATUS_ACCEPTED = 202;
44
+    const STATUS_NON_AUTHORATIVE_INFORMATION = 203;
45
+    const STATUS_NO_CONTENT = 204;
46
+    const STATUS_RESET_CONTENT = 205;
47
+    const STATUS_PARTIAL_CONTENT = 206;
48
+    const STATUS_MULTI_STATUS = 207;
49
+    const STATUS_ALREADY_REPORTED = 208;
50
+    const STATUS_IM_USED = 226;
51
+    const STATUS_MULTIPLE_CHOICES = 300;
52
+    const STATUS_MOVED_PERMANENTLY = 301;
53
+    const STATUS_FOUND = 302;
54
+    const STATUS_SEE_OTHER = 303;
55
+    const STATUS_NOT_MODIFIED = 304;
56
+    const STATUS_USE_PROXY = 305;
57
+    const STATUS_RESERVED = 306;
58
+    const STATUS_TEMPORARY_REDIRECT = 307;
59
+    const STATUS_BAD_REQUEST = 400;
60
+    const STATUS_UNAUTHORIZED = 401;
61
+    const STATUS_PAYMENT_REQUIRED = 402;
62
+    const STATUS_FORBIDDEN = 403;
63
+    const STATUS_NOT_FOUND = 404;
64
+    const STATUS_METHOD_NOT_ALLOWED = 405;
65
+    const STATUS_NOT_ACCEPTABLE = 406;
66
+    const STATUS_PROXY_AUTHENTICATION_REQUIRED = 407;
67
+    const STATUS_REQUEST_TIMEOUT = 408;
68
+    const STATUS_CONFLICT = 409;
69
+    const STATUS_GONE = 410;
70
+    const STATUS_LENGTH_REQUIRED = 411;
71
+    const STATUS_PRECONDITION_FAILED = 412;
72
+    const STATUS_REQUEST_ENTITY_TOO_LARGE = 413;
73
+    const STATUS_REQUEST_URI_TOO_LONG = 414;
74
+    const STATUS_UNSUPPORTED_MEDIA_TYPE = 415;
75
+    const STATUS_REQUEST_RANGE_NOT_SATISFIABLE = 416;
76
+    const STATUS_EXPECTATION_FAILED = 417;
77
+    const STATUS_IM_A_TEAPOT = 418;
78
+    const STATUS_UNPROCESSABLE_ENTITY = 422;
79
+    const STATUS_LOCKED = 423;
80
+    const STATUS_FAILED_DEPENDENCY = 424;
81
+    const STATUS_UPGRADE_REQUIRED = 426;
82
+    const STATUS_PRECONDITION_REQUIRED = 428;
83
+    const STATUS_TOO_MANY_REQUESTS = 429;
84
+    const STATUS_REQUEST_HEADER_FIELDS_TOO_LARGE = 431;
85
+    const STATUS_INTERNAL_SERVER_ERROR = 500;
86
+    const STATUS_NOT_IMPLEMENTED = 501;
87
+    const STATUS_BAD_GATEWAY = 502;
88
+    const STATUS_SERVICE_UNAVAILABLE = 503;
89
+    const STATUS_GATEWAY_TIMEOUT = 504;
90
+    const STATUS_HTTP_VERSION_NOT_SUPPORTED = 505;
91
+    const STATUS_VARIANT_ALSO_NEGOTIATES = 506;
92
+    const STATUS_INSUFFICIENT_STORAGE = 507;
93
+    const STATUS_LOOP_DETECTED = 508;
94
+    const STATUS_BANDWIDTH_LIMIT_EXCEEDED = 509;
95
+    const STATUS_NOT_EXTENDED = 510;
96
+    const STATUS_NETWORK_AUTHENTICATION_REQUIRED = 511;
97 97
 }
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.