Completed
Branch develop (fa72bb)
by
unknown
26:08
created
includes/sabre/sabre/dav/lib/DAV/Exception/LockTokenMatchesRequestUri.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -17,20 +17,20 @@
 block discarded – undo
17 17
  */
18 18
 class LockTokenMatchesRequestUri extends Conflict
19 19
 {
20
-    /**
21
-     * Creates the exception.
22
-     */
23
-    public function __construct()
24
-    {
25
-        parent::__construct('The locktoken supplied does not match any locks on this entity');
26
-    }
20
+	/**
21
+	 * Creates the exception.
22
+	 */
23
+	public function __construct()
24
+	{
25
+		parent::__construct('The locktoken supplied does not match any locks on this entity');
26
+	}
27 27
 
28
-    /**
29
-     * This method allows the exception to include additional information into the WebDAV error response.
30
-     */
31
-    public function serialize(DAV\Server $server, \DOMElement $errorNode)
32
-    {
33
-        $error = $errorNode->ownerDocument->createElementNS('DAV:', 'd:lock-token-matches-request-uri');
34
-        $errorNode->appendChild($error);
35
-    }
28
+	/**
29
+	 * This method allows the exception to include additional information into the WebDAV error response.
30
+	 */
31
+	public function serialize(DAV\Server $server, \DOMElement $errorNode)
32
+	{
33
+		$error = $errorNode->ownerDocument->createElementNS('DAV:', 'd:lock-token-matches-request-uri');
34
+		$errorNode->appendChild($error);
35
+	}
36 36
 }
Please login to merge, or discard this patch.
htdocs/includes/sabre/sabre/dav/lib/DAV/Exception/TooManyMatches.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -23,12 +23,12 @@
 block discarded – undo
23 23
  */
24 24
 class TooManyMatches extends Forbidden
25 25
 {
26
-    /**
27
-     * This method allows the exception to include additional information into the WebDAV error response.
28
-     */
29
-    public function serialize(DAV\Server $server, \DOMElement $errorNode)
30
-    {
31
-        $error = $errorNode->ownerDocument->createElementNS('DAV:', 'd:number-of-matches-within-limits');
32
-        $errorNode->appendChild($error);
33
-    }
26
+	/**
27
+	 * This method allows the exception to include additional information into the WebDAV error response.
28
+	 */
29
+	public function serialize(DAV\Server $server, \DOMElement $errorNode)
30
+	{
31
+		$error = $errorNode->ownerDocument->createElementNS('DAV:', 'd:number-of-matches-within-limits');
32
+		$errorNode->appendChild($error);
33
+	}
34 34
 }
Please login to merge, or discard this patch.
htdocs/includes/sabre/sabre/dav/lib/DAV/Exception/MethodNotAllowed.php 1 patch
Indentation   +23 added lines, -23 removed lines patch added patch discarded remove patch
@@ -18,29 +18,29 @@
 block discarded – undo
18 18
  */
19 19
 class MethodNotAllowed extends DAV\Exception
20 20
 {
21
-    /**
22
-     * Returns the HTTP statuscode for this exception.
23
-     *
24
-     * @return int
25
-     */
26
-    public function getHTTPCode()
27
-    {
28
-        return 405;
29
-    }
21
+	/**
22
+	 * Returns the HTTP statuscode for this exception.
23
+	 *
24
+	 * @return int
25
+	 */
26
+	public function getHTTPCode()
27
+	{
28
+		return 405;
29
+	}
30 30
 
31
-    /**
32
-     * This method allows the exception to return any extra HTTP response headers.
33
-     *
34
-     * The headers must be returned as an array.
35
-     *
36
-     * @return array
37
-     */
38
-    public function getHTTPHeaders(Server $server)
39
-    {
40
-        $methods = $server->getAllowedMethods($server->getRequestUri());
31
+	/**
32
+	 * This method allows the exception to return any extra HTTP response headers.
33
+	 *
34
+	 * The headers must be returned as an array.
35
+	 *
36
+	 * @return array
37
+	 */
38
+	public function getHTTPHeaders(Server $server)
39
+	{
40
+		$methods = $server->getAllowedMethods($server->getRequestUri());
41 41
 
42
-        return [
43
-            'Allow' => strtoupper(implode(', ', $methods)),
44
-        ];
45
-    }
42
+		return [
43
+			'Allow' => strtoupper(implode(', ', $methods)),
44
+		];
45
+	}
46 46
 }
Please login to merge, or discard this patch.
htdocs/includes/sabre/sabre/dav/lib/DAV/Exception/Conflict.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -18,13 +18,13 @@
 block discarded – undo
18 18
  */
19 19
 class Conflict extends DAV\Exception
