From d63c6c74338f79622900b6a61d0b065793cb77a1 Mon Sep 17 00:00:00 2001 From: othillo Date: Wed, 11 Mar 2020 10:50:02 +0100 Subject: [PATCH] PSR-4 --- composer.json | 8 ++++---- .../EventListener => }/JsonRequestTransformerListener.php | 0 .../JsonRequestTransformerListenerTest.php | 0 3 files changed, 4 insertions(+), 4 deletions(-) rename src/{Qandidate/Common/Symfony/HttpKernel/EventListener => }/JsonRequestTransformerListener.php (100%) rename test/{Qandidate/Common/Symfony/HttpKernel/EventListener => }/JsonRequestTransformerListenerTest.php (100%) diff --git a/composer.json b/composer.json index 3126fd3..9f24b6c 100644 --- a/composer.json +++ b/composer.json @@ -16,13 +16,13 @@ "symfony/http-kernel": "^4.4|^5.0" }, "autoload": { - "psr-0": { - "Qandidate\\Common\\Symfony\\HttpKernel\\EventListener": "src/" + "psr-4": { + "Qandidate\\Common\\Symfony\\HttpKernel\\EventListener\\": "src/" } }, "autoload-dev": { - "psr-0": { - "Qandidate\\Common\\Symfony\\HttpKernel\\EventListener": "test/" + "psr-4": { + "Qandidate\\Common\\Symfony\\HttpKernel\\EventListener\\": "test/" } }, "require-dev": { diff --git a/src/Qandidate/Common/Symfony/HttpKernel/EventListener/JsonRequestTransformerListener.php b/src/JsonRequestTransformerListener.php similarity index 100% rename from src/Qandidate/Common/Symfony/HttpKernel/EventListener/JsonRequestTransformerListener.php rename to src/JsonRequestTransformerListener.php diff --git a/test/Qandidate/Common/Symfony/HttpKernel/EventListener/JsonRequestTransformerListenerTest.php b/test/JsonRequestTransformerListenerTest.php similarity index 100% rename from test/Qandidate/Common/Symfony/HttpKernel/EventListener/JsonRequestTransformerListenerTest.php rename to test/JsonRequestTransformerListenerTest.php