mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-05 12:59:44 +00:00
Rector changes and immplementations of required methods
This commit is contained in:
@@ -19,6 +19,7 @@ use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Input\InputOption;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
||||
#[\Symfony\Component\Console\Attribute\AsCommand(name: 'chill:person:import-socialwork')]
|
||||
final class ImportSocialWorkMetadata extends Command
|
||||
{
|
||||
protected EntityManagerInterface $em;
|
||||
@@ -29,7 +30,7 @@ final class ImportSocialWorkMetadata extends Command
|
||||
parent::__construct('chill:person:import-socialwork');
|
||||
}
|
||||
|
||||
protected function configure()
|
||||
protected function configure(): void
|
||||
{
|
||||
$description = 'Imports a structured table containing social issues, social actions, objectives, results and evaluations.';
|
||||
$help = 'File to csv format, no headers, semi-colon as delimiter, datas sorted by alphabetical order, column after column.'.PHP_EOL
|
||||
@@ -38,7 +39,6 @@ final class ImportSocialWorkMetadata extends Command
|
||||
.'See social_work_metadata.csv as example.'.PHP_EOL;
|
||||
|
||||
$this
|
||||
->setName('chill:person:import-socialwork')
|
||||
->addOption('filepath', 'f', InputOption::VALUE_REQUIRED, 'The file to import.')
|
||||
->addOption('language', 'l', InputOption::VALUE_OPTIONAL, 'The default language')
|
||||
->setHelp($help);
|
||||
|
Reference in New Issue
Block a user