Skip to content

Commit

Permalink
Fix PHP 7.3 compatibility (#422)
Browse files Browse the repository at this point in the history
  • Loading branch information
alecpl authored and DeepDiver1975 committed Sep 25, 2018
1 parent 98ee005 commit f3cc955
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/Component/VCard.php
Expand Up @@ -511,7 +511,7 @@ function xmlSerialize(Xml\Writer $writer) {
switch ($property->name) {

case 'VERSION':
continue;
break;

case 'XML':
$value = $property->getParts();
Expand Down
2 changes: 1 addition & 1 deletion lib/FreeBusyGenerator.php
Expand Up @@ -430,7 +430,7 @@ protected function calculateBusy(FreeBusyData $fbData, array $objects) {
// instance. We are skipping this event from the output
// entirely.
unset($this->objects[$key]);
continue;
break;
}

if ($this->start) {
Expand Down
4 changes: 2 additions & 2 deletions tests/VObject/BirthdayCalendarGeneratorTest.php
Expand Up @@ -475,11 +475,11 @@ function testVcardStringWithEmptyBirthdayProperty() {
function testParseException() {

$generator = new BirthdayCalendarGenerator();
$input = <<<FOO
$input = <<<EOT
BEGIN:FOO
FOO:Bar
END:FOO
FOO;
EOT;

$generator->setObjects($input);

Expand Down

0 comments on commit f3cc955

Please sign in to comment.