[Pkg-owncloud-commits] [php-sabre-vobject] 152/341: Fix CS.

David Prévot taffit at moszumanska.debian.org
Tue Aug 11 13:35:43 UTC 2015


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

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

commit 85d40bdd73c673687b2d1e13a10eede03d112d19
Author: Ivan Enderlin <ivan.enderlin at hoa-project.net>
Date:   Mon Jan 19 11:12:11 2015 +0100

    Fix CS.
---
 lib/Component/VCard.php | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/Component/VCard.php b/lib/Component/VCard.php
index 39c8cbe..4578e6e 100644
--- a/lib/Component/VCard.php
+++ b/lib/Component/VCard.php
@@ -228,11 +228,11 @@ class VCard extends VObject\Document {
                 }
             }
             if ($version === '2.1' && ($options & self::PROFILE_CARDDAV)) {
-                $warnings[] = array(
+                $warnings[] = [
                     'level' => 3,
                     'message' => 'CardDAV servers are not allowed to accept vCard 2.1.',
                     'node' => $this,
-                );
+                ];
             }
 
         }
@@ -251,11 +251,11 @@ class VCard extends VObject\Document {
                 $this->UID = VObject\UUIDUtil::getUUID();
                 $warningLevel = 1;
             }
-            $warnings[] = array(
+            $warnings[] = [
                 'level' => $warningLevel,
                 'message' => $message,
                 'node' => $this,
-            );
+            ];
         }
 
         $fn = $this->select('FN');

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



More information about the Pkg-owncloud-commits mailing list