[Pkg-owncloud-commits] [php-sabre-vobject] 105/341: !xml Fix tests.
David Prévot
taffit at moszumanska.debian.org
Tue Aug 11 13:35:38 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 3e10bfbf1f25d6e8335a7be3545d027ff3983b92
Author: Ivan Enderlin <ivan.enderlin at hoa-project.net>
Date: Mon Jan 12 16:15:09 2015 +0100
!xml Fix tests.
---
lib/Parser/Json.php | 2 +-
lib/Parser/MimeDir.php | 2 +-
lib/Parser/XML.php | 3 ++-
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/lib/Parser/Json.php b/lib/Parser/Json.php
index d208889..9141f8f 100644
--- a/lib/Parser/Json.php
+++ b/lib/Parser/Json.php
@@ -54,7 +54,7 @@ class Json extends Parser {
throw new EofException('End of input stream, or no input supplied');
}
- if (0 === $options) {
+ if (0 !== $options) {
$this->options = $options;
}
diff --git a/lib/Parser/MimeDir.php b/lib/Parser/MimeDir.php
index f1a2ed9..9206788 100644
--- a/lib/Parser/MimeDir.php
+++ b/lib/Parser/MimeDir.php
@@ -57,7 +57,7 @@ class MimeDir extends Parser {
}
- if (0 === $options) {
+ if (0 !== $options) {
$this->options = $options;
}
diff --git a/lib/Parser/XML.php b/lib/Parser/XML.php
index ce4c166..9dc4bc6 100644
--- a/lib/Parser/XML.php
+++ b/lib/Parser/XML.php
@@ -76,8 +76,9 @@ class XML extends Parser {
$this->setInput($input);
}
- if (0 === $options)
+ if (0 !== $options) {
$this->options = $options;
+ }
if (is_null($this->input)) {
throw new EofException('End of input stream, or no input supplied');
--
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