From 6c7abd9725d7e90a200c3696ada1beb93c4f0bf2 Mon Sep 17 00:00:00 2001 From: myrmidex Date: Tue, 2 Jun 2026 18:30:18 +0000 Subject: [PATCH] Rename IndexController to SubjectController --- src/Controller/{IndexController.php => SubjectController.php} | 2 +- .../{IndexControllerTest.php => SubjectControllerTest.php} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename src/Controller/{IndexController.php => SubjectController.php} (86%) rename tests/Integration/Controller/{IndexControllerTest.php => SubjectControllerTest.php} (88%) diff --git a/src/Controller/IndexController.php b/src/Controller/SubjectController.php similarity index 86% rename from src/Controller/IndexController.php rename to src/Controller/SubjectController.php index 488ac14..8f155bb 100644 --- a/src/Controller/IndexController.php +++ b/src/Controller/SubjectController.php @@ -6,7 +6,7 @@ use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Routing\Attribute\Route; -class IndexController extends AbstractController +class SubjectController extends AbstractController { #[Route('/')] public function index(): Response diff --git a/tests/Integration/Controller/IndexControllerTest.php b/tests/Integration/Controller/SubjectControllerTest.php similarity index 88% rename from tests/Integration/Controller/IndexControllerTest.php rename to tests/Integration/Controller/SubjectControllerTest.php index dc47791..e05d145 100644 --- a/tests/Integration/Controller/IndexControllerTest.php +++ b/tests/Integration/Controller/SubjectControllerTest.php @@ -4,7 +4,7 @@ namespace App\Tests\Integration\Controller; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; -class IndexControllerTest extends WebTestCase +class SubjectControllerTest extends WebTestCase { public function testSomething(): void {