[Pkg-owncloud-commits] [php-sabre-vobject] 312/341: Updated to sabre/xml 1.1.0

David Prévot taffit at moszumanska.debian.org
Tue Aug 11 13:36:00 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 f21dcb73c35520a01563f1ff44abe58f3f5ceb51
Author: Evert Pot <me at evertpot.com>
Date:   Wed Jul 8 12:28:38 2015 -0400

    Updated to sabre/xml 1.1.0
---
 composer.json      | 2 +-
 lib/Parser/XML.php | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/composer.json b/composer.json
index ca37ce1..838875a 100644
--- a/composer.json
+++ b/composer.json
@@ -7,7 +7,7 @@
     "require" : {
         "php"          : ">=5.5",
         "ext-mbstring" : "*",
-        "sabre/xml"    : "~0.2.1"
+        "sabre/xml"    : "~1.1"
     },
     "require-dev" : {
         "phpunit/phpunit" : "*",
diff --git a/lib/Parser/XML.php b/lib/Parser/XML.php
index 07ab6bc..57e2383 100644
--- a/lib/Parser/XML.php
+++ b/lib/Parser/XML.php
@@ -170,7 +170,7 @@ class XML extends Parser {
 
         foreach ($this->pointer ?: [] as $xmlProperty) {
 
-            list($namespace, $tagName) = SabreXml\Util::parseClarkNotation($xmlProperty['name']);
+            list($namespace, $tagName) = SabreXml\Service::parseClarkNotation($xmlProperty['name']);
 
             $propertyName       = $tagName;
             $propertyValue      = [];
@@ -421,7 +421,7 @@ class XML extends Parser {
      */
     protected static function getTagName($clarkedTagName) {
 
-        list(, $tagName) = SabreXml\Util::parseClarkNotation($clarkedTagName);
+        list(, $tagName) = SabreXml\Service::parseClarkNotation($clarkedTagName);
         return $tagName;
 
     }

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