From fb0f9c384bea75128600821dedd21bbfba07c6d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christopher=20M=C3=BChl?= Date: Wed, 8 Apr 2026 18:27:07 +0200 Subject: [PATCH] refactor: move PHP source into src/ directory Co-Authored-By: Claude Opus 4.6 --- Resources/config/services.yaml | 2 +- composer.json | 2 +- {Controller => src/Controller}/HeatmapController.php | 0 .../DependencyInjection}/KimaiHeatmapExtension.php | 0 .../EventSubscriber}/DashboardSubscriber.php | 0 KimaiHeatmapBundle.php => src/KimaiHeatmapBundle.php | 0 {Service => src/Service}/HeatmapService.php | 0 {Widget => src/Widget}/HeatmapWidget.php | 0 8 files changed, 2 insertions(+), 2 deletions(-) rename {Controller => src/Controller}/HeatmapController.php (100%) rename {DependencyInjection => src/DependencyInjection}/KimaiHeatmapExtension.php (100%) rename {EventSubscriber => src/EventSubscriber}/DashboardSubscriber.php (100%) rename KimaiHeatmapBundle.php => src/KimaiHeatmapBundle.php (100%) rename {Service => src/Service}/HeatmapService.php (100%) rename {Widget => src/Widget}/HeatmapWidget.php (100%) diff --git a/Resources/config/services.yaml b/Resources/config/services.yaml index c7e960e..cf385e4 100644 --- a/Resources/config/services.yaml +++ b/Resources/config/services.yaml @@ -4,7 +4,7 @@ services: autoconfigure: true KimaiPlugin\KimaiHeatmapBundle\: - resource: '../../{Controller,Service,Widget,EventSubscriber}/' + resource: '../../src/{Controller,Service,Widget,EventSubscriber}/' KimaiPlugin\KimaiHeatmapBundle\KimaiHeatmapBundle: tags: ['App\Plugin\PluginInterface'] diff --git a/composer.json b/composer.json index 1b93d7b..277041d 100644 --- a/composer.json +++ b/composer.json @@ -5,7 +5,7 @@ "license": "MIT", "autoload": { "psr-4": { - "KimaiPlugin\\KimaiHeatmapBundle\\": "" + "KimaiPlugin\\KimaiHeatmapBundle\\": "src/" } }, "extra": { diff --git a/Controller/HeatmapController.php b/src/Controller/HeatmapController.php similarity index 100% rename from Controller/HeatmapController.php rename to src/Controller/HeatmapController.php diff --git a/DependencyInjection/KimaiHeatmapExtension.php b/src/DependencyInjection/KimaiHeatmapExtension.php similarity index 100% rename from DependencyInjection/KimaiHeatmapExtension.php rename to src/DependencyInjection/KimaiHeatmapExtension.php diff --git a/EventSubscriber/DashboardSubscriber.php b/src/EventSubscriber/DashboardSubscriber.php similarity index 100% rename from EventSubscriber/DashboardSubscriber.php rename to src/EventSubscriber/DashboardSubscriber.php diff --git a/KimaiHeatmapBundle.php b/src/KimaiHeatmapBundle.php similarity index 100% rename from KimaiHeatmapBundle.php rename to src/KimaiHeatmapBundle.php diff --git a/Service/HeatmapService.php b/src/Service/HeatmapService.php similarity index 100% rename from Service/HeatmapService.php rename to src/Service/HeatmapService.php diff --git a/Widget/HeatmapWidget.php b/src/Widget/HeatmapWidget.php similarity index 100% rename from Widget/HeatmapWidget.php rename to src/Widget/HeatmapWidget.php