Update travis.yml.

This commit is contained in:
James Cole 2017-01-24 11:49:05 +01:00
parent 7140ba76d5
commit 90c16e2a07
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E
2 changed files with 15 additions and 3 deletions

View File

@ -1,7 +1,19 @@
language: php language: php
sudo: false sudo: false
php: php:
- '7.0' - 7.0
- 7.1
- nightly
- hhvm
matrix:
allow_failures:
- php: hhvm
cache:
directories:
- vendor
- $HOME/.composer/cache
install: install:
- phpenv config-rm xdebug.ini - phpenv config-rm xdebug.ini

View File

@ -67,7 +67,7 @@ class UpgradeFireflyInstructions extends Command
{ {
$parts = explode("\n", wordwrap($text)); $parts = explode("\n", wordwrap($text));
foreach ($parts as $string) { 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)); $parts = explode("\n", wordwrap($text));
foreach ($parts as $string) { foreach ($parts as $string) {
$this->info('| ' . sprintf("%-77s", $string) . '|'); $this->info('| ' . sprintf('%-77s', $string) . '|');
} }
} }