From 90c16e2a07842e009c1732231ccfb01aa4e51cc0 Mon Sep 17 00:00:00 2001 From: James Cole Date: Tue, 24 Jan 2017 11:49:05 +0100 Subject: [PATCH] Update travis.yml. --- .travis.yml | 14 +++++++++++++- .../Commands/UpgradeFireflyInstructions.php | 4 ++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index bcba948aa5..d6dc7db792 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,19 @@ language: php sudo: false php: - - '7.0' + - 7.0 + - 7.1 + - nightly + - hhvm + +matrix: + allow_failures: + - php: hhvm + +cache: + directories: + - vendor + - $HOME/.composer/cache install: - phpenv config-rm xdebug.ini diff --git a/app/Console/Commands/UpgradeFireflyInstructions.php b/app/Console/Commands/UpgradeFireflyInstructions.php index 5e76a21cd5..a88c8ab79c 100644 --- a/app/Console/Commands/UpgradeFireflyInstructions.php +++ b/app/Console/Commands/UpgradeFireflyInstructions.php @@ -67,7 +67,7 @@ class UpgradeFireflyInstructions extends Command { $parts = explode("\n", wordwrap($text)); foreach ($parts as $string) { - $this->line('| ' . sprintf("%-77s", $string) . '|'); + $this->line('| ' . sprintf('%-77s', $string) . '|'); } } @@ -80,7 +80,7 @@ class UpgradeFireflyInstructions extends Command { $parts = explode("\n", wordwrap($text)); foreach ($parts as $string) { - $this->info('| ' . sprintf("%-77s", $string) . '|'); + $this->info('| ' . sprintf('%-77s', $string) . '|'); } }