diff --git a/.travis.yml b/.travis.yml index aa338bbb40..ee358fc0e5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -46,5 +46,5 @@ install: script: - if [ "$deps" = "no" ]; then echo "$components" | parallel --gnu --keep-order 'echo -e "\\nRunning {} tests"; phpunit --exclude-group tty,benchmark,intl-data {} || (echo -e "\\e[41mKO\\e[0m {}" && $(exit 1));'; fi; - if [ "$deps" = "no" ]; then echo -e "\\nRunning tests requiring tty"; phpunit --group tty || (echo -e "\\e[41mKO\\e[0m tty group" && $(exit 1)); fi; - - if [ "$deps" = "high" ]; then echo "$components" | parallel --gnu --keep-order -j25% 'echo -e "\\nRunning {} tests"; cd {}; composer --prefer-source update; phpunit --exclude-group tty,benchmark,intl-data,legacy || (echo -e "\\e[41mKO\\e[0m {}" && $(exit 1));'; fi; + - if [ "$deps" = "high" ]; then echo "$components" | parallel --gnu --keep-order -j25% 'echo -e "\\nRunning {} tests"; cd {}; composer --prefer-source update; phpunit --exclude-group tty,benchmark,intl-data || (echo -e "\\e[41mKO\\e[0m {}" && $(exit 1));'; fi; - if [ "$deps" = "low" ]; then echo "$components" | parallel --gnu --keep-order -j25% 'echo -e "\\nRunning {} tests"; cd {}; composer --prefer-source --prefer-lowest --prefer-stable update; phpunit --exclude-group tty,benchmark,intl-data || (echo -e "\\e[41mKO\\e[0m {}" && $(exit 1));'; fi; diff --git a/src/Symfony/Bridge/Doctrine/Tests/Form/ChoiceList/GenericEntityChoiceListTest.php b/src/Symfony/Bridge/Doctrine/Tests/Form/ChoiceList/GenericEntityChoiceListTest.php index cc9b21cf9d..9b60c87661 100644 --- a/src/Symfony/Bridge/Doctrine/Tests/Form/ChoiceList/GenericEntityChoiceListTest.php +++ b/src/Symfony/Bridge/Doctrine/Tests/Form/ChoiceList/GenericEntityChoiceListTest.php @@ -267,6 +267,9 @@ class GenericEntityChoiceListTest extends \PHPUnit_Framework_TestCase $this->assertEquals(array(1, 2), $choiceList->getValuesForChoices(array($item1, $item2))); } + /** + * @group legacy + */ public function testLegacyInitShorthandEntityName() { $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); diff --git a/src/Symfony/Bridge/Doctrine/Tests/Form/ChoiceList/UnloadedEntityChoiceListSingleIntIdTest.php b/src/Symfony/Bridge/Doctrine/Tests/Form/ChoiceList/UnloadedEntityChoiceListSingleIntIdTest.php index 3fdb978666..dd53bf4226 100644 --- a/src/Symfony/Bridge/Doctrine/Tests/Form/ChoiceList/UnloadedEntityChoiceListSingleIntIdTest.php +++ b/src/Symfony/Bridge/Doctrine/Tests/Form/ChoiceList/UnloadedEntityChoiceListSingleIntIdTest.php @@ -21,6 +21,9 @@ class UnloadedEntityChoiceListSingleIntIdTest extends AbstractEntityChoiceListSi $this->markTestSkipped('Non-existing values are not detected for unloaded choice lists.'); } + /** + * @group legacy + */ public function testLegacyGetIndicesForValuesIgnoresNonExistingValues() { $this->markTestSkipped('Non-existing values are not detected for unloaded choice lists.'); diff --git a/src/Symfony/Bridge/Doctrine/Tests/Validator/Constraints/LegacyUniqueEntityValidatorLegacyApiTest.php b/src/Symfony/Bridge/Doctrine/Tests/Validator/Constraints/LegacyUniqueEntityValidatorLegacyApiTest.php index 07382d90e9..f639171864 100644 --- a/src/Symfony/Bridge/Doctrine/Tests/Validator/Constraints/LegacyUniqueEntityValidatorLegacyApiTest.php +++ b/src/Symfony/Bridge/Doctrine/Tests/Validator/Constraints/LegacyUniqueEntityValidatorLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.4 * @author Bernhard Schussek + * @group legacy */ class LegacyUniqueEntityValidatorLegacyApiTest extends UniqueEntityValidatorTest { diff --git a/src/Symfony/Bundle/FrameworkBundle/Tests/Templating/GlobalVariablesTest.php b/src/Symfony/Bundle/FrameworkBundle/Tests/Templating/GlobalVariablesTest.php index cddfd5a2ae..89882951d7 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Tests/Templating/GlobalVariablesTest.php +++ b/src/Symfony/Bundle/FrameworkBundle/Tests/Templating/GlobalVariablesTest.php @@ -26,6 +26,9 @@ class GlobalVariablesTest extends TestCase $this->globals = new GlobalVariables($this->container); } + /** + * @group legacy + */ public function testLegacyGetSecurity() { $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); diff --git a/src/Symfony/Bundle/TwigBundle/Tests/TokenParser/LegacyRenderTokenParserTest.php b/src/Symfony/Bundle/TwigBundle/Tests/TokenParser/LegacyRenderTokenParserTest.php index a11ae8b9b8..57e361b5db 100644 --- a/src/Symfony/Bundle/TwigBundle/Tests/TokenParser/LegacyRenderTokenParserTest.php +++ b/src/Symfony/Bundle/TwigBundle/Tests/TokenParser/LegacyRenderTokenParserTest.php @@ -15,6 +15,9 @@ use Symfony\Bundle\TwigBundle\Tests\TestCase; use Symfony\Bundle\TwigBundle\TokenParser\RenderTokenParser; use Symfony\Bundle\TwigBundle\Node\RenderNode; +/** + * @group legacy + */ class LegacyRenderTokenParserTest extends TestCase { protected function setUp() diff --git a/src/Symfony/Component/ClassLoader/Tests/LegacyApcUniversalClassLoaderTest.php b/src/Symfony/Component/ClassLoader/Tests/LegacyApcUniversalClassLoaderTest.php index 8a1f203118..48b46fa3ec 100644 --- a/src/Symfony/Component/ClassLoader/Tests/LegacyApcUniversalClassLoaderTest.php +++ b/src/Symfony/Component/ClassLoader/Tests/LegacyApcUniversalClassLoaderTest.php @@ -13,6 +13,9 @@ namespace Symfony\Component\ClassLoader\Tests; use Symfony\Component\ClassLoader\ApcUniversalClassLoader; +/** + * @group legacy + */ class LegacyApcUniversalClassLoaderTest extends \PHPUnit_Framework_TestCase { protected function setUp() diff --git a/src/Symfony/Component/ClassLoader/Tests/LegacyUniversalClassLoaderTest.php b/src/Symfony/Component/ClassLoader/Tests/LegacyUniversalClassLoaderTest.php index f5e5ef8ef9..9149e2e863 100644 --- a/src/Symfony/Component/ClassLoader/Tests/LegacyUniversalClassLoaderTest.php +++ b/src/Symfony/Component/ClassLoader/Tests/LegacyUniversalClassLoaderTest.php @@ -13,6 +13,9 @@ namespace Symfony\Component\ClassLoader\Tests; use Symfony\Component\ClassLoader\UniversalClassLoader; +/** + * @group legacy + */ class LegacyUniversalClassLoaderTest extends \PHPUnit_Framework_TestCase { protected function setUp() diff --git a/src/Symfony/Component/Console/Tests/ApplicationTest.php b/src/Symfony/Component/Console/Tests/ApplicationTest.php index 912295aa14..1fa6c64af6 100644 --- a/src/Symfony/Component/Console/Tests/ApplicationTest.php +++ b/src/Symfony/Component/Console/Tests/ApplicationTest.php @@ -490,6 +490,9 @@ class ApplicationTest extends \PHPUnit_Framework_TestCase } } + /** + * @group legacy + */ public function testLegacyAsText() { $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); @@ -501,6 +504,9 @@ class ApplicationTest extends \PHPUnit_Framework_TestCase $this->assertStringEqualsFile(self::$fixturesPath.'/application_astext2.txt', $this->normalizeLineBreaks($application->asText('foo')), '->asText() returns a text representation of the application'); } + /** + * @group legacy + */ public function testLegacyAsXml() { $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); diff --git a/src/Symfony/Component/Console/Tests/Command/CommandTest.php b/src/Symfony/Component/Console/Tests/Command/CommandTest.php index 36c14ddec5..c35617d19a 100644 --- a/src/Symfony/Component/Console/Tests/Command/CommandTest.php +++ b/src/Symfony/Component/Console/Tests/Command/CommandTest.php @@ -318,6 +318,9 @@ class CommandTest extends \PHPUnit_Framework_TestCase $output->writeln('from the code...'); } + /** + * @group legacy + */ public function testLegacyAsText() { $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); @@ -329,6 +332,9 @@ class CommandTest extends \PHPUnit_Framework_TestCase $this->assertStringEqualsFile(self::$fixturesPath.'/command_astext.txt', $command->asText(), '->asText() returns a text representation of the command'); } + /** + * @group legacy + */ public function testLegacyAsXml() { $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); diff --git a/src/Symfony/Component/Console/Tests/Helper/LegacyDialogHelperTest.php b/src/Symfony/Component/Console/Tests/Helper/LegacyDialogHelperTest.php index 86ccd7e3bf..cf07793c3d 100644 --- a/src/Symfony/Component/Console/Tests/Helper/LegacyDialogHelperTest.php +++ b/src/Symfony/Component/Console/Tests/Helper/LegacyDialogHelperTest.php @@ -17,6 +17,9 @@ use Symfony\Component\Console\Helper\HelperSet; use Symfony\Component\Console\Helper\FormatterHelper; use Symfony\Component\Console\Output\StreamOutput; +/** + * @group legacy + */ class LegacyDialogHelperTest extends \PHPUnit_Framework_TestCase { protected function setUp() diff --git a/src/Symfony/Component/Console/Tests/Helper/LegacyProgressHelperTest.php b/src/Symfony/Component/Console/Tests/Helper/LegacyProgressHelperTest.php index 72d0de568c..e93057a164 100644 --- a/src/Symfony/Component/Console/Tests/Helper/LegacyProgressHelperTest.php +++ b/src/Symfony/Component/Console/Tests/Helper/LegacyProgressHelperTest.php @@ -14,6 +14,9 @@ namespace Symfony\Component\Console\Tests\Helper; use Symfony\Component\Console\Helper\ProgressHelper; use Symfony\Component\Console\Output\StreamOutput; +/** + * @group legacy + */ class LegacyProgressHelperTest extends \PHPUnit_Framework_TestCase { protected function setUp() diff --git a/src/Symfony/Component/Console/Tests/Helper/LegacyTableHelperTest.php b/src/Symfony/Component/Console/Tests/Helper/LegacyTableHelperTest.php index e164a547fc..9cb1810a3f 100644 --- a/src/Symfony/Component/Console/Tests/Helper/LegacyTableHelperTest.php +++ b/src/Symfony/Component/Console/Tests/Helper/LegacyTableHelperTest.php @@ -14,6 +14,9 @@ namespace Symfony\Component\Console\Tests\Helper; use Symfony\Component\Console\Helper\TableHelper; use Symfony\Component\Console\Output\StreamOutput; +/** + * @group legacy + */ class LegacyTableHelperTest extends \PHPUnit_Framework_TestCase { protected $stream; diff --git a/src/Symfony/Component/Console/Tests/Input/InputDefinitionTest.php b/src/Symfony/Component/Console/Tests/Input/InputDefinitionTest.php index 88263049f2..ce0654de8a 100644 --- a/src/Symfony/Component/Console/Tests/Input/InputDefinitionTest.php +++ b/src/Symfony/Component/Console/Tests/Input/InputDefinitionTest.php @@ -373,6 +373,9 @@ class InputDefinitionTest extends \PHPUnit_Framework_TestCase $this->assertEquals('foo1 ... [fooN]', $definition->getSynopsis(), '->getSynopsis() returns a synopsis of arguments and options'); } + /** + * @group legacy + */ public function testLegacyAsText() { $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); @@ -390,6 +393,9 @@ class InputDefinitionTest extends \PHPUnit_Framework_TestCase $this->assertStringEqualsFile(self::$fixtures.'/definition_astext.txt', $definition->asText(), '->asText() returns a textual representation of the InputDefinition'); } + /** + * @group legacy + */ public function testLegacyAsXml() { $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); diff --git a/src/Symfony/Component/Console/Tests/Input/StringInputTest.php b/src/Symfony/Component/Console/Tests/Input/StringInputTest.php index a79a7181dd..0bf5e1892e 100644 --- a/src/Symfony/Component/Console/Tests/Input/StringInputTest.php +++ b/src/Symfony/Component/Console/Tests/Input/StringInputTest.php @@ -41,6 +41,9 @@ class StringInputTest extends \PHPUnit_Framework_TestCase $this->assertEquals('bar', $input->getOption('foo')); } + /** + * @group legacy + */ public function testLegacyInputOptionDefinitionInConstructor() { $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); diff --git a/src/Symfony/Component/Debug/Tests/ErrorHandlerTest.php b/src/Symfony/Component/Debug/Tests/ErrorHandlerTest.php index 4d764574a5..fafbdc7322 100644 --- a/src/Symfony/Component/Debug/Tests/ErrorHandlerTest.php +++ b/src/Symfony/Component/Debug/Tests/ErrorHandlerTest.php @@ -359,6 +359,9 @@ class ErrorHandlerTest extends \PHPUnit_Framework_TestCase } } + /** + * @group legacy + */ public function testLegacyInterface() { $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); diff --git a/src/Symfony/Component/Debug/Tests/FatalErrorHandler/ClassNotFoundFatalErrorHandlerTest.php b/src/Symfony/Component/Debug/Tests/FatalErrorHandler/ClassNotFoundFatalErrorHandlerTest.php index a59621bda6..f6c1112d29 100644 --- a/src/Symfony/Component/Debug/Tests/FatalErrorHandler/ClassNotFoundFatalErrorHandlerTest.php +++ b/src/Symfony/Component/Debug/Tests/FatalErrorHandler/ClassNotFoundFatalErrorHandlerTest.php @@ -37,6 +37,7 @@ class ClassNotFoundFatalErrorHandlerTest extends \PHPUnit_Framework_TestCase /** * @group legacy * @dataProvider provideLegacyClassNotFoundData + * @group legacy */ public function testLegacyHandleClassNotFound($error, $translatedMessage, $autoloader) { diff --git a/src/Symfony/Component/DependencyInjection/Tests/LegacyContainerBuilderTest.php b/src/Symfony/Component/DependencyInjection/Tests/LegacyContainerBuilderTest.php index 7f57c99d37..b8512a2610 100644 --- a/src/Symfony/Component/DependencyInjection/Tests/LegacyContainerBuilderTest.php +++ b/src/Symfony/Component/DependencyInjection/Tests/LegacyContainerBuilderTest.php @@ -14,6 +14,9 @@ namespace Symfony\Component\DependencyInjection\Tests; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Reference; +/** + * @group legacy + */ class LegacyContainerBuilderTest extends \PHPUnit_Framework_TestCase { protected function setUp() diff --git a/src/Symfony/Component/DependencyInjection/Tests/LegacyDefinitionTest.php b/src/Symfony/Component/DependencyInjection/Tests/LegacyDefinitionTest.php index d5dd3a925f..437b77b31b 100644 --- a/src/Symfony/Component/DependencyInjection/Tests/LegacyDefinitionTest.php +++ b/src/Symfony/Component/DependencyInjection/Tests/LegacyDefinitionTest.php @@ -13,6 +13,9 @@ namespace Symfony\Component\DependencyInjection\Tests; use Symfony\Component\DependencyInjection\Definition; +/** + * @group legacy + */ class LegacyDefinitionTest extends \PHPUnit_Framework_TestCase { protected function setUp() diff --git a/src/Symfony/Component/EventDispatcher/Tests/EventTest.php b/src/Symfony/Component/EventDispatcher/Tests/EventTest.php index 8f2fb7358e..4bd2697220 100644 --- a/src/Symfony/Component/EventDispatcher/Tests/EventTest.php +++ b/src/Symfony/Component/EventDispatcher/Tests/EventTest.php @@ -60,6 +60,9 @@ class EventTest extends \PHPUnit_Framework_TestCase $this->assertTrue($this->event->isPropagationStopped()); } + /** + * @group legacy + */ public function testLegacySetDispatcher() { $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); @@ -67,18 +70,27 @@ class EventTest extends \PHPUnit_Framework_TestCase $this->assertSame($this->dispatcher, $this->event->getDispatcher()); } + /** + * @group legacy + */ public function testLegacyGetDispatcher() { $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); $this->assertNull($this->event->getDispatcher()); } + /** + * @group legacy + */ public function testLegacyGetName() { $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); $this->assertNull($this->event->getName()); } + /** + * @group legacy + */ public function testLegacySetName() { $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); diff --git a/src/Symfony/Component/Form/Tests/AbstractLayoutTest.php b/src/Symfony/Component/Form/Tests/AbstractLayoutTest.php index 21e0ba364b..85f66a1c3f 100644 --- a/src/Symfony/Component/Form/Tests/AbstractLayoutTest.php +++ b/src/Symfony/Component/Form/Tests/AbstractLayoutTest.php @@ -122,6 +122,9 @@ abstract class AbstractLayoutTest extends \Symfony\Component\Form\Test\FormInteg abstract protected function setTheme(FormView $view, array $themes); + /** + * @group legacy + */ public function testLegacyEnctype() { $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); @@ -133,6 +136,9 @@ abstract class AbstractLayoutTest extends \Symfony\Component\Form\Test\FormInteg $this->assertEquals('enctype="multipart/form-data"', $this->renderEnctype($form->createView())); } + /** + * @group legacy + */ public function testLegacyNoEnctype() { $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/ChoiceList/AbstractChoiceListTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/ChoiceList/AbstractChoiceListTest.php index f7615546be..68ef4dca4f 100644 --- a/src/Symfony/Component/Form/Tests/Extension/Core/ChoiceList/AbstractChoiceListTest.php +++ b/src/Symfony/Component/Form/Tests/Extension/Core/ChoiceList/AbstractChoiceListTest.php @@ -161,6 +161,9 @@ abstract class AbstractChoiceListTest extends \PHPUnit_Framework_TestCase $this->assertSame($this->values, $this->list->getValues()); } + /** + * @group legacy + */ public function testLegacyGetIndicesForChoices() { $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); @@ -169,6 +172,9 @@ abstract class AbstractChoiceListTest extends \PHPUnit_Framework_TestCase $this->assertSame(array($this->index1, $this->index2), $this->list->getIndicesForChoices($choices)); } + /** + * @group legacy + */ public function testLegacyGetIndicesForChoicesPreservesKeys() { $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); @@ -177,6 +183,9 @@ abstract class AbstractChoiceListTest extends \PHPUnit_Framework_TestCase $this->assertSame(array(5 => $this->index1, 8 => $this->index2), $this->list->getIndicesForChoices($choices)); } + /** + * @group legacy + */ public function testLegacyGetIndicesForChoicesPreservesOrder() { $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); @@ -185,6 +194,9 @@ abstract class AbstractChoiceListTest extends \PHPUnit_Framework_TestCase $this->assertSame(array($this->index2, $this->index1), $this->list->getIndicesForChoices($choices)); } + /** + * @group legacy + */ public function testLegacyGetIndicesForChoicesIgnoresNonExistingChoices() { $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); @@ -193,6 +205,9 @@ abstract class AbstractChoiceListTest extends \PHPUnit_Framework_TestCase $this->assertSame(array($this->index1, $this->index2), $this->list->getIndicesForChoices($choices)); } + /** + * @group legacy + */ public function testLegacyGetIndicesForChoicesEmpty() { $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); @@ -200,6 +215,9 @@ abstract class AbstractChoiceListTest extends \PHPUnit_Framework_TestCase $this->assertSame(array(), $this->list->getIndicesForChoices(array())); } + /** + * @group legacy + */ public function testLegacyGetIndicesForValues() { $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); @@ -209,6 +227,9 @@ abstract class AbstractChoiceListTest extends \PHPUnit_Framework_TestCase $this->assertSame(array($this->index1, $this->index2), $this->list->getIndicesForValues($values)); } + /** + * @group legacy + */ public function testLegacyGetIndicesForValuesPreservesKeys() { $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); @@ -218,6 +239,9 @@ abstract class AbstractChoiceListTest extends \PHPUnit_Framework_TestCase $this->assertSame(array(5 => $this->index1, 8 => $this->index2), $this->list->getIndicesForValues($values)); } + /** + * @group legacy + */ public function testLegacyGetIndicesForValuesPreservesOrder() { $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); @@ -226,6 +250,9 @@ abstract class AbstractChoiceListTest extends \PHPUnit_Framework_TestCase $this->assertSame(array($this->index2, $this->index1), $this->list->getIndicesForValues($values)); } + /** + * @group legacy + */ public function testLegacyGetIndicesForValuesIgnoresNonExistingValues() { $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); @@ -234,6 +261,9 @@ abstract class AbstractChoiceListTest extends \PHPUnit_Framework_TestCase $this->assertSame(array($this->index1, $this->index2), $this->list->getIndicesForValues($values)); } + /** + * @group legacy + */ public function testLegacyGetIndicesForValuesEmpty() { $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/ChoiceList/LazyChoiceListTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/ChoiceList/LazyChoiceListTest.php index 4b23916673..0e5e2e6527 100644 --- a/src/Symfony/Component/Form/Tests/Extension/Core/ChoiceList/LazyChoiceListTest.php +++ b/src/Symfony/Component/Form/Tests/Extension/Core/ChoiceList/LazyChoiceListTest.php @@ -57,6 +57,9 @@ class LazyChoiceListTest extends \PHPUnit_Framework_TestCase $this->assertEquals(array(0 => new ChoiceView('a', 'a', 'A'), 2 => new ChoiceView('c', 'c', 'C')), $this->list->getRemainingViews()); } + /** + * @group legacy + */ public function testLegacyGetIndicesForChoices() { $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); @@ -65,6 +68,9 @@ class LazyChoiceListTest extends \PHPUnit_Framework_TestCase $this->assertSame(array(1, 2), $this->list->getIndicesForChoices($choices)); } + /** + * @group legacy + */ public function testLegacyGetIndicesForValues() { $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/ChoiceList/ObjectChoiceListTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/ChoiceList/ObjectChoiceListTest.php index eca3169150..2bb06349ae 100644 --- a/src/Symfony/Component/Form/Tests/Extension/Core/ChoiceList/ObjectChoiceListTest.php +++ b/src/Symfony/Component/Form/Tests/Extension/Core/ChoiceList/ObjectChoiceListTest.php @@ -185,6 +185,9 @@ class ObjectChoiceListTest extends AbstractChoiceListTest ); } + /** + * @group legacy + */ public function testLegacyGetIndicesForChoicesWithValuePath() { $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); @@ -202,6 +205,9 @@ class ObjectChoiceListTest extends AbstractChoiceListTest $this->assertSame(array($this->index1, $this->index2), $this->list->getIndicesForChoices($choices)); } + /** + * @group legacy + */ public function testLegacyGetIndicesForChoicesWithValuePathPreservesKeys() { $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); @@ -218,6 +224,9 @@ class ObjectChoiceListTest extends AbstractChoiceListTest $this->assertSame(array(5 => $this->index1, 8 => $this->index2), $this->list->getIndicesForChoices($choices)); } + /** + * @group legacy + */ public function testLegacyGetIndicesForChoicesWithValuePathPreservesOrder() { $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); @@ -234,6 +243,9 @@ class ObjectChoiceListTest extends AbstractChoiceListTest $this->assertSame(array($this->index2, $this->index1), $this->list->getIndicesForChoices($choices)); } + /** + * @group legacy + */ public function testLegacyGetIndicesForChoicesWithValuePathIgnoresNonExistingChoices() { $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/ChoiceList/SimpleNumericChoiceListTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/ChoiceList/SimpleNumericChoiceListTest.php index 9bbac31a37..b351790c45 100644 --- a/src/Symfony/Component/Form/Tests/Extension/Core/ChoiceList/SimpleNumericChoiceListTest.php +++ b/src/Symfony/Component/Form/Tests/Extension/Core/ChoiceList/SimpleNumericChoiceListTest.php @@ -15,6 +15,9 @@ use Symfony\Component\Form\Extension\Core\ChoiceList\SimpleChoiceList; class SimpleNumericChoiceListTest extends AbstractChoiceListTest { + /** + * @group legacy + */ public function testLegacyGetIndicesForChoicesDealsWithNumericChoices() { $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); @@ -24,6 +27,9 @@ class SimpleNumericChoiceListTest extends AbstractChoiceListTest $this->assertSame(array(0, 1), $this->list->getIndicesForChoices($choices)); } + /** + * @group legacy + */ public function testLegacyGetIndicesForValuesDealsWithNumericValues() { $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); diff --git a/src/Symfony/Component/Form/Tests/Extension/Csrf/CsrfProvider/LegacyDefaultCsrfProviderTest.php b/src/Symfony/Component/Form/Tests/Extension/Csrf/CsrfProvider/LegacyDefaultCsrfProviderTest.php index f201f99862..c1cf354442 100644 --- a/src/Symfony/Component/Form/Tests/Extension/Csrf/CsrfProvider/LegacyDefaultCsrfProviderTest.php +++ b/src/Symfony/Component/Form/Tests/Extension/Csrf/CsrfProvider/LegacyDefaultCsrfProviderTest.php @@ -16,8 +16,9 @@ use Symfony\Component\Form\Extension\Csrf\CsrfProvider\DefaultCsrfProvider; /** * @runTestsInSeparateProcesses * @preserveGlobalState disabled + * @group legacy */ -class DefaultCsrfProviderTest extends \PHPUnit_Framework_TestCase +class LegacyDefaultCsrfProviderTest extends \PHPUnit_Framework_TestCase { protected $provider; diff --git a/src/Symfony/Component/Form/Tests/Extension/Csrf/CsrfProvider/LegacySessionCsrfProviderTest.php b/src/Symfony/Component/Form/Tests/Extension/Csrf/CsrfProvider/LegacySessionCsrfProviderTest.php index 018f80fa44..eb4f58c8b6 100644 --- a/src/Symfony/Component/Form/Tests/Extension/Csrf/CsrfProvider/LegacySessionCsrfProviderTest.php +++ b/src/Symfony/Component/Form/Tests/Extension/Csrf/CsrfProvider/LegacySessionCsrfProviderTest.php @@ -13,6 +13,9 @@ namespace Symfony\Component\Form\Tests\Extension\Csrf\CsrfProvider; use Symfony\Component\Form\Extension\Csrf\CsrfProvider\SessionCsrfProvider; +/** + * @group legacy + */ class LegacySessionCsrfProviderTest extends \PHPUnit_Framework_TestCase { protected $provider; diff --git a/src/Symfony/Component/Form/Tests/Extension/HttpFoundation/EventListener/LegacyBindRequestListenerTest.php b/src/Symfony/Component/Form/Tests/Extension/HttpFoundation/EventListener/LegacyBindRequestListenerTest.php index 183d3a7a3a..521f7b3c17 100644 --- a/src/Symfony/Component/Form/Tests/Extension/HttpFoundation/EventListener/LegacyBindRequestListenerTest.php +++ b/src/Symfony/Component/Form/Tests/Extension/HttpFoundation/EventListener/LegacyBindRequestListenerTest.php @@ -20,6 +20,7 @@ use Symfony\Component\HttpFoundation\File\UploadedFile; /** * @author Bernhard Schussek + * @group legacy */ class LegacyBindRequestListenerTest extends \PHPUnit_Framework_TestCase { diff --git a/src/Symfony/Component/Form/Tests/Extension/Validator/Constraints/LegacyFormValidatorLegacyApiTest.php b/src/Symfony/Component/Form/Tests/Extension/Validator/Constraints/LegacyFormValidatorLegacyApiTest.php index faa68b2518..9adb364a39 100644 --- a/src/Symfony/Component/Form/Tests/Extension/Validator/Constraints/LegacyFormValidatorLegacyApiTest.php +++ b/src/Symfony/Component/Form/Tests/Extension/Validator/Constraints/LegacyFormValidatorLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyFormValidatorLegacyApiTest extends FormValidatorTest { diff --git a/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/Handler/LegacyPdoSessionHandlerTest.php b/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/Handler/LegacyPdoSessionHandlerTest.php index 2924501382..92f890152d 100644 --- a/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/Handler/LegacyPdoSessionHandlerTest.php +++ b/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/Handler/LegacyPdoSessionHandlerTest.php @@ -13,6 +13,9 @@ namespace Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler; use Symfony\Component\HttpFoundation\Session\Storage\Handler\LegacyPdoSessionHandler; +/** + * @group legacy + */ class LegacyPdoSessionHandlerTest extends \PHPUnit_Framework_TestCase { private $pdo; diff --git a/src/Symfony/Component/HttpKernel/Tests/EventListener/ProfilerListenerTest.php b/src/Symfony/Component/HttpKernel/Tests/EventListener/ProfilerListenerTest.php index c68f3af37b..605ea9dd24 100644 --- a/src/Symfony/Component/HttpKernel/Tests/EventListener/ProfilerListenerTest.php +++ b/src/Symfony/Component/HttpKernel/Tests/EventListener/ProfilerListenerTest.php @@ -24,6 +24,8 @@ class ProfilerListenerTest extends \PHPUnit_Framework_TestCase { /** * Test to ensure BC without RequestStack + * + * @group legacy */ public function testLegacyEventsWithoutRequestStack() { diff --git a/src/Symfony/Component/HttpKernel/Tests/KernelTest.php b/src/Symfony/Component/HttpKernel/Tests/KernelTest.php index 3101b12bd7..2b75ba222f 100644 --- a/src/Symfony/Component/HttpKernel/Tests/KernelTest.php +++ b/src/Symfony/Component/HttpKernel/Tests/KernelTest.php @@ -312,6 +312,9 @@ EOF; $this->assertEquals($expected, $output); } + /** + * @group legacy + */ public function testLegacyIsClassInActiveBundleFalse() { $kernel = $this->getKernelMockForIsClassInActiveBundleTest(); @@ -319,6 +322,9 @@ EOF; $this->assertFalse($kernel->isClassInActiveBundle('Not\In\Active\Bundle')); } + /** + * @group legacy + */ public function testLegacyIsClassInActiveBundleFalseNoNamespace() { $kernel = $this->getKernelMockForIsClassInActiveBundleTest(); @@ -326,6 +332,9 @@ EOF; $this->assertFalse($kernel->isClassInActiveBundle('NotNamespacedClass')); } + /** + * @group legacy + */ public function testLegacyIsClassInActiveBundleTrue() { $kernel = $this->getKernelMockForIsClassInActiveBundleTest(); diff --git a/src/Symfony/Component/OptionsResolver/Tests/LegacyOptionsResolverTest.php b/src/Symfony/Component/OptionsResolver/Tests/LegacyOptionsResolverTest.php index c355333918..d44296cd1b 100644 --- a/src/Symfony/Component/OptionsResolver/Tests/LegacyOptionsResolverTest.php +++ b/src/Symfony/Component/OptionsResolver/Tests/LegacyOptionsResolverTest.php @@ -14,6 +14,9 @@ namespace Symfony\Component\OptionsResolver\Tests; use Symfony\Component\OptionsResolver\OptionsResolver; use Symfony\Component\OptionsResolver\Options; +/** + * @group legacy + */ class LegacyOptionsResolverTest extends \PHPUnit_Framework_TestCase { /** diff --git a/src/Symfony/Component/OptionsResolver/Tests/LegacyOptionsTest.php b/src/Symfony/Component/OptionsResolver/Tests/LegacyOptionsTest.php index afeaea106f..87ac053af2 100644 --- a/src/Symfony/Component/OptionsResolver/Tests/LegacyOptionsTest.php +++ b/src/Symfony/Component/OptionsResolver/Tests/LegacyOptionsTest.php @@ -14,6 +14,9 @@ namespace Symfony\Component\OptionsResolver\Tests; use Symfony\Component\OptionsResolver\Options; use Symfony\Component\OptionsResolver\OptionsResolver; +/** + * @group legacy + */ class LegacyOptionsTest extends \PHPUnit_Framework_TestCase { /** diff --git a/src/Symfony/Component/Routing/Tests/Annotation/RouteTest.php b/src/Symfony/Component/Routing/Tests/Annotation/RouteTest.php index 921edf63d0..5eda4064f0 100644 --- a/src/Symfony/Component/Routing/Tests/Annotation/RouteTest.php +++ b/src/Symfony/Component/Routing/Tests/Annotation/RouteTest.php @@ -47,6 +47,9 @@ class RouteTest extends \PHPUnit_Framework_TestCase ); } + /** + * @group legacy + */ public function testLegacyGetPattern() { $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); diff --git a/src/Symfony/Component/Routing/Tests/Matcher/Dumper/LegacyApacheMatcherDumperTest.php b/src/Symfony/Component/Routing/Tests/Matcher/Dumper/LegacyApacheMatcherDumperTest.php index 57cb016391..6d34c96d56 100644 --- a/src/Symfony/Component/Routing/Tests/Matcher/Dumper/LegacyApacheMatcherDumperTest.php +++ b/src/Symfony/Component/Routing/Tests/Matcher/Dumper/LegacyApacheMatcherDumperTest.php @@ -15,6 +15,9 @@ use Symfony\Component\Routing\Route; use Symfony\Component\Routing\RouteCollection; use Symfony\Component\Routing\Matcher\Dumper\ApacheMatcherDumper; +/** + * @group legacy + */ class LegacyApacheMatcherDumperTest extends \PHPUnit_Framework_TestCase { protected static $fixturesPath; diff --git a/src/Symfony/Component/Routing/Tests/Matcher/LegacyApacheUrlMatcherTest.php b/src/Symfony/Component/Routing/Tests/Matcher/LegacyApacheUrlMatcherTest.php index 3a02dea0e6..f42b7f206b 100644 --- a/src/Symfony/Component/Routing/Tests/Matcher/LegacyApacheUrlMatcherTest.php +++ b/src/Symfony/Component/Routing/Tests/Matcher/LegacyApacheUrlMatcherTest.php @@ -15,6 +15,9 @@ use Symfony\Component\Routing\RouteCollection; use Symfony\Component\Routing\RequestContext; use Symfony\Component\Routing\Matcher\ApacheUrlMatcher; +/** + * @group legacy + */ class LegacyApacheUrlMatcherTest extends \PHPUnit_Framework_TestCase { protected $server; diff --git a/src/Symfony/Component/Routing/Tests/RouteTest.php b/src/Symfony/Component/Routing/Tests/RouteTest.php index 580dfed2e5..ddd6f96757 100644 --- a/src/Symfony/Component/Routing/Tests/RouteTest.php +++ b/src/Symfony/Component/Routing/Tests/RouteTest.php @@ -222,6 +222,9 @@ class RouteTest extends \PHPUnit_Framework_TestCase $this->assertNotSame($compiled, $route->compile(), '->compile() recompiles if the route was modified'); } + /** + * @group legacy + */ public function testLegacyPattern() { $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); diff --git a/src/Symfony/Component/Security/Core/Tests/Validator/Constraints/LegacyUserPasswordValidatorTest.php b/src/Symfony/Component/Security/Core/Tests/Validator/Constraints/LegacyUserPasswordValidatorTest.php index 5cfe4440af..54258e34ca 100644 --- a/src/Symfony/Component/Security/Core/Tests/Validator/Constraints/LegacyUserPasswordValidatorTest.php +++ b/src/Symfony/Component/Security/Core/Tests/Validator/Constraints/LegacyUserPasswordValidatorTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.4 * @author Bernhard Schussek + * @group legacy */ class LegacyUserPasswordValidatorApiTest extends UserPasswordValidatorTest { diff --git a/src/Symfony/Component/Security/Tests/Core/LegacySecurityContextInterfaceTest.php b/src/Symfony/Component/Security/Tests/Core/LegacySecurityContextInterfaceTest.php index 8f684758f8..3fad2b15aa 100644 --- a/src/Symfony/Component/Security/Tests/Core/LegacySecurityContextInterfaceTest.php +++ b/src/Symfony/Component/Security/Tests/Core/LegacySecurityContextInterfaceTest.php @@ -14,6 +14,9 @@ namespace Symfony\Component\Security\Tests\Core; use Symfony\Component\Security\Core\SecurityContextInterface; use Symfony\Component\Security\Core\Security; +/** + * @group legacy + */ class LegacySecurityContextInterfaceTest extends \PHPUnit_Framework_TestCase { /** diff --git a/src/Symfony/Component/Templating/Tests/Loader/LoaderTest.php b/src/Symfony/Component/Templating/Tests/Loader/LoaderTest.php index b11ed7081b..a42a1185d9 100644 --- a/src/Symfony/Component/Templating/Tests/Loader/LoaderTest.php +++ b/src/Symfony/Component/Templating/Tests/Loader/LoaderTest.php @@ -24,6 +24,9 @@ class LoaderTest extends \PHPUnit_Framework_TestCase $this->assertSame($logger, $loader->getLogger(), '->setLogger() sets the logger instance'); } + /** + * @group legacy + */ public function testLegacyGetSetDebugger() { $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyAllValidatorLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyAllValidatorLegacyApiTest.php index 03cb48bb6e..649bfe1c72 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyAllValidatorLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyAllValidatorLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyAllValidatorLegacyApiTest extends AllValidatorTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyBlankValidatorLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyBlankValidatorLegacyApiTest.php index 047113f1ca..00b8a7ae6d 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyBlankValidatorLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyBlankValidatorLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyBlankValidatorLegacyApiTest extends BlankValidatorTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyCallbackValidatorLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyCallbackValidatorLegacyApiTest.php index ef19fa04c1..8f3ea2b87c 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyCallbackValidatorLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyCallbackValidatorLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyCallbackValidatorLegacyApiTest extends CallbackValidatorTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyCardSchemeValidatorLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyCardSchemeValidatorLegacyApiTest.php index dab03e1df9..e4b41846dd 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyCardSchemeValidatorLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyCardSchemeValidatorLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyCardSchemeValidatorLegacyApiTest extends CardSchemeValidatorTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyChoiceValidatorLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyChoiceValidatorLegacyApiTest.php index a70c428ff2..9237df5513 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyChoiceValidatorLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyChoiceValidatorLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyChoiceValidatorLegacyApiTest extends ChoiceValidatorTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyCollectionValidatorArrayLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyCollectionValidatorArrayLegacyApiTest.php index 02ceb192a9..45ca1df385 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyCollectionValidatorArrayLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyCollectionValidatorArrayLegacyApiTest.php @@ -13,6 +13,9 @@ namespace Symfony\Component\Validator\Tests\Constraints; use Symfony\Component\Validator\Validation; +/** + * @group legacy + */ class LegacyCollectionValidatorArrayLegacyApiTest extends CollectionValidatorArrayTest { protected function getApiVersion() diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyCollectionValidatorArrayObjectLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyCollectionValidatorArrayObjectLegacyApiTest.php index 3a2dba9978..f28aed3b12 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyCollectionValidatorArrayObjectLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyCollectionValidatorArrayObjectLegacyApiTest.php @@ -13,6 +13,9 @@ namespace Symfony\Component\Validator\Tests\Constraints; use Symfony\Component\Validator\Validation; +/** + * @group legacy + */ class LegacyCollectionValidatorArrayObjectLegacyApiTest extends CollectionValidatorArrayObjectTest { protected function getApiVersion() diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyCollectionValidatorCustomArrayObjectLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyCollectionValidatorCustomArrayObjectLegacyApiTest.php index e65147fb21..b04053f246 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyCollectionValidatorCustomArrayObjectLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyCollectionValidatorCustomArrayObjectLegacyApiTest.php @@ -13,6 +13,9 @@ namespace Symfony\Component\Validator\Tests\Constraints; use Symfony\Component\Validator\Validation; +/** + * @group legacy + */ class LegacyCollectionValidatorCustomArrayObjectLegacyApiTest extends CollectionValidatorCustomArrayObjectTest { protected function getApiVersion() diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyCountValidatorArrayLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyCountValidatorArrayLegacyApiTest.php index 43f18105ee..d36298811c 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyCountValidatorArrayLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyCountValidatorArrayLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyCountValidatorArrayLegacyApiTest extends CountValidatorArrayTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyCountValidatorCountableLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyCountValidatorCountableLegacyApiTest.php index 89e0f3ed24..33b87957bf 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyCountValidatorCountableLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyCountValidatorCountableLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyCountValidatorCountableLegacyApiTest extends CountValidatorCountableTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyCurrencyValidatorLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyCurrencyValidatorLegacyApiTest.php index ba291920ef..85cd5d0a6a 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyCurrencyValidatorLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyCurrencyValidatorLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyCurrencyValidatorLegacyApiTest extends CurrencyValidatorTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyDateTimeValidatorLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyDateTimeValidatorLegacyApiTest.php index 120d077280..be19302fcf 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyDateTimeValidatorLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyDateTimeValidatorLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyDateTimeValidatorLegacyApiTest extends DateTimeValidatorTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyDateValidatorLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyDateValidatorLegacyApiTest.php index 03e329e048..3235f42312 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyDateValidatorLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyDateValidatorLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyDateValidatorLegacyApiTest extends DateValidatorTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyEmailValidatorLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyEmailValidatorLegacyApiTest.php index 477ce14d40..e5f101961e 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyEmailValidatorLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyEmailValidatorLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyEmailValidatorLegacyApiTest extends EmailValidatorTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyEqualToValidatorLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyEqualToValidatorLegacyApiTest.php index 16f71123ef..3a72cfbf50 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyEqualToValidatorLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyEqualToValidatorLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyEqualToValidatorLegacyApiTest extends EqualToValidatorTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyExpressionValidatorLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyExpressionValidatorLegacyApiTest.php index 8b3ab71b5e..374bba0850 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyExpressionValidatorLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyExpressionValidatorLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyExpressionValidatorLegacyApiTest extends ExpressionValidatorTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyFalseValidatorLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyFalseValidatorLegacyApiTest.php index 0fc46b4cb6..5f7cb12bdb 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyFalseValidatorLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyFalseValidatorLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyFalseValidatorLegacyApiTest extends FalseValidatorTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyFileValidatorObjectLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyFileValidatorObjectLegacyApiTest.php index 0ff1e739ec..97d5f59690 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyFileValidatorObjectLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyFileValidatorObjectLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyFileValidatorObjectLegacyApiTest extends FileValidatorObjectTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyFileValidatorPathLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyFileValidatorPathLegacyApiTest.php index c04544b53c..2c298dffcf 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyFileValidatorPathLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyFileValidatorPathLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyFileValidatorPathLegacyApiTest extends FileValidatorPathTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyGreaterThanOrEqualValidatorLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyGreaterThanOrEqualValidatorLegacyApiTest.php index 99912358ca..08822a53bd 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyGreaterThanOrEqualValidatorLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyGreaterThanOrEqualValidatorLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyGreaterThanOrEqualValidatorLegacyApiTest extends GreaterThanOrEqualValidatorTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyGreaterThanValidatorLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyGreaterThanValidatorLegacyApiTest.php index 7d04e1e7e6..0808e9bd15 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyGreaterThanValidatorLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyGreaterThanValidatorLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyGreaterThanValidatorLegacyApiTest extends GreaterThanValidatorTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyIbanValidatorLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyIbanValidatorLegacyApiTest.php index 97b322bd67..0ffc4b1506 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyIbanValidatorLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyIbanValidatorLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyIbanValidatorLegacyApiTest extends IbanValidatorTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyIdenticalToValidatorLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyIdenticalToValidatorLegacyApiTest.php index c337f4927c..aade84f65c 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyIdenticalToValidatorLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyIdenticalToValidatorLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyIdenticalToValidatorLegacyApiTest extends IdenticalToValidatorTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyImageValidatorLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyImageValidatorLegacyApiTest.php index c8171232e0..d36c1752f3 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyImageValidatorLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyImageValidatorLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyImageValidatorLegacyApiTest extends ImageValidatorTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyIpValidatorLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyIpValidatorLegacyApiTest.php index edc2acc6f6..315f2f9ccf 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyIpValidatorLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyIpValidatorLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyIpValidatorLegacyApiTest extends IpValidatorTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyIsbnValidatorLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyIsbnValidatorLegacyApiTest.php index 33525c1398..156827090b 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyIsbnValidatorLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyIsbnValidatorLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyIsbnValidatorLegacyApiTest extends IsbnValidatorTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyIssnValidatorLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyIssnValidatorLegacyApiTest.php index 0273310cd0..2ff310416d 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyIssnValidatorLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyIssnValidatorLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyIssnValidatorLegacyApiTest extends IssnValidatorTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyLanguageValidatorLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyLanguageValidatorLegacyApiTest.php index f2f974fef8..a6471b3d3b 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyLanguageValidatorLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyLanguageValidatorLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyLanguageValidatorLegacyApiTest extends LanguageValidatorTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyLengthValidatorLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyLengthValidatorLegacyApiTest.php index 784cd76493..655f3d6adb 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyLengthValidatorLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyLengthValidatorLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyLengthValidatorLegacyApiTest extends LengthValidatorTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyLessThanOrEqualValidatorLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyLessThanOrEqualValidatorLegacyApiTest.php index d74d8e42d8..2e07ab02ca 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyLessThanOrEqualValidatorLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyLessThanOrEqualValidatorLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyLessThanOrEqualValidatorLegacyApiTest extends LessThanOrEqualValidatorTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyLessThanValidatorLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyLessThanValidatorLegacyApiTest.php index ef436fab08..27592b0afc 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyLessThanValidatorLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyLessThanValidatorLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyLessThanValidatorLegacyApiTest extends LessThanValidatorTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyLocaleValidatorLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyLocaleValidatorLegacyApiTest.php index e95902efe7..f55d42205f 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyLocaleValidatorLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyLocaleValidatorLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyLocaleValidatorLegacyApiTest extends LocaleValidatorTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyLuhnValidatorLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyLuhnValidatorLegacyApiTest.php index fb8c31ca30..58555266e9 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyLuhnValidatorLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyLuhnValidatorLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyLuhnValidatorLegacyApiTest extends LuhnValidatorTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyNotBlankValidatorLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyNotBlankValidatorLegacyApiTest.php index f34c6c7dba..0aaaa77c44 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyNotBlankValidatorLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyNotBlankValidatorLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyNotBlankValidatorLegacyApiTest extends NotBlankValidatorTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyNotEqualToValidatorLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyNotEqualToValidatorLegacyApiTest.php index 7ea366085b..df88f96b54 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyNotEqualToValidatorLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyNotEqualToValidatorLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyNotEqualToValidatorLegacyApiTest extends NotEqualToValidatorTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyNotIdenticalToValidatorLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyNotIdenticalToValidatorLegacyApiTest.php index ed1fbc7f0b..25819a622f 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyNotIdenticalToValidatorLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyNotIdenticalToValidatorLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyNotIdenticalToValidatorLegacyApiTest extends NotIdenticalToValidatorTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyNotNullValidatorLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyNotNullValidatorLegacyApiTest.php index d40d759635..41a9e5407c 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyNotNullValidatorLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyNotNullValidatorLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyNotNullValidatorLegacyApiTest extends NotNullValidatorTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyNullValidatorLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyNullValidatorLegacyApiTest.php index 390e325394..79536ced6b 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyNullValidatorLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyNullValidatorLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyNullValidatorLegacyApiTest extends NullValidatorTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyRangeValidatorLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyRangeValidatorLegacyApiTest.php index efe7f85c42..866a59adfe 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyRangeValidatorLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyRangeValidatorLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyRangeValidatorLegacyApiTest extends RangeValidatorTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyRegexValidatorLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyRegexValidatorLegacyApiTest.php index c58b1a134f..ed1a4648c2 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyRegexValidatorLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyRegexValidatorLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyRegexValidatorLegacyApiTest extends RegexValidatorTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyTimeValidatorLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyTimeValidatorLegacyApiTest.php index ba0e30d553..2458d873ac 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyTimeValidatorLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyTimeValidatorLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyTimeValidatorLegacyApiTest extends TimeValidatorTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyTrueValidatorLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyTrueValidatorLegacyApiTest.php index 8a199e0a98..706c08373c 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyTrueValidatorLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyTrueValidatorLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyTrueValidatorLegacyApiTest extends TrueValidatorTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyTypeValidatorLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyTypeValidatorLegacyApiTest.php index 808c37fab3..26eb39ffb1 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyTypeValidatorLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyTypeValidatorLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyTypeValidatorLegacyApiTest extends TypeValidatorTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyUrlValidatorLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyUrlValidatorLegacyApiTest.php index 8e1eb20841..0830ddb40f 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyUrlValidatorLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyUrlValidatorLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyUrlValidatorLegacyApiTest extends UrlValidatorTest { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LegacyUuidValidatorLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LegacyUuidValidatorLegacyApiTest.php index 1fd6f337af..4a4e36298b 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LegacyUuidValidatorLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LegacyUuidValidatorLegacyApiTest.php @@ -16,6 +16,7 @@ use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek + * @group legacy */ class LegacyUuidValidatorLegacyApiTest extends UuidValidatorTest { diff --git a/src/Symfony/Component/Validator/Tests/LegacyExecutionContextTest.php b/src/Symfony/Component/Validator/Tests/LegacyExecutionContextTest.php index 36cba61ce8..4fec2aacb5 100644 --- a/src/Symfony/Component/Validator/Tests/LegacyExecutionContextTest.php +++ b/src/Symfony/Component/Validator/Tests/LegacyExecutionContextTest.php @@ -20,6 +20,9 @@ use Symfony\Component\Validator\ExecutionContext; use Symfony\Component\Validator\Tests\Fixtures\ConstraintA; use Symfony\Component\Validator\ValidationVisitor; +/** + * @group legacy + */ class LegacyExecutionContextTest extends \PHPUnit_Framework_TestCase { const TRANS_DOMAIN = 'trans_domain'; diff --git a/src/Symfony/Component/Validator/Tests/Mapping/Cache/LegacyApcCacheTest.php b/src/Symfony/Component/Validator/Tests/Mapping/Cache/LegacyApcCacheTest.php index 009e7e38ef..bb69cf5e74 100644 --- a/src/Symfony/Component/Validator/Tests/Mapping/Cache/LegacyApcCacheTest.php +++ b/src/Symfony/Component/Validator/Tests/Mapping/Cache/LegacyApcCacheTest.php @@ -13,6 +13,9 @@ namespace Symfony\Component\Validator\Tests\Mapping\Cache; use Symfony\Component\Validator\Mapping\Cache\ApcCache; +/** + * @group legacy + */ class LegacyApcCacheTest extends \PHPUnit_Framework_TestCase { protected function setUp() diff --git a/src/Symfony/Component/Validator/Tests/Mapping/LegacyElementMetadataTest.php b/src/Symfony/Component/Validator/Tests/Mapping/LegacyElementMetadataTest.php index 059479090d..c77e6fe9aa 100644 --- a/src/Symfony/Component/Validator/Tests/Mapping/LegacyElementMetadataTest.php +++ b/src/Symfony/Component/Validator/Tests/Mapping/LegacyElementMetadataTest.php @@ -15,6 +15,9 @@ use Symfony\Component\Validator\Mapping\ElementMetadata; use Symfony\Component\Validator\Tests\Fixtures\ConstraintA; use Symfony\Component\Validator\Tests\Fixtures\ConstraintB; +/** + * @group legacy + */ class LegacyElementMetadataTest extends \PHPUnit_Framework_TestCase { protected $metadata; diff --git a/src/Symfony/Component/Validator/Tests/Validator/Abstract2Dot5ApiTest.php b/src/Symfony/Component/Validator/Tests/Validator/Abstract2Dot5ApiTest.php index f793a86c6a..4a041afbff 100644 --- a/src/Symfony/Component/Validator/Tests/Validator/Abstract2Dot5ApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Validator/Abstract2Dot5ApiTest.php @@ -574,6 +574,7 @@ abstract class Abstract2Dot5ApiTest extends AbstractValidatorTest /** * @expectedException \Symfony\Component\Validator\Exception\UnsupportedMetadataException + * @group legacy */ public function testLegacyPropertyMetadataMustImplementPropertyMetadataInterface() { diff --git a/src/Symfony/Component/Validator/Tests/Validator/AbstractValidatorTest.php b/src/Symfony/Component/Validator/Tests/Validator/AbstractValidatorTest.php index c80deb28bb..d8833dedcf 100644 --- a/src/Symfony/Component/Validator/Tests/Validator/AbstractValidatorTest.php +++ b/src/Symfony/Component/Validator/Tests/Validator/AbstractValidatorTest.php @@ -840,6 +840,7 @@ abstract class AbstractValidatorTest extends \PHPUnit_Framework_TestCase * Cannot be UnsupportedMetadataException for BC with Symfony < 2.5. * * @expectedException \Symfony\Component\Validator\Exception\ValidatorException + * @group legacy */ public function testLegacyValidatePropertyFailsIfPropertiesNotSupported() { @@ -972,6 +973,7 @@ abstract class AbstractValidatorTest extends \PHPUnit_Framework_TestCase * Cannot be UnsupportedMetadataException for BC with Symfony < 2.5. * * @expectedException \Symfony\Component\Validator\Exception\ValidatorException + * @group legacy */ public function testLegacyValidatePropertyValueFailsIfPropertiesNotSupported() { diff --git a/src/Symfony/Component/Validator/Tests/Validator/LegacyValidator2Dot5ApiTest.php b/src/Symfony/Component/Validator/Tests/Validator/LegacyValidator2Dot5ApiTest.php index 56f9bd4ab8..fd1287fe71 100644 --- a/src/Symfony/Component/Validator/Tests/Validator/LegacyValidator2Dot5ApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Validator/LegacyValidator2Dot5ApiTest.php @@ -17,6 +17,9 @@ use Symfony\Component\Validator\Context\LegacyExecutionContextFactory; use Symfony\Component\Validator\MetadataFactoryInterface; use Symfony\Component\Validator\Validator\LegacyValidator; +/** + * @group legacy + */ class LegacyValidator2Dot5ApiTest extends Abstract2Dot5ApiTest { protected function createValidator(MetadataFactoryInterface $metadataFactory, array $objectInitializers = array()) diff --git a/src/Symfony/Component/Validator/Tests/Validator/LegacyValidatorLegacyApiTest.php b/src/Symfony/Component/Validator/Tests/Validator/LegacyValidatorLegacyApiTest.php index 42e6e40311..0b51a1146e 100644 --- a/src/Symfony/Component/Validator/Tests/Validator/LegacyValidatorLegacyApiTest.php +++ b/src/Symfony/Component/Validator/Tests/Validator/LegacyValidatorLegacyApiTest.php @@ -17,6 +17,9 @@ use Symfony\Component\Validator\Context\LegacyExecutionContextFactory; use Symfony\Component\Validator\MetadataFactoryInterface; use Symfony\Component\Validator\Validator\LegacyValidator; +/** + * @group legacy + */ class LegacyValidatorLegacyApiTest extends AbstractLegacyApiTest { protected function createValidator(MetadataFactoryInterface $metadataFactory, array $objectInitializers = array()) diff --git a/src/Symfony/Component/Validator/Tests/ValidatorBuilderTest.php b/src/Symfony/Component/Validator/Tests/ValidatorBuilderTest.php index e717d9a521..af20f9cd7a 100644 --- a/src/Symfony/Component/Validator/Tests/ValidatorBuilderTest.php +++ b/src/Symfony/Component/Validator/Tests/ValidatorBuilderTest.php @@ -110,6 +110,9 @@ class ValidatorBuilderTest extends \PHPUnit_Framework_TestCase $this->assertSame($this->builder, $this->builder->setTranslationDomain('TRANS_DOMAIN')); } + /** + * @group legacy + */ public function testLegacyDefaultApiVersion() { $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); @@ -124,6 +127,9 @@ class ValidatorBuilderTest extends \PHPUnit_Framework_TestCase $this->assertInstanceOf('Symfony\Component\Validator\Validator\RecursiveValidator', $this->builder->getValidator()); } + /** + * @group legacy + */ public function testLegacySetApiVersion24And25() { $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED);