Skip to content

Commit

Permalink
Remove useless project_directory variable
Browse files Browse the repository at this point in the history
  • Loading branch information
JorickPepin committed Feb 6, 2025
1 parent e241010 commit 9acc61b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion .castor/docker.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion .castor/init.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '';
Expand Down
1 change: 0 additions & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9acc61b

Please sign in to comment.