Completed
Branch develop (cec3a6)
by
unknown
19:26
created
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.
htdocs/includes/sabre/sabre/dav/lib/DAV/Exception/ServiceUnavailable.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 ServiceUnavailable 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 503;
29
-    }
21
+	/**
22
+	 * Returns the HTTP statuscode for this exception.
23
+	 *
24
+	 * @return int
25
+	 */
26
+	public function getHTTPCode()
27
+	{
28
+		return 503;
29
+	}
30 30
 }
Please login to merge, or discard this patch.
htdocs/includes/sabre/sabre/dav/lib/DAV/Exception/UnsupportedMediaType.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 UnsupportedMediaType 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 415;
29
-    }
21
+	/**
22
+	 * returns the http statuscode for this exception.
23
+	 *
24
+	 * @return int
25
+	 */
26
+	public function getHTTPCode()
27
+	{
28
+		return 415;
29
+	}
30 30
 }
Please login to merge, or discard this patch.
htdocs/includes/sabre/sabre/dav/lib/DAV/Exception/NotAuthenticated.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 NotAuthenticated 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 401;
29
-    }
21
+	/**
22
+	 * Returns the HTTP statuscode for this exception.
23
+	 *
24
+	 * @return int
25
+	 */
26
+	public function getHTTPCode()
27
+	{
28
+		return 401;
29
+	}
30 30
 }
Please login to merge, or discard this patch.
htdocs/includes/sabre/sabre/dav/lib/DAV/Exception/PreconditionFailed.php 1 patch
Indentation   +40 added lines, -40 removed lines patch added patch discarded remove patch
@@ -19,47 +19,47 @@
 block discarded – undo
19 19
  */
20 20
 class PreconditionFailed extends DAV\Exception
21 21
 {
22
-    /**
23
-     * When this exception is thrown, the header-name might be set.
24
-     *
25
-     * This allows the exception-catching code to determine which HTTP header
26
-     * caused the exception.
27
-     *
28
-     * @var string
29
-     */
30
-    public $header = null;
22
+	/**
23
+	 * When this exception is thrown, the header-name might be set.
24
+	 *
25
+	 * This allows the exception-catching code to determine which HTTP header
26
+	 * caused the exception.
27
+	 *
28
+	 * @var string
29
+	 */
30
+	public $header = null;
31 31
 
32
-    /**
33
-     * Create the exception.
34
-     *
35
-     * @param string $message
36
-     * @param string $header
37
-     */
38
-    public function __construct($message, $header = null)
39
-    {
40
-        parent::__construct($message);
41
-        $this->header = $header;
42
-    }
32
+	/**
33
+	 * Create the exception.
34
+	 *
35
+	 * @param string $message
36
+	 * @param string $header
37
+	 */
38
+	public function __construct($message, $header = null)
39
+	{
40
+		parent::__construct($message);
41
+		$this->header = $header;
42
+	}
43 43
 
44
-    /**
45
-     * Returns the HTTP statuscode for this exception.
46
-     *
47
-     * @return int
48
-     */
49
-    public function getHTTPCode()
50
-    {
51
-        return 412;
52
-    }
44
+	/**
45
+	 * Returns the HTTP statuscode for this exception.
46
+	 *
47
+	 * @return int
48
+	 */
49
+	public function getHTTPCode()
50
+	{
51
+		return 412;
52
+	}
53 53
 
54
-    /**
55
-     * This method allows the exception to include additional information into the WebDAV error response.
56
-     */
57
-    public function serialize(DAV\Server $server, \DOMElement $errorNode)
58
-    {
59
-        if ($this->header) {
60
-            $prop = $errorNode->ownerDocument->createElement('s:header');
61
-            $prop->nodeValue = $this->header;
62
-            $errorNode->appendChild($prop);
63
-        }
64
-    }
54
+	/**
55
+	 * This method allows the exception to include additional information into the WebDAV error response.
56
+	 */
57
+	public function serialize(DAV\Server $server, \DOMElement $errorNode)
58
+	{
59
+		if ($this->header) {
60
+			$prop = $errorNode->ownerDocument->createElement('s:header');
61
+			$prop->nodeValue = $this->header;
62
+			$errorNode->appendChild($prop);
63
+		}
64
+	}
65 65
 }
Please login to merge, or discard this patch.