Remove php 5.2 from travis and check for HHVM
This commit is contained in:
parent
46c9502177
commit
f2aa0982ee
|
@ -1,6 +1,5 @@
|
|||
language: php
|
||||
php:
|
||||
- '5.2'
|
||||
- '5.3'
|
||||
- '5.4'
|
||||
- '5.5'
|
||||
|
@ -10,7 +9,6 @@ php:
|
|||
- nightly
|
||||
matrix:
|
||||
allow_failures:
|
||||
- php: 5.2
|
||||
- php: hhvm
|
||||
- php: nightly
|
||||
|
||||
|
|
|
@ -276,7 +276,7 @@ class ArrayObjectArrayTest extends \PHPUnit_Framework_TestCase
|
|||
define('ARRAY_FILTER_USE_KEY', 2);
|
||||
}
|
||||
|
||||
if (PHP_VERSION_ID >= 50600) {
|
||||
if (PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION')) {
|
||||
$this->assertSame(array_filter($this->workingMultiArray, $array_filter, ARRAY_FILTER_USE_BOTH), $this->arrayObjectArrayMulti->array_filter($array_filter, ARRAY_FILTER_USE_BOTH));
|
||||
$this->assertSame(array_filter($this->workingMultiArray, $array_filter, ARRAY_FILTER_USE_KEY), $this->arrayObjectArrayMulti->array_filter($array_filter, ARRAY_FILTER_USE_KEY));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue