From 1a4ff13675fb92135ab1ee8f8840fbca58394528 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 4 Sep 2024 20:05:14 +0100 Subject: [PATCH] Simplify the directory structure --- app/config/sculpin_kernel.yml | 4 ++-- .../{TwigExtension => }/ExperienceTwigExtension.php | 2 +- .../{TwigExtension => }/PresentationTwigExtension.php | 2 +- .../PresentationTwigExtensionTest.php | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) rename src/Experience/{TwigExtension => }/ExperienceTwigExtension.php (93%) rename src/Presentations/{TwigExtension => }/PresentationTwigExtension.php (95%) rename tests/{TwigExtension => Presentations}/PresentationTwigExtensionTest.php (97%) diff --git a/app/config/sculpin_kernel.yml b/app/config/sculpin_kernel.yml index 37fc63d4..8e81a6ee 100644 --- a/app/config/sculpin_kernel.yml +++ b/app/config/sculpin_kernel.yml @@ -12,9 +12,9 @@ sculpin_content_types: permalink: /presentations/:basename/ services: - App\Experience\TwigExtension\ExperienceTwigExtension: + App\Experience\ExperienceTwigExtension: tags: - {name: twig.extension} - App\Presentations\TwigExtension\PresentationTwigExtension: + App\Presentations\PresentationTwigExtension: tags: - {name: twig.extension} diff --git a/src/Experience/TwigExtension/ExperienceTwigExtension.php b/src/Experience/ExperienceTwigExtension.php similarity index 93% rename from src/Experience/TwigExtension/ExperienceTwigExtension.php rename to src/Experience/ExperienceTwigExtension.php index 56886e56..48eb1c3d 100644 --- a/src/Experience/TwigExtension/ExperienceTwigExtension.php +++ b/src/Experience/ExperienceTwigExtension.php @@ -1,6 +1,6 @@