diff --git a/bin/console b/bin/console index 8ee64696535e4630b4c2f1f49dc65869a55804e3..52fd3989fb3516f2448b71a68761005fd8cd19ca 100755 --- a/bin/console +++ b/bin/console @@ -1,7 +1,7 @@ #!/usr/bin/env php <?php -use DBP\API\Server\Kernel; +use App\Kernel; use Symfony\Bundle\FrameworkBundle\Console\Application; use Symfony\Component\Console\Input\ArgvInput; use Symfony\Component\Debug\Debug; diff --git a/composer.json b/composer.json index e1a481f8f9174f7ded181d8106112f588873226e..427af8d71ad47a7cfef8962e5abcb88c9fda7be0 100644 --- a/composer.json +++ b/composer.json @@ -25,12 +25,12 @@ }, "autoload": { "psr-4": { - "DBP\\API\\Server\\": "src/" + "App\\": "src/" } }, "autoload-dev": { "psr-4": { - "DBP\\API\\Server\\Tests\\": "tests/" + "App\\Tests\\": "tests/" } }, "replace": { diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 5a629f7a4442abd507a3dd679c4f0ab28d6a880a..232e5f7108e8a1028f9c4ac47ee524f593bf10d1 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -10,7 +10,7 @@ <php> <ini name="error_reporting" value="-1" /> <server name="APP_ENV" value="test" force="true" /> - <server name="KERNEL_CLASS" value="DBP\API\Server\Kernel" /> + <server name="KERNEL_CLASS" value="App\Kernel" /> <server name="SHELL_VERBOSITY" value="-1" /> <server name="SYMFONY_PHPUNIT_REMOVE" value="" /> <server name="SYMFONY_PHPUNIT_VERSION" value="8" /> diff --git a/public/index.php b/public/index.php index 5c69a74b62377fa25d0e30657e85964c8b047e6c..0b568a31a1193b1b1687da9b4e10bb4dbe20a194 100644 --- a/public/index.php +++ b/public/index.php @@ -2,7 +2,7 @@ declare(strict_types=1); -use DBP\API\Server\Kernel; +use App\Kernel; use Symfony\Component\ErrorHandler\Debug; use Symfony\Component\HttpFoundation\Request; diff --git a/src/Kernel.php b/src/Kernel.php index 80e5d9a339dd72f45bdfb5d863eb76f09b35eb99..265c3589a945f6208ff465af84324511c72a2b1a 100644 --- a/src/Kernel.php +++ b/src/Kernel.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace DBP\API\Server; +namespace App; use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait; use Symfony\Component\Config\Loader\LoaderInterface;