Apply rector rules: symfony up to 54

This commit is contained in:
2024-04-04 23:30:25 +02:00
parent 1ee3b9e2f0
commit 579bd829f8
204 changed files with 974 additions and 2346 deletions

View File

@@ -31,6 +31,7 @@ use Symfony\Component\Yaml\Parser;
*/
class CreateFieldsOnGroupCommand extends Command
{
protected static $defaultDescription = 'Create custom fields from a yml file';
final public const ARG_DELETE = 'delete';
final public const ARG_PATH = 'path';
@@ -51,7 +52,6 @@ class CreateFieldsOnGroupCommand extends Command
protected function configure()
{
$this->setName('chill:custom_fields:populate_group')
->setDescription('Create custom fields from a yml file')
->addArgument(
self::ARG_PATH,
InputOption::VALUE_REQUIRED,
@@ -130,7 +130,7 @@ class CreateFieldsOnGroupCommand extends Command
$fields = $this->_addFields($customFieldsGroup, $fieldsInput, $output);
return 0;
return Command::SUCCESS;
}
private function _addFields(CustomFieldsGroup $group, $values, OutputInterface $output)