Skip to content

Commit c287c5c

Browse files
committed
minor #50126 [Form] Move *LayoutTestCase classes to Twig bridge (ker0x)
This PR was merged into the 6.3 branch. Discussion ---------- [Form] Move `*LayoutTestCase` classes to Twig bridge | Q | A | ------------- | --- | Branch? | 6.3 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | Fix #50124 | License | MIT | Doc PR | - Commits ------- d565aa0 [Form] Move classes to Twig bridge
2 parents f6e6afa + d565aa0 commit c287c5c

File tree

6 files changed

+4
-6
lines changed

6 files changed

+4
-6
lines changed

src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap3LayoutTestCase.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
use Symfony\Component\Form\Extension\Core\Type\PercentType;
1515
use Symfony\Component\Form\FormError;
16-
use Symfony\Component\Form\Tests\AbstractLayoutTestCase;
1716

1817
abstract class AbstractBootstrap3LayoutTestCase extends AbstractLayoutTestCase
1918
{

src/Symfony/Component/Form/Tests/AbstractDivLayoutTestCase.php renamed to src/Symfony/Bridge/Twig/Tests/Extension/AbstractDivLayoutTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\Component\Form\Tests;
12+
namespace Symfony\Bridge\Twig\Tests\Extension;
1313

1414
use Symfony\Component\Form\FormError;
1515
use Symfony\Component\Security\Csrf\CsrfToken;

src/Symfony/Component/Form/Tests/AbstractLayoutTestCase.php renamed to src/Symfony/Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\Component\Form\Tests;
12+
namespace Symfony\Bridge\Twig\Tests\Extension;
1313

1414
use PHPUnit\Framework\SkippedTestError;
1515
use Symfony\Component\Form\Extension\Core\Type\PercentType;
@@ -18,6 +18,7 @@
1818
use Symfony\Component\Form\FormError;
1919
use Symfony\Component\Form\FormView;
2020
use Symfony\Component\Form\Test\FormIntegrationTestCase;
21+
use Symfony\Component\Form\Tests\VersionAwareTest;
2122
use Symfony\Component\Security\Csrf\CsrfTokenManagerInterface;
2223
use Symfony\Component\Translation\TranslatableMessage;
2324
use Symfony\Contracts\Translation\TranslatableInterface;

src/Symfony/Component/Form/Tests/AbstractTableLayoutTestCase.php renamed to src/Symfony/Bridge/Twig/Tests/Extension/AbstractTableLayoutTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\Component\Form\Tests;
12+
namespace Symfony\Bridge\Twig\Tests\Extension;
1313

1414
use Symfony\Component\Form\FormError;
1515
use Symfony\Component\Security\Csrf\CsrfToken;

src/Symfony/Bridge/Twig/Tests/Extension/FormExtensionDivLayoutTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
use Symfony\Component\Form\ChoiceList\View\ChoiceView;
1919
use Symfony\Component\Form\FormRenderer;
2020
use Symfony\Component\Form\FormView;
21-
use Symfony\Component\Form\Tests\AbstractDivLayoutTestCase;
2221
use Symfony\Component\Security\Csrf\CsrfTokenManagerInterface;
2322
use Twig\Environment;
2423
use Twig\Loader\FilesystemLoader;

src/Symfony/Bridge/Twig/Tests/Extension/FormExtensionTableLayoutTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
use Symfony\Bridge\Twig\Tests\Extension\Fixtures\StubTranslator;
1818
use Symfony\Component\Form\FormRenderer;
1919
use Symfony\Component\Form\FormView;
20-
use Symfony\Component\Form\Tests\AbstractTableLayoutTestCase;
2120
use Symfony\Component\Security\Csrf\CsrfTokenManagerInterface;
2221
use Twig\Environment;
2322
use Twig\Loader\FilesystemLoader;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy