Skip to content

Commit

Permalink
clean composer dependencies + fix warning during test
Browse files Browse the repository at this point in the history
  • Loading branch information
bailletced committed Dec 16, 2024
1 parent 38ef098 commit 3ca1253
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 33 deletions.
16 changes: 1 addition & 15 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"ext-ctype": "*",
"ext-iconv": "*",
"api-platform/doctrine-orm": "^4.0",
"api-platform/elasticsearch": "^4.0",
"api-platform/symfony": "^4.0",
"doctrine/dbal": "^3",
"doctrine/doctrine-bundle": "^2.13",
Expand All @@ -23,36 +22,23 @@
"symfony/asset": "7.1.*",
"symfony/asset-mapper": "7.1.*",
"symfony/console": "7.1.*",
"symfony/doctrine-messenger": "7.1.*",
"symfony/dotenv": "7.1.*",
"symfony/expression-language": "7.1.*",
"symfony/flex": "^2",
"symfony/form": "7.1.*",
"symfony/framework-bundle": "7.1.*",
"symfony/http-client": "7.1.*",
"symfony/intl": "7.1.*",
"symfony/lock": "7.1.*",
"symfony/mailer": "7.1.*",
"symfony/mime": "7.1.*",
"symfony/monolog-bundle": "^3.0",
"symfony/notifier": "7.1.*",
"symfony/process": "7.1.*",
"symfony/property-access": "7.1.*",
"symfony/property-info": "7.1.*",
"symfony/runtime": "7.1.*",
"symfony/security-bundle": "7.1.*",
"symfony/serializer": "7.1.*",
"symfony/stimulus-bundle": "^2.20",
"symfony/string": "7.1.*",
"symfony/translation": "7.1.*",
"symfony/twig-bundle": "7.1.*",
"symfony/uid": "7.1.*",
"symfony/ux-turbo": "^2.20",
"symfony/validator": "7.1.*",
"symfony/web-link": "7.1.*",
"symfony/yaml": "7.1.*",
"twig/extra-bundle": "^2.12|^3.0",
"twig/twig": "^2.12|^3.0"
"symfony/yaml": "7.1.*"
},
"config": {
"allow-plugins": {
Expand Down
2 changes: 0 additions & 2 deletions tests/Agent/Integration/DoctrineAgentRepositoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@
use Doctrine\ORM\EntityManagerInterface;
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
use Zenstruck\Foundry\Test\Factories;
use Zenstruck\Foundry\Test\ResetDatabase;

final class DoctrineAgentRepositoryTest extends KernelTestCase
{
use ResetDatabase;
use Factories;

private static EntityManagerInterface $em;
Expand Down
2 changes: 0 additions & 2 deletions tests/Community/Acceptance/CreateCommunityTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,9 @@
use Symfony\Component\HttpFoundation\Response as HttpFoundationResponse;
use Symfony\Component\Uid\Uuid;
use Zenstruck\Foundry\Test\Factories;
use Zenstruck\Foundry\Test\ResetDatabase;

class CreateCommunityTest extends AcceptanceTestHelper
{
use ResetDatabase;
use Factories;

public function testShouldPassWithGoodData(): void
Expand Down
2 changes: 0 additions & 2 deletions tests/Community/Acceptance/GetCommunitiesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,9 @@
use App\Tests\Helper\AcceptanceTestHelper;
use Symfony\Component\HttpFoundation\Response as HttpFoundationResponse;
use Zenstruck\Foundry\Test\Factories;
use Zenstruck\Foundry\Test\ResetDatabase;

class GetCommunitiesTest extends AcceptanceTestHelper
{
use ResetDatabase;
use Factories;

public SearchHelperInterface $searchHelper;
Expand Down
2 changes: 0 additions & 2 deletions tests/Community/Acceptance/UpdateCommunityTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@
use Symfony\Component\HttpFoundation\Response as HttpFoundationResponse;
use Symfony\Component\Uid\UuidV7;
use Zenstruck\Foundry\Test\Factories;
use Zenstruck\Foundry\Test\ResetDatabase;

use function Zenstruck\Foundry\Persistence\flush_after;

class UpdateCommunityTest extends AcceptanceTestHelper
{
use ResetDatabase;
use Factories;

public function testShouldPassWithGoodData(): void
Expand Down
2 changes: 0 additions & 2 deletions tests/Community/Integration/DoctrineCommunityListenerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,9 @@
use App\Tests\Field\DummyFactory\DummyFieldFactory;
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
use Zenstruck\Foundry\Test\Factories;
use Zenstruck\Foundry\Test\ResetDatabase;

final class DoctrineCommunityListenerTest extends KernelTestCase
{
use ResetDatabase;
use Factories;

private DoctrineCommunityListener $listener;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,9 @@
use Doctrine\ORM\EntityManagerInterface;
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
use Zenstruck\Foundry\Test\Factories;
use Zenstruck\Foundry\Test\ResetDatabase;

final class DoctrineCommunityRepositoryTest extends KernelTestCase
{
use ResetDatabase;
use Factories;

private static EntityManagerInterface $em;
Expand Down
2 changes: 0 additions & 2 deletions tests/Field/Integration/DoctrineFieldListenerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,11 @@
use Doctrine\ORM\EntityManagerInterface;
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
use Zenstruck\Foundry\Test\Factories;
use Zenstruck\Foundry\Test\ResetDatabase;

use function Zenstruck\Foundry\Persistence\flush_after;

final class DoctrineFieldListenerTest extends KernelTestCase
{
use ResetDatabase;
use Factories;

private EntityManagerInterface $em;
Expand Down
2 changes: 0 additions & 2 deletions tests/Place/Acceptance/CreatePlaceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,9 @@
use App\Tests\Helper\AcceptanceTestHelper;
use Symfony\Component\HttpFoundation\Response as HttpFoundationResponse;
use Zenstruck\Foundry\Test\Factories;
use Zenstruck\Foundry\Test\ResetDatabase;

class CreatePlaceTest extends AcceptanceTestHelper
{
use ResetDatabase;
use Factories;

public function testShouldPassWithGoodData(): void
Expand Down
2 changes: 0 additions & 2 deletions tests/Place/Acceptance/UpdatePlaceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,11 @@
use Symfony\Component\HttpFoundation\Response as HttpFoundationResponse;
use Symfony\Component\Uid\UuidV7;
use Zenstruck\Foundry\Test\Factories;
use Zenstruck\Foundry\Test\ResetDatabase;

use function Zenstruck\Foundry\Persistence\flush_after;

class UpdatePlaceTest extends AcceptanceTestHelper
{
use ResetDatabase;
use Factories;

public function testShouldPassWithGoodData(): void
Expand Down

0 comments on commit 3ca1253

Please sign in to comment.