Skip to content

Commit

Permalink
Test with php 7.3 on travis (#424)
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepDiver1975 authored and staabm committed Sep 25, 2018
1 parent 3038d17 commit c533d42
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 5 deletions.
13 changes: 12 additions & 1 deletion .travis.yml
@@ -1,12 +1,19 @@
language: php
sudo: required
dist: xenial
php:
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3snapshot

sudo: false
addons:
apt:
packages:
# required for php7.3
- libzip4

script:
- ./bin/phpunit --configuration tests/phpunit.xml
Expand All @@ -18,3 +25,7 @@ before_script:
cache:
directories:
- $HOME/.composer/cache

matrix:
allow_failures:
- php: 5.5
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 c533d42

Please sign in to comment.