Browse Source

added NEXT_MAJOR

Oskar Stark 8 years ago
parent
commit
bea8d1ba44
1 changed files with 2 additions and 0 deletions
  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 {