Skip to content

Conversation

@christianbeeznest
Copy link
Contributor

No description provided.

return $this->container->getParameter('kernel.project_dir');
}

private function updateEnvFiles(string $rootPath, array $envSettings): void

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Identical blocks of code found in 2 locations. Consider refactoring.

return $this->container->getParameter('kernel.project_dir');
}

private function updateEnvFiles(string $rootPath, array $envSettings): void

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Method updateEnvFiles has 34 lines of code (exceeds 25 allowed). Consider refactoring.

return $this->container->getParameter('kernel.project_dir');
}

private function updateEnvFiles(string $rootPath, array $envSettings): void

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Function updateEnvFiles has a Cognitive Complexity of 27 (exceeds 5 allowed). Consider refactoring.

@qlty-cloud-legacy
Copy link

Code Climate has analyzed commit 0cd756c and detected 8 issues on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 2
Duplication 6

View more on Code Climate.

@ywarnier ywarnier merged commit f6bccc0 into chamilo:master Jul 10, 2025
1 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants