[Pkg-owncloud-commits] [php-sabre-vobject] 23/29: Fixed an E_STRICT issue.
David Prévot
taffit at moszumanska.debian.org
Sat Dec 12 19:27: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 1aecfe658aa7b3f8859972ff47bc754165efe878
Author: Evert Pot <me at evertpot.com>
Date: Fri Dec 11 23:40:38 2015 -0500
Fixed an E_STRICT issue.
---
tests/VObject/ITip/BrokerNewEventTest.php | 29 +++++++++++------------------
1 file changed, 11 insertions(+), 18 deletions(-)
diff --git a/tests/VObject/ITip/BrokerNewEventTest.php b/tests/VObject/ITip/BrokerNewEventTest.php
index 5e116d1..7b86ec1 100644
--- a/tests/VObject/ITip/BrokerNewEventTest.php
+++ b/tests/VObject/ITip/BrokerNewEventTest.php
@@ -15,7 +15,7 @@ END:VEVENT
END:VCALENDAR
ICS;
- $result = $this->parse($message);
+ $result = $this->parse(null, $message, []);
}
@@ -29,7 +29,7 @@ END:VTODO
END:VCALENDAR
ICS;
- $result = $this->parse($message);
+ $result = $this->parse(null, $message, []);
}
@@ -76,7 +76,7 @@ ICS;
],
];
- $result = $this->parse($message, $expected);
+ $this->parse(null, $message, $expected, 'mailto:strunk at example.org');
}
@@ -101,7 +101,7 @@ END:VEVENT
END:VCALENDAR
ICS;
- $this->parse($message, []);
+ $this->parse(null, $message, [], 'mailto:strunk at example.org');
}
/**
@@ -125,7 +125,7 @@ END:VEVENT
END:VCALENDAR
ICS;
- $this->parse($message, []);
+ $this->parse(null, $message, [], 'mailto:strunk at example.org');
}
@@ -247,7 +247,7 @@ ICS
],
];
- $result = $this->parse($message, $expected);
+ $this->parse(null, $message, $expected, 'mailto:strunk at example.org');
}
@@ -369,7 +369,7 @@ ICS
],
];
- $result = $this->parse($message, $expected);
+ $this->parse(null, $message, $expected, 'mailto:strunk at example.org');
}
@@ -389,8 +389,7 @@ ICS;
$version = \Sabre\VObject\Version::VERSION;
- $expected = [];
- $result = $this->parse($message, $expected);
+ $this->parse(null, $message, [], 'mailto:strunk at example.org');
}
@@ -422,7 +421,7 @@ END:VCALENDAR
ICS;
$version = \Sabre\VObject\Version::VERSION;
- $result = $this->parse($message, []);
+ $this->parse(null, $message, [], 'mailto:strunk at example.org');
}
@@ -454,7 +453,7 @@ END:VCALENDAR
ICS;
$version = \Sabre\VObject\Version::VERSION;
- $result = $this->parse($message, []);
+ $this->parse(null, $message, [], 'mailto:strunk at example.org');
}
function testNoOrganizerHasAttendee() {
@@ -469,13 +468,7 @@ END:VEVENT
END:VCALENDAR
ICS;
- $this->parse($message, []);
-
- }
-
- function parse($message, $expected = []) {
-
- parent::parse(null, $message, $expected, 'mailto:strunk at example.org');
+ $this->parse(null, $message, [], 'mailto:strunk at example.org');
}
--
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