src/CoreBundle/Migrations/Schema/V200/Version20250106152601.php
Showing 2 of 2 total issues
Method up
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function up(Schema $schema): void { $kernel = $this->container->get('kernel'); $baseTranslationPath = $kernel->getProjectDir().'/var/translations/messages.';
Function up
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. Open
Open
public function up(Schema $schema): void { $kernel = $this->container->get('kernel'); $baseTranslationPath = $kernel->getProjectDir().'/var/translations/messages.';
- Read upRead up