Skip to content

Commit 996ac0b

Browse files
committed
minor #12680 Issue #12606 Adding warning logs about the deprecation of [...]/Tests/FormIntegration... (csuarez)
This PR was squashed before being merged into the 2.7 branch (closes #12680). Discussion ---------- Issue #12606 Adding warning logs about the deprecation of [...]/Tests/FormIntegration... This fixes Issue #12606 | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | yes | Tests pass? | yes | Fixed tickets | #12606 | License | MIT | Doc PR | x Commits ------- 2267749 Issue #12606 Adding warning logs about the deprecation of [...]/Tests/FormIntegration...
2 parents bfc5c06 + 2267749 commit 996ac0b

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)