mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-24 19:59:10 -04:00
ALPHA 3.0.2a
This commit is contained in:
2
vendor/psy/psysh/test/Util/DocblockTest.php
vendored
2
vendor/psy/psysh/test/Util/DocblockTest.php
vendored
@@ -41,7 +41,7 @@ class DocblockTest extends \PHPUnit\Framework\TestCase
|
||||
|
||||
public function comments()
|
||||
{
|
||||
if (defined('HHVM_VERSION')) {
|
||||
if (\defined('HHVM_VERSION')) {
|
||||
$this->markTestSkipped('We have issues with PHPUnit mocks on HHVM.');
|
||||
}
|
||||
|
||||
|
||||
2
vendor/psy/psysh/test/Util/MirrorTest.php
vendored
2
vendor/psy/psysh/test/Util/MirrorTest.php
vendored
@@ -36,7 +36,7 @@ class MirrorTest extends \PHPUnit\Framework\TestCase
|
||||
$this->assertInstanceOf('ReflectionObject', $refl);
|
||||
|
||||
$refl = Mirror::get($this, 'FOO');
|
||||
if (version_compare(PHP_VERSION, '7.1.0', '>=')) {
|
||||
if (\version_compare(PHP_VERSION, '7.1.0', '>=')) {
|
||||
$this->assertInstanceOf('ReflectionClassConstant', $refl);
|
||||
} else {
|
||||
$this->assertInstanceOf('Psy\Reflection\ReflectionClassConstant', $refl);
|
||||
|
||||
2
vendor/psy/psysh/test/Util/StrTest.php
vendored
2
vendor/psy/psysh/test/Util/StrTest.php
vendored
@@ -26,6 +26,6 @@ class StrTest extends \PHPUnit\Framework\TestCase
|
||||
public function unvisProvider()
|
||||
{
|
||||
//return require_once(__DIR__.'/../fixtures/unvis_fixtures.php');
|
||||
return json_decode(file_get_contents(__DIR__ . '/../fixtures/unvis_fixtures.json'));
|
||||
return \json_decode(\file_get_contents(__DIR__ . '/../fixtures/unvis_fixtures.json'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user