[Pkg-owncloud-commits] [php-sabredav] 88/220: CS

David Prévot taffit at moszumanska.debian.org
Thu May 12 01:21:11 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 3bc8a62d552958bd7f4fa56fc885adcc7126a63f
Author: Evert Pot <me at evertpot.com>
Date:   Wed Mar 23 00:00:31 2016 -0400

    CS
---
 lib/CalDAV/Plugin.php  |  1 -
 lib/CardDAV/Plugin.php |  1 -
 tests/bootstrap.php    | 12 ++++++------
 3 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/lib/CalDAV/Plugin.php b/lib/CalDAV/Plugin.php
index 0a240f7..7427551 100644
--- a/lib/CalDAV/Plugin.php
+++ b/lib/CalDAV/Plugin.php
@@ -6,7 +6,6 @@ use DateTimeZone;
 use Sabre\DAV;
 use Sabre\DAV\Exception\BadRequest;
 use Sabre\DAV\MkCol;
-use Sabre\DAV\Xml\Property\Href;
 use Sabre\DAV\Xml\Property\LocalHref;
 use Sabre\DAVACL;
 use Sabre\VObject;
diff --git a/lib/CardDAV/Plugin.php b/lib/CardDAV/Plugin.php
index d1bc2f7..2149c78 100644
--- a/lib/CardDAV/Plugin.php
+++ b/lib/CardDAV/Plugin.php
@@ -4,7 +4,6 @@ namespace Sabre\CardDAV;
 
 use Sabre\DAV;
 use Sabre\DAV\Exception\ReportNotSupported;
-use Sabre\DAV\Xml\Property\Href;
 use Sabre\DAV\Xml\Property\LocalHref;
 use Sabre\DAVACL;
 use Sabre\HTTP;
diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index 325ccd3..d2c0a22 100644
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -7,15 +7,15 @@ $autoLoader = include __DIR__ . '/../vendor/autoload.php';
 // SabreDAV tests auto loading
 $autoLoader->add('Sabre\\', __DIR__);
 // VObject tests auto loading
-$autoLoader->addPsr4('Sabre\\VObject\\',__DIR__ . '/../vendor/sabre/vobject/tests/VObject');
-$autoLoader->addPsr4('Sabre\\Xml\\',__DIR__ . '/../vendor/sabre/xml/tests/Sabre/Xml');
+$autoLoader->addPsr4('Sabre\\VObject\\', __DIR__ . '/../vendor/sabre/vobject/tests/VObject');
+$autoLoader->addPsr4('Sabre\\Xml\\', __DIR__ . '/../vendor/sabre/xml/tests/Sabre/Xml');
 
 date_default_timezone_set('UTC');
 
 $config = [
     'SABRE_TEMPDIR'   => dirname(__FILE__) . '/temp/',
-    'SABRE_HASSQLITE' => in_array('sqlite',PDO::getAvailableDrivers()),
-    'SABRE_HASMYSQL'  => in_array('mysql',PDO::getAvailableDrivers()),
+    'SABRE_HASSQLITE' => in_array('sqlite', PDO::getAvailableDrivers()),
+    'SABRE_HASMYSQL'  => in_array('mysql', PDO::getAvailableDrivers()),
     'SABRE_MYSQLDSN'  => 'mysql:host=127.0.0.1;dbname=sabredav',
     'SABRE_MYSQLUSER' => 'root',
     'SABRE_MYSQLPASS' => '',
@@ -23,12 +23,12 @@ $config = [
 
 if (file_exists(__DIR__ . '/config.user.php')) {
     include __DIR__ . '/config.user.php';
-    foreach($userConfig as $key=>$value) {
+    foreach ($userConfig as $key => $value) {
         $config[$key] = $value;
     }
 }
 
-foreach($config as $key=>$value) {
+foreach ($config as $key => $value) {
     if (!defined($key)) define($key, $value);
 }
 

-- 
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