Skip to content

Commit

Permalink
Issue #12606 Adding warning logs about the deprecation of [...]/Tests…
Browse files Browse the repository at this point in the history
…/FormIntegration...
  • Loading branch information
csuarez authored and fabpot committed Nov 30, 2014
1 parent d277c16 commit 2267749
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Symfony/Component/Form/Tests/FormIntegrationTestCase.php
Expand Up @@ -18,4 +18,12 @@
*/
abstract class FormIntegrationTestCase extends BaseFormIntegrationTestCase
{
/**
* {@inheritdoc}
*/
protected function setUp()
{
trigger_error('This class is deprecated. Use Symfony\Component\Form\Test\FormIntegrationTestCase instead.', E_USER_DEPRECATED);
parent::setUp();
}
}
8 changes: 8 additions & 0 deletions src/Symfony/Component/Form/Tests/FormPerformanceTestCase.php
Expand Up @@ -18,4 +18,12 @@
*/
abstract class FormPerformanceTestCase extends BaseFormPerformanceTestCase
{
/**
* {@inheritdoc}
*/
protected function setUp()
{
trigger_error('This class is deprecated. Use Symfony\Component\Form\Test\FormPerformanceTestCase instead.', E_USER_DEPRECATED);
parent::setUp();
}
}

0 comments on commit 2267749

Please sign in to comment.