From a3a094f26fc80f5b739bee4e38db82db52b18c29 Mon Sep 17 00:00:00 2001 From: Sean Fisher Date: Wed, 20 Mar 2024 12:05:58 -0400 Subject: [PATCH] Fix scaffolder stub files for PSR4 (#334) * Fixing scaffolder configuration * One more psrClassName --- .scaffolder/plugin-feature/config.yml | 2 +- .scaffolder/plugin-feature/test.php.hbs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.scaffolder/plugin-feature/config.yml b/.scaffolder/plugin-feature/config.yml index 4f2ea00e..d155b59e 100644 --- a/.scaffolder/plugin-feature/config.yml +++ b/.scaffolder/plugin-feature/config.yml @@ -14,4 +14,4 @@ files: destination: src/features/{{ wpClassFilename inputs.featureName }} - source: test.php.hbs if: "{{ inputs.tests }}" - destination: tests/Features/{{ psrClassFilename inputs.featureName suffix="Test.php" }} + destination: tests/Features/{{ psr4ClassFilename inputs.featureName suffix="Test.php" }} diff --git a/.scaffolder/plugin-feature/test.php.hbs b/.scaffolder/plugin-feature/test.php.hbs index 01e45007..1bce4f74 100644 --- a/.scaffolder/plugin-feature/test.php.hbs +++ b/.scaffolder/plugin-feature/test.php.hbs @@ -1,6 +1,6 @@