Skip to content

Commit

Permalink
Test with php 7.3 on travis (sabre-io#424)
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepDiver1975 authored and DominikTo committed Jul 18, 2022
1 parent 9a0f531 commit 28a1449
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 16 deletions.
35 changes: 23 additions & 12 deletions .travis.yml
@@ -1,20 +1,31 @@
language: php
sudo: required
dist: xenial
php:
- 5.5
- 5.6
- 7
- hhvm
- 7.0
- 7.1
- 7.2
- 7.3snapshot

sudo: false

matrix:
fast_finish: true
allow_failures:
- php: hhvm
- php: 7
addons:
apt:
packages:
# required for php7.3
- libzip4

script:
- phpunit --configuration tests/phpunit.xml
- ./bin/sabre-cs-fixer fix lib/ --dry-run --diff
- ./bin/phpunit --configuration tests/phpunit.xml
- ./bin/sabre-cs-fixer fix . --dry-run --diff

before_script:
- composer install

before_script: composer install
cache:
directories:
- $HOME/.composer/cache

matrix:
allow_failures:
- php: 5.5
2 changes: 1 addition & 1 deletion lib/Component/VCard.php
Expand Up @@ -476,7 +476,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 @@ -449,11 +449,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 28a1449

Please sign in to comment.