From 973e44f9014c3be6d82e059f9a44e043dd8ea3e9 Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Sat, 8 Jul 2023 02:22:56 +0300 Subject: [PATCH] Fixed target namespace when creating files with Laravel Idea --- ide.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ide.json b/ide.json index 0f8e9245..db8240fd 100644 --- a/ide.json +++ b/ide.json @@ -41,7 +41,7 @@ "classSuffix": "Data", "files": [ { - "directory": "/app/Data", + "appNamespace": "Data", "name": "${INPUT_CLASS|className|upperCamelCase}.php", "template": { "type": "stub", @@ -61,7 +61,7 @@ "classSuffix": "Cast", "files": [ { - "directory": "/app/Data/Casts", + "appNamespace": "Data\\Casts", "name": "${INPUT_CLASS|className|upperCamelCase}.php", "template": { "type": "stub", @@ -81,7 +81,7 @@ "classSuffix": "Transformer", "files": [ { - "directory": "/app/Data/Transformers", + "appNamespace": "Data\\Transformers", "name": "${INPUT_CLASS|className|upperCamelCase}.php", "template": { "type": "stub", @@ -101,7 +101,7 @@ "classSuffix": "Rule", "files": [ { - "directory": "/app/Data/Rules", + "appNamespace": "Data\\Rules", "name": "${INPUT_CLASS|className|upperCamelCase}.php", "template": { "type": "stub",