[Pkg-owncloud-commits] [php-sabredav] 11/19: CS

David Prévot taffit at moszumanska.debian.org
Tue Jan 5 03:12:56 UTC 2016


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to tag 3.0.6
in repository php-sabredav.

commit 4df45795ffcaeae8d47b7c20b0f2c98941e2a7d0
Author: Evert Pot <me at evertpot.com>
Date:   Tue Nov 24 18:02:08 2015 -0500

    CS
---
 lib/DAV/Xml/Element/Response.php             | 2 +-
 tests/Sabre/DAV/Xml/Element/ResponseTest.php | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/DAV/Xml/Element/Response.php b/lib/DAV/Xml/Element/Response.php
index 15296f8..20d0446 100644
--- a/lib/DAV/Xml/Element/Response.php
+++ b/lib/DAV/Xml/Element/Response.php
@@ -149,7 +149,7 @@ class Response implements Element {
              * no properties.
              */
             $writer->writeElement('{DAV:}propstat', [
-                '{DAV:}prop' => [],
+                '{DAV:}prop'   => [],
                 '{DAV:}status' => 'HTTP/1.1 418 ' . \Sabre\HTTP\Response::$statusCodes[418]
             ]);
 
diff --git a/tests/Sabre/DAV/Xml/Element/ResponseTest.php b/tests/Sabre/DAV/Xml/Element/ResponseTest.php
index 5b44b05..c4f06b4 100644
--- a/tests/Sabre/DAV/Xml/Element/ResponseTest.php
+++ b/tests/Sabre/DAV/Xml/Element/ResponseTest.php
@@ -195,7 +195,7 @@ class ResponseTest extends DAV\Xml\XmlTest {
 
         $result = $this->parse($xml, [
             '{DAV:}response' => 'Sabre\DAV\Xml\Element\Response',
-            '{DAV:}foo' => function($reader) {
+            '{DAV:}foo'      => function($reader) {
 
                 $reader->next();
                 return 'world';
@@ -296,7 +296,7 @@ class ResponseTest extends DAV\Xml\XmlTest {
 
         $result = $this->parse($xml, [
             '{DAV:}response' => 'Sabre\DAV\Xml\Element\Response',
-            '{DAV:}foo' => function($reader) {
+            '{DAV:}foo'      => function($reader) {
                 throw new \LogicException('This should never happen');
             },
         ]);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git



More information about the Pkg-owncloud-commits mailing list