X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fsymfony%2Fdependency-injection%2FTests%2FCompiler%2FFactoryReturnTypePassTest.php;fp=vendor%2Fsymfony%2Fdependency-injection%2FTests%2FCompiler%2FFactoryReturnTypePassTest.php;h=bfb61c373f72bea04119563ad3ae23ba79e44c8d;hp=f299463d5f44ad992dc85c2a6c0a59160bf44bc2;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/vendor/symfony/dependency-injection/Tests/Compiler/FactoryReturnTypePassTest.php b/vendor/symfony/dependency-injection/Tests/Compiler/FactoryReturnTypePassTest.php index f299463d5..bfb61c373 100644 --- a/vendor/symfony/dependency-injection/Tests/Compiler/FactoryReturnTypePassTest.php +++ b/vendor/symfony/dependency-injection/Tests/Compiler/FactoryReturnTypePassTest.php @@ -15,8 +15,8 @@ use PHPUnit\Framework\TestCase; use Symfony\Component\DependencyInjection\Compiler\FactoryReturnTypePass; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Reference; -use Symfony\Component\DependencyInjection\Tests\Fixtures\factoryFunction; use Symfony\Component\DependencyInjection\Tests\Fixtures\FactoryDummy; +use Symfony\Component\DependencyInjection\Tests\Fixtures\factoryFunction; use Symfony\Component\DependencyInjection\Tests\Fixtures\FactoryParent; /** @@ -59,7 +59,7 @@ class FactoryReturnTypePassTest extends TestCase */ public function testReturnTypes($factory, $returnType, $hhvmSupport = true) { - if (!$hhvmSupport && defined('HHVM_VERSION')) { + if (!$hhvmSupport && \defined('HHVM_VERSION')) { $this->markTestSkipped('Scalar typehints not supported by hhvm.'); }