Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / symfony / dependency-injection / Tests / Compiler / FactoryReturnTypePassTest.php
index f299463d5f44ad992dc85c2a6c0a59160bf44bc2..bfb61c373f72bea04119563ad3ae23ba79e44c8d 100644 (file)
@@ -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.');
         }