Skip to content

Commit

Permalink
[Monorepo] Rename HttpKernel to Kernel in tests (#1452)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexndlm authored Jul 1, 2024
1 parent 7adc00b commit 3da4be9
Show file tree
Hide file tree
Showing 27 changed files with 29 additions and 29 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
declare(strict_types=1);

namespace EonX\EasyApiToken\Tests\Stub\HttpKernel;
namespace EonX\EasyApiToken\Tests\Stub\Kernel;

use EonX\EasyApiToken\Bundle\EasyApiTokenBundle;
use EonX\EasyApiToken\Bundle\Enum\ConfigTag;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace EonX\EasyApiToken\Tests\Unit;

use EonX\EasyApiToken\Tests\Stub\HttpKernel\KernelStub;
use EonX\EasyApiToken\Tests\Stub\Kernel\KernelStub;
use Symfony\Component\HttpKernel\KernelInterface;

abstract class AbstractSymfonyTestCase extends AbstractUnitTestCase
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
declare(strict_types=1);

namespace EonX\EasyBatch\Tests\Stub\HttpKernel;
namespace EonX\EasyBatch\Tests\Stub\Kernel;

use Doctrine\DBAL\Connection;
use EonX\EasyBatch\Bundle\EasyBatchBundle;
Expand Down
2 changes: 1 addition & 1 deletion packages/EasyBatch/tests/Unit/AbstractSymfonyTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

use Doctrine\DBAL\Connection;
use EonX\EasyBatch\Doctrine\Provider\DoctrineDbalStatementProvider;
use EonX\EasyBatch\Tests\Stub\HttpKernel\KernelStub;
use EonX\EasyBatch\Tests\Stub\Kernel\KernelStub;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\HttpKernel\KernelInterface;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
declare(strict_types=1);

namespace EonX\EasyBugsnag\Tests\Stub\HttpKernel;
namespace EonX\EasyBugsnag\Tests\Stub\Kernel;

use EonX\EasyBugsnag\Bundle\EasyBugsnagBundle;
use EonX\EasyUtils\Bundle\EasyUtilsBundle;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace EonX\EasyBugsnag\Tests\Unit\Bundle;

use EonX\EasyBugsnag\Tests\Stub\HttpKernel\KernelStub;
use EonX\EasyBugsnag\Tests\Stub\Kernel\KernelStub;
use EonX\EasyBugsnag\Tests\Unit\AbstractUnitTestCase;
use Symfony\Component\HttpKernel\KernelInterface;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
declare(strict_types=1);

namespace EonX\EasyDecision\Tests\Stub\HttpKernel;
namespace EonX\EasyDecision\Tests\Stub\Kernel;

use EonX\EasyDecision\Bundle\EasyDecisionBundle;
use Symfony\Component\Config\Loader\LoaderInterface;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
use EonX\EasyDecision\Exception\InvalidMappingException;
use EonX\EasyDecision\Exception\UnableToMakeDecisionException;
use EonX\EasyDecision\Factory\DecisionFactoryInterface;
use EonX\EasyDecision\Tests\Stub\HttpKernel\KernelStub;
use EonX\EasyDecision\Tests\Stub\Kernel\KernelStub;
use EonX\EasyDecision\Tests\Unit\AbstractUnitTestCase;
use PHPUnit\Framework\Attributes\DataProvider;
use Symfony\Component\Config\Definition\Exception\InvalidConfigurationException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
declare(strict_types=1);

namespace EonX\EasyDoctrine\Tests\Stub\HttpKernel;
namespace EonX\EasyDoctrine\Tests\Stub\Kernel;

use EonX\EasyDoctrine\Bundle\EasyDoctrineBundle;
use Symfony\Component\Config\Loader\LoaderInterface;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace EonX\EasyDoctrine\Tests\Unit\Bundle;

use EonX\EasyDoctrine\Tests\Stub\HttpKernel\KernelStub;
use EonX\EasyDoctrine\Tests\Stub\Kernel\KernelStub;
use EonX\EasyDoctrine\Tests\Unit\AbstractUnitTestCase;
use Symfony\Component\HttpKernel\KernelInterface;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
declare(strict_types=1);

namespace EonX\EasyEncryption\Tests\Stub\HttpKernel;
namespace EonX\EasyEncryption\Tests\Stub\Kernel;

use EonX\EasyEncryption\Bundle\EasyEncryptionBundle;
use Symfony\Component\Config\Loader\LoaderInterface;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace EonX\EasyEncryption\Tests\Unit\Bundle;

use EonX\EasyEncryption\Tests\Stub\HttpKernel\KernelStub;
use EonX\EasyEncryption\Tests\Stub\Kernel\KernelStub;
use EonX\EasyEncryption\Tests\Unit\AbstractUnitTestCase;
use Symfony\Component\HttpKernel\KernelInterface;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
declare(strict_types=1);

namespace EonX\EasyEventDispatcher\Tests\Stub\HttpKernel;
namespace EonX\EasyEventDispatcher\Tests\Stub\Kernel;

use EonX\EasyEventDispatcher\Bundle\EasyEventDispatcherBundle;
use EonX\EasyEventDispatcher\Tests\Stub\Dispatcher\SymfonyEventDispatcherStub;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace EonX\EasyEventDispatcher\Tests\Unit\Bundle;

use EonX\EasyEventDispatcher\Tests\Stub\HttpKernel\KernelStub;
use EonX\EasyEventDispatcher\Tests\Stub\Kernel\KernelStub;
use EonX\EasyEventDispatcher\Tests\Unit\AbstractUnitTestCase;
use Symfony\Component\HttpKernel\KernelInterface;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
declare(strict_types=1);

namespace EonX\EasyLock\Tests\Stub\HttpKernel;
namespace EonX\EasyLock\Tests\Stub\Kernel;

use EonX\EasyLock\Bundle\EasyLockBundle;
use Psr\Log\LoggerInterface;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace EonX\EasyLock\Tests\Unit\Bundle;

use EonX\EasyLock\Tests\Stub\HttpKernel\KernelStub;
use EonX\EasyLock\Tests\Stub\Kernel\KernelStub;
use EonX\EasyLock\Tests\Unit\AbstractUnitTestCase;
use Symfony\Component\HttpKernel\KernelInterface;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
declare(strict_types=1);

namespace EonX\EasyLogging\Tests\Stub\HttpKernel;
namespace EonX\EasyLogging\Tests\Stub\Kernel;

use EonX\EasyLogging\Bundle\EasyLoggingBundle;
use EonX\EasyUtils\Bundle\EasyUtilsBundle;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace EonX\EasyLogging\Tests\Unit;

use EonX\EasyLogging\Tests\Stub\HttpKernel\KernelStub;
use EonX\EasyLogging\Tests\Stub\Kernel\KernelStub;
use Symfony\Component\HttpKernel\KernelInterface;

abstract class AbstractSymfonyTestCase extends AbstractUnitTestCase
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
declare(strict_types=1);

namespace EonX\EasyNotification\Tests\Stub\HttpKernel;
namespace EonX\EasyNotification\Tests\Stub\Kernel;

use EonX\EasyNotification\Bundle\EasyNotificationBundle;
use Symfony\Component\Config\Loader\LoaderInterface;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace EonX\EasyNotification\Tests\Unit\Bundle;

use EonX\EasyNotification\Tests\Stub\HttpKernel\KernelStub;
use EonX\EasyNotification\Tests\Stub\Kernel\KernelStub;
use EonX\EasyNotification\Tests\Unit\AbstractUnitTestCase;
use Symfony\Component\HttpKernel\KernelInterface;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
declare(strict_types=1);

namespace EonX\EasyPagination\Tests\Stub\HttpKernel;
namespace EonX\EasyPagination\Tests\Stub\Kernel;

use EonX\EasyPagination\Bundle\EasyPaginationBundle;
use Symfony\Component\Config\Loader\LoaderInterface;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use EonX\EasyPagination\Provider\PaginationProviderInterface;
use EonX\EasyPagination\Resolver\DefaultPaginationResolver;
use EonX\EasyPagination\Resolver\FromHttpFoundationRequestPaginationResolver;
use EonX\EasyPagination\Tests\Stub\HttpKernel\KernelStub;
use EonX\EasyPagination\Tests\Stub\Kernel\KernelStub;
use EonX\EasyPagination\Tests\Unit\AbstractUnitTestCase;
use EonX\EasyPagination\ValueObject\PaginationConfigInterface;
use EonX\EasyPagination\ValueObject\PaginationInterface;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
declare(strict_types=1);

namespace EonX\EasyRandom\Tests\Stub\HttpKernel;
namespace EonX\EasyRandom\Tests\Stub\Kernel;

use EonX\EasyRandom\Bundle\EasyRandomBundle;
use Symfony\Component\Config\Loader\LoaderInterface;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace EonX\EasyRandom\Tests\Unit\Bundle;

use EonX\EasyRandom\Tests\Stub\HttpKernel\KernelStub;
use EonX\EasyRandom\Tests\Stub\Kernel\KernelStub;
use EonX\EasyRandom\Tests\Unit\AbstractUnitTestCase;
use Symfony\Component\HttpKernel\KernelInterface;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
declare(strict_types=1);

namespace EonX\EasyRequestId\Tests\Stub\HttpKernel;
namespace EonX\EasyRequestId\Tests\Stub\Kernel;

use EonX\EasyRandom\Bundle\EasyRandomBundle;
use EonX\EasyRequestId\Bundle\EasyRequestIdBundle;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace EonX\EasyRequestId\Tests\Unit\Bundle;

use EonX\EasyRequestId\Tests\Stub\HttpKernel\KernelStub;
use EonX\EasyRequestId\Tests\Stub\Kernel\KernelStub;
use EonX\EasyRequestId\Tests\Unit\AbstractUnitTestCase;
use Symfony\Component\HttpKernel\KernelInterface;

Expand Down
6 changes: 3 additions & 3 deletions quality/rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@
FinalizePublicClassConstantRector::class,
FirstClassCallableRector::class => [
'packages/EasyActivity/tests/Bridge/Symfony/Stubs/KernelStub.php',
'packages/EasyBatch/tests/Stub/HttpKernel/KernelStub.php',
'packages/EasyBugsnag/tests/Stub/HttpKernel/KernelStub.php',
'packages/EasyBatch/tests/Stub/Kernel/KernelStub.php',
'packages/EasyBugsnag/tests/Stub/Kernel/KernelStub.php',
'packages/EasyDoctrine/bundle/config/services.php',
'packages/EasyLock/bundle/CompilerPass/RegisterLockStoreServiceCompilerPass.php',
'packages/EasyLock/tests/Fixture/config/in_memory_connection.php',
'packages/EasyPagination/tests/Stub/HttpKernel/KernelStub.php',
'packages/EasyPagination/tests/Stub/Kernel/KernelStub.php',
],
JsonThrowOnErrorRector::class,
ReadOnlyPropertyRector::class,
Expand Down

0 comments on commit 3da4be9

Please sign in to comment.