20 20
 {
21
-    /**
22
-     * Returns the HTTP statuscode for this exception.
23
-     *
24
-     * @return int
25
-     */
26
-    public function getHTTPCode()
27
-    {
28
-        return 409;
29
-    }
21
+	/**
22
+	 * Returns the HTTP statuscode for this exception.
23
+	 *
24
+	 * @return int
25
+	 */
26
+	public function getHTTPCode()
27
+	{
28
+		return 409;
29
+	}
30 30
 }
Please login to merge, or discard this patch.
htdocs/includes/sabre/sabre/dav/lib/DAV/Exception/Forbidden.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -17,13 +17,13 @@
 block discarded – undo
17 17
  */
18 18
 class Forbidden extends DAV\Exception
19 19
 {
20
-    /**
21
-     * Returns the HTTP statuscode for this exception.
22
-     *
23
-     * @return int
24
-     */
25
-    public function getHTTPCode()
26
-    {
27
-        return 403;
28
-    }
20
+	/**
21
+	 * Returns the HTTP statuscode for this exception.
22
+	 *
23
+	 * @return int
24
+	 */
25
+	public function getHTTPCode()
26
+	{
27
+		return 403;
28
+	}
29 29
 }
Please login to merge, or discard this patch.
htdocs/includes/sabre/sabre/dav/lib/DAV/Exception/InvalidResourceType.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -18,12 +18,12 @@
 block discarded – undo
18 18
  */
19 19
 class InvalidResourceType extends Forbidden
20 20
 {
21
-    /**
22
-     * This method allows the exception to include additional information into the WebDAV error response.
23
-     */
24
-    public function serialize(\Sabre\DAV\Server $server, \DOMElement $errorNode)
25
-    {
26
-        $error = $errorNode->ownerDocument->createElementNS('DAV:', 'd:valid-resourcetype');
27
-        $errorNode->appendChild($error);
28
-    }
21
+	/**
22
+	 * This method allows the exception to include additional information into the WebDAV error response.
23
+	 */
24
+	public function serialize(\Sabre\DAV\Server $server, \DOMElement $errorNode)
25
+	{
26
+		$error = $errorNode->ownerDocument->createElementNS('DAV:', 'd:valid-resourcetype');
27
+		$errorNode->appendChild($error);
28
+	}
29 29
 }
Please login to merge, or discard this patch.
htdocs/includes/sabre/sabre/dav/lib/DAV/Exception/ReportNotSupported.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -17,12 +17,12 @@
 block discarded – undo
17 17
  */
18 18
 class ReportNotSupported extends UnsupportedMediaType
19 19
 {
20
-    /**
21
-     * This method allows the exception to include additional information into the WebDAV error response.
22
-     */
23
-    public function serialize(DAV\Server $server, \DOMElement $errorNode)
24
-    {
25
-        $error = $errorNode->ownerDocument->createElementNS('DAV:', 'd:supported-report');
26
-        $errorNode->appendChild($error);
27
-    }
20
+	/**
21
+	 * This method allows the exception to include additional information into the WebDAV error response.
22
+	 */
23
+	public function serialize(DAV\Server $server, \DOMElement $errorNode)
24
+	{
25
+		$error = $errorNode->ownerDocument->createElementNS('DAV:', 'd:supported-report');
26
+		$errorNode->appendChild($error);
27
+	}
28 28
 }
Please login to merge, or discard this patch.
htdocs/includes/sabre/sabre/dav/lib/DAV/Exception/NotImplemented.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -17,13 +17,13 @@
 block discarded – undo
17 17
  */
18 18
 class NotImplemented extends DAV\Exception
19 19
 {
20
-    /**
21
-     * Returns the HTTP statuscode for this exception.
22
-     *
23
-     * @return int
24
-     */
25
-    public function getHTTPCode()
26
-    {
27
-        return 501;
28
-    }
20
+	/**
21
+	 * Returns the HTTP statuscode for this exception.
22
+	 *
23
+	 * @return int
24
+	 */
25
+	public function getHTTPCode()
26
+	{
27
+		return 501;
28
+	}
29 29
 }
Please login to merge, or discard this patch.
htdocs/includes/sabre/sabre/dav/lib/DAV/Exception/NotFound.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -17,13 +17,13 @@
 block discarded – undo
17 17
  */
18 18
 class NotFound extends DAV\Exception
19 19
 {
20
-    /**
21
-     * Returns the HTTP statuscode for this exception.
22
-     *
23
-     * @return int
24
-     */
25
-    public function getHTTPCode()
26
-    {
27
-        return 404;
28
-    }
20
+	/**
21
+	 * Returns the HTTP statuscode for this exception.
22
+	 *
23
+	 * @return int
24
+	 */
25
+	public function getHTTPCode()
26
+	{
27
+		return 404;
28
+	}
29 29
 }
Please login to merge, or discard this patch.