Skip to content

Commit 6772737

Browse files
committed
Renaming Fixture -> Fixtures
1 parent 6715a03 commit 6772737

40 files changed

+61
-61
lines changed

src/LiveComponent/phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
>
1111
<php>
1212
<ini name="error_reporting" value="-1" />
13-
<server name="KERNEL_CLASS" value="Symfony\UX\LiveComponent\Tests\Fixture\Kernel" />
13+
<server name="KERNEL_CLASS" value="Symfony\UX\LiveComponent\Tests\Fixtures\Kernel" />
1414
<server name="DATABASE_URL" value="sqlite:///%kernel.project_dir%/var/data.db" />
1515
<env name="SHELL_VERBOSITY" value="-1"/>
1616
<server name="SYMFONY_DEPRECATIONS_HELPER" value="max[self]=0&amp;max[direct]=0"/>

src/LiveComponent/tests/Fixture/Component/Component1.php renamed to src/LiveComponent/tests/Fixtures/Component/Component1.php

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

12-
namespace Symfony\UX\LiveComponent\Tests\Fixture\Component;
12+
namespace Symfony\UX\LiveComponent\Tests\Fixtures\Component;
1313

1414
use Symfony\UX\LiveComponent\Attribute\AsLiveComponent;
1515
use Symfony\UX\LiveComponent\Attribute\LiveAction;
1616
use Symfony\UX\LiveComponent\Attribute\LiveProp;
1717
use Symfony\UX\LiveComponent\DefaultActionTrait;
18-
use Symfony\UX\LiveComponent\Tests\Fixture\Entity\Entity1;
18+
use Symfony\UX\LiveComponent\Tests\Fixtures\Entity\Entity1;
1919

2020
/**
2121
* @author Kevin Bond <kevinbond@gmail.com>

src/LiveComponent/tests/Fixture/Component/Component2.php renamed to src/LiveComponent/tests/Fixtures/Component/Component2.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\UX\LiveComponent\Tests\Fixture\Component;
12+
namespace Symfony\UX\LiveComponent\Tests\Fixtures\Component;
1313

1414
use Symfony\Component\HttpFoundation\RedirectResponse;
1515
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;

src/LiveComponent/tests/Fixture/Component/Component3.php renamed to src/LiveComponent/tests/Fixtures/Component/Component3.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\UX\LiveComponent\Tests\Fixture\Component;
12+
namespace Symfony\UX\LiveComponent\Tests\Fixtures\Component;
1313

1414
use Symfony\UX\LiveComponent\Attribute\AsLiveComponent;
1515
use Symfony\UX\LiveComponent\Attribute\LiveProp;

src/LiveComponent/tests/Fixture/Component/Component4.php renamed to src/LiveComponent/tests/Fixtures/Component/Component4.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\UX\LiveComponent\Tests\Fixture\Component;
12+
namespace Symfony\UX\LiveComponent\Tests\Fixtures\Component;
1313

1414
use Symfony\UX\LiveComponent\Attribute\BeforeReRender;
1515
use Symfony\UX\LiveComponent\Attribute\LiveAction;

src/LiveComponent/tests/Fixture/Component/Component5.php renamed to src/LiveComponent/tests/Fixtures/Component/Component5.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\UX\LiveComponent\Tests\Fixture\Component;
12+
namespace Symfony\UX\LiveComponent\Tests\Fixtures\Component;
1313

1414
use Symfony\UX\LiveComponent\Attribute\AsLiveComponent;
1515
use Symfony\UX\LiveComponent\DefaultActionTrait;

src/LiveComponent/tests/Fixture/Component/Component6.php renamed to src/LiveComponent/tests/Fixtures/Component/Component6.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\UX\LiveComponent\Tests\Fixture\Component;
12+
namespace Symfony\UX\LiveComponent\Tests\Fixtures\Component;
1313

1414
use Symfony\UX\LiveComponent\Attribute\AsLiveComponent;
1515
use Symfony\UX\LiveComponent\Attribute\LiveAction;

src/LiveComponent/tests/Fixture/Component/ComponentWithAttributes.php renamed to src/LiveComponent/tests/Fixtures/Component/ComponentWithAttributes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Symfony\UX\LiveComponent\Tests\Fixture\Component;
3+
namespace Symfony\UX\LiveComponent\Tests\Fixtures\Component;
44

55
use Symfony\UX\LiveComponent\Attribute\AsLiveComponent;
66
use Symfony\UX\LiveComponent\DefaultActionTrait;

src/LiveComponent/tests/Fixture/Component/FormWithCollectionTypeComponent.php renamed to src/LiveComponent/tests/Fixtures/Component/FormWithCollectionTypeComponent.php

Lines changed: 4 additions & 4 deletions
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\UX\LiveComponent\Tests\Fixture\Component;
12+
namespace Symfony\UX\LiveComponent\Tests\Fixtures\Component;
1313

1414
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
1515
use Symfony\Component\Form\FormInterface;
@@ -18,9 +18,9 @@
1818
use Symfony\UX\LiveComponent\Attribute\LiveArg;
1919
use Symfony\UX\LiveComponent\ComponentWithFormTrait;
2020
use Symfony\UX\LiveComponent\DefaultActionTrait;
21-
use Symfony\UX\LiveComponent\Tests\Fixture\Dto\BlogPost;
22-
use Symfony\UX\LiveComponent\Tests\Fixture\Dto\Comment;
23-
use Symfony\UX\LiveComponent\Tests\Fixture\Form\BlogPostFormType;
21+
use Symfony\UX\LiveComponent\Tests\Fixtures\Dto\BlogPost;
22+
use Symfony\UX\LiveComponent\Tests\Fixtures\Dto\Comment;
23+
use Symfony\UX\LiveComponent\Tests\Fixtures\Form\BlogPostFormType;
2424

2525
#[AsLiveComponent('form_with_collection_type')]
2626
class FormWithCollectionTypeComponent extends AbstractController

src/LiveComponent/tests/Fixture/Dto/BlogPost.php renamed to src/LiveComponent/tests/Fixtures/Dto/BlogPost.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\UX\LiveComponent\Tests\Fixture\Dto;
12+
namespace Symfony\UX\LiveComponent\Tests\Fixtures\Dto;
1313

1414
use Symfony\Component\Validator\Constraints\Length;
1515
use Symfony\Component\Validator\Constraints\NotBlank;

0 commit comments

Comments
 (0)