From 6b24c9845547ae3500f3519c5477247c5c8f0a1c Mon Sep 17 00:00:00 2001
From: Christoph Reiter <reiter.christoph@gmail.com>
Date: Thu, 29 Oct 2020 14:55:57 +0100
Subject: [PATCH] rename back, symfony uses App in various places

---
 bin/console      | 2 +-
 composer.json    | 4 ++--
 phpunit.xml.dist | 2 +-
 public/index.php | 2 +-
 src/Kernel.php   | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/bin/console b/bin/console
index 8ee6469..52fd398 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 e1a481f..427af8d 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 5a629f7..232e5f7 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 5c69a74..0b568a3 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 80e5d9a..265c358 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;
-- 
GitLab