[Pkg-owncloud-commits] [php-sabredav] 26/80: CS

David Prévot taffit at moszumanska.debian.org
Thu Jan 7 02:56:21 UTC 2016


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

taffit pushed a commit to branch master
in repository php-sabredav.

commit 5b159cad496eb936c94e67217a63793ef1281c69
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 667a712..59d9905 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