From 9acc61b12283e0b3fcc75a3afd5b271f645313c2 Mon Sep 17 00:00:00 2001 From: Jorick Pepin Date: Thu, 6 Feb 2025 17:34:12 +0100 Subject: [PATCH] Remove useless `project_directory` variable --- .castor/docker.php | 1 - .castor/init.php | 2 +- phpstan.neon | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.castor/docker.php b/.castor/docker.php index 1427c8d..8d162ee 100644 --- a/.castor/docker.php +++ b/.castor/docker.php @@ -307,7 +307,6 @@ function create_default_context(): Context 'project_name' => 'app', 'root_domain' => 'app.test', 'extra_domains' => [], - 'project_directory' => 'application', 'php_version' => '8.2', 'docker_compose_files' => [ 'docker-compose.yml', diff --git a/.castor/init.php b/.castor/init.php index bf8c8ea..db08bfc 100644 --- a/.castor/init.php +++ b/.castor/init.php @@ -34,7 +34,7 @@ function init(): void #[AsTask(description: 'Install Symfony')] function symfony(bool $webApp = false): void { - $base = rtrim(variable('root_dir') . '/' . variable('project_directory'), '/'); + $base = rtrim(variable('root_dir') . '/application'); $gitIgnore = $base . '/.gitignore'; $gitIgnoreContent = ''; diff --git a/phpstan.neon b/phpstan.neon index 8a68413..e6b75b4 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -21,7 +21,6 @@ parameters: project_name: string, root_domain: string, extra_domains: string[], - project_directory: string, php_version: string, docker_compose_files: string[], macos: bool,