浏览代码

added NEXT_MAJOR

Oskar Stark 8 年之前
父节点
当前提交
bea8d1ba44
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Tests/Command/ExplainAdminCommandTest.php

+ 2 - 0
Tests/Command/ExplainAdminCommandTest.php

@@ -186,6 +186,7 @@ class ExplainAdminCommandTest extends \PHPUnit_Framework_TestCase
 
     public function testExecute()
     {
+        // NEXT_MAJOR: Remove check, when bumping requirements to SF 2.5+
         if (interface_exists('Symfony\Component\Validator\Mapping\MetadataInterface')) { //sf2.5+
             $metadata = $this->getMock('Symfony\Component\Validator\Mapping\MetadataInterface');
         } else {
@@ -197,6 +198,7 @@ class ExplainAdminCommandTest extends \PHPUnit_Framework_TestCase
             ->with($this->equalTo('Acme\Entity\Foo'))
             ->will($this->returnValue($metadata));
 
+        // NEXT_MAJOR: Remove check, when bumping requirements to SF 2.5+
         if (class_exists('Symfony\Component\Validator\Mapping\GenericMetadata')) {
             $class = 'GenericMetadata';
         } else {