Skip to content

Commit

Permalink
Allow test failure for HHVM
Browse files Browse the repository at this point in the history
  • Loading branch information
gmazzap committed Apr 22, 2015
1 parent 52767c3 commit 3ce275b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ php:
- 5.6
- hhvm

matrix:
allow_failures:
- php: hhvm

before_script:
- composer self-update
- composer install --no-progress --prefer-source
Expand Down
4 changes: 3 additions & 1 deletion tests/src/functional/SimpleRenderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
*/
namespace Foil\Tests;

use Foil\Template\Template;

/**
* @author Giuseppe Mazzapica <[email protected]>
* @package foil\foil
Expand All @@ -29,7 +31,7 @@ public function testLayoutRender()
$buffer = '';
$this->container['events']->on(
'f.template.renderlayout',
function ($layout, $template) use (&$buffer) {
function ($layout, Template $template) use (&$buffer) {
$buffer = $template->buffer();
}
);
Expand Down

0 comments on commit 3ce275b

Please sign in to comment.