Skip to content

Commit 2267749

Browse files
csuarezfabpot
authored andcommitted
Issue #12606 Adding warning logs about the deprecation of [...]/Tests/FormIntegration...
1 parent d277c16 commit 2267749

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

src/Symfony/Component/Form/Tests/FormIntegrationTestCase.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,12 @@
1818
*/
1919
abstract class FormIntegrationTestCase extends BaseFormIntegrationTestCase
2020
{
21+
/**
22+
* {@inheritdoc}
23+
*/
24+
protected function setUp()
25+
{
26+
trigger_error('This class is deprecated. Use Symfony\Component\Form\Test\FormIntegrationTestCase instead.', E_USER_DEPRECATED);
27+
parent::setUp();
28+
}
2129
}

src/Symfony/Component/Form/Tests/FormPerformanceTestCase.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,12 @@
1818
*/
1919
abstract class FormPerformanceTestCase extends BaseFormPerformanceTestCase
2020
{
21+
/**
22+
* {@inheritdoc}
23+
*/
24+
protected function setUp()
25+
{
26+
trigger_error('This class is deprecated. Use Symfony\Component\Form\Test\FormPerformanceTestCase instead.', E_USER_DEPRECATED);
27+
parent::setUp();
28+
}
2129
}

0 commit comments

Comments
 (0)