[Pkg-owncloud-commits] [php-sabredav] 219/220: minor: CS fix

David Prévot taffit at moszumanska.debian.org
Thu May 12 01:21:31 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 ca37b11d22c2b1dd60c4317d45c77a7acdd45f42
Author: David Prévot <taffit at debian.org>
Date:   Wed May 11 21:12:28 2016 -0400

    minor: CS fix
    
    Git-Dch: Ignore
---
 debian/patches/0004-minor-CS-fix.patch | 36 ++++++++++++++++++++++++++++++++++
 debian/patches/series                  |  1 +
 2 files changed, 37 insertions(+)

diff --git a/debian/patches/0004-minor-CS-fix.patch b/debian/patches/0004-minor-CS-fix.patch
new file mode 100644
index 0000000..a804e64
--- /dev/null
+++ b/debian/patches/0004-minor-CS-fix.patch
@@ -0,0 +1,36 @@
+From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit at debian.org>
+Date: Wed, 11 May 2016 21:08:35 -0400
+Subject: minor: CS fix
+
+Forwarded: https://github.com/fruux/sabre-dav/pull/832
+---
+ lib/DAV/Sharing/Plugin.php      | 2 +-
+ lib/DAV/Xml/Property/Invite.php | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/lib/DAV/Sharing/Plugin.php b/lib/DAV/Sharing/Plugin.php
+index 38c1c13..354d06a 100644
+--- a/lib/DAV/Sharing/Plugin.php
++++ b/lib/DAV/Sharing/Plugin.php
+@@ -274,7 +274,7 @@ class Plugin extends ServerPlugin {
+ 
+         $aclPlugin = $this->server->getPlugin('acl');
+         if ($aclPlugin) {
+-          if (!$aclPlugin->checkPrivileges($path, '{DAV:}share', \Sabre\DAVACL\Plugin::R_PARENT, false)) {
++            if (!$aclPlugin->checkPrivileges($path, '{DAV:}share', \Sabre\DAVACL\Plugin::R_PARENT, false)) {
+                 // Sharing is not permitted, we will not draw this interface.
+                 return;
+             }
+diff --git a/lib/DAV/Xml/Property/Invite.php b/lib/DAV/Xml/Property/Invite.php
+index 8a6e5d5..0616ff1 100644
+--- a/lib/DAV/Xml/Property/Invite.php
++++ b/lib/DAV/Xml/Property/Invite.php
+@@ -25,7 +25,7 @@ class Invite implements XmlSerializable {
+     /**
+      * A list of sharees
+      *
+-     * @var Sharee[] 
++     * @var Sharee[]
+      */
+     public $sharees = [];
+ 
diff --git a/debian/patches/series b/debian/patches/series
index c7704a9..a7bc32f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 0001-Use-homemade-autoload.php.patch
 0002-Drop-Composer-autoLoader-calls.patch
 0004-Install-sabredav.php-in-usr-share-php-Sabre.patch
+0004-minor-CS-fix.patch

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



More information about the Pkg-owncloud-commits mailing list