cs: Enable a couple of risky rules.

This commit is contained in:
Pol Dellaiera
2021-11-24 12:38:18 +01:00
parent acc4647346
commit f531cdc0ec
51 changed files with 130 additions and 132 deletions

View File

@@ -197,7 +197,7 @@ class CreateFieldsOnGroupCommand extends Command
$em->persist($cf);
$output->writeln('<info>Adding Custom Field of type '
. $cf->getType() . "\t with slug " . $cf->getSlug() .
"\t and names : " . implode($names, ', ') . '</info>');
"\t and names : " . implode(', ', $names) . '</info>');
} else {
throw new RuntimeException('Error in field ' . $slug);
}