mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
DX: fix cs
This commit is contained in:
@@ -343,7 +343,7 @@ final class ImportPeopleFromCSVCommand extends Command
|
||||
$person->setMobilenumber($value);
|
||||
|
||||
break;
|
||||
// we just keep the column number for those data
|
||||
// we just keep the column number for those data
|
||||
case 'postalcode':
|
||||
$postalCodeValue = $value;
|
||||
|
||||
|
@@ -129,7 +129,7 @@ class Configuration implements ConfigurationInterface
|
||||
->defaultValue(false)
|
||||
->end()
|
||||
->end() // children of 'root', parent = root
|
||||
;
|
||||
;
|
||||
|
||||
return $treeBuilder;
|
||||
}
|
||||
|
@@ -746,7 +746,7 @@ class Person implements HasCenterInterface, TrackCreationInterface, TrackUpdateI
|
||||
foreach ($this->getAccompanyingPeriodParticipations()
|
||||
->map(fn (AccompanyingPeriodParticipation $app) => $app->getAccompanyingPeriod())
|
||||
as $period
|
||||
) {
|
||||
) {
|
||||
if (!$result->contains($period)) {
|
||||
$result->add($period);
|
||||
}
|
||||
|
@@ -65,9 +65,9 @@ class AccompanyingPeriodType extends AbstractType
|
||||
$accompanyingPeriod = $options['data'];
|
||||
|
||||
if (
|
||||
('close' === $options['period_action'])
|
||||
|| ('create' === $options['period_action'])
|
||||
|| ('update' === $options['period_action'] && !$accompanyingPeriod->isOpen())
|
||||
('close' === $options['period_action'])
|
||||
|| ('create' === $options['period_action'])
|
||||
|| ('update' === $options['period_action'] && !$accompanyingPeriod->isOpen())
|
||||
) {
|
||||
$builder->add('closingDate', DateType::class, [
|
||||
'required' => true,
|
||||
|
@@ -114,7 +114,7 @@ final class AccompanyingPeriodSocialIssueConsistencyEntityListenerTest extends T
|
||||
|
||||
protected function generateClass(AccompanyingPeriod $period, Collection $socialIssues): AccompanyingPeriodLinkedWithSocialIssuesEntityInterface
|
||||
{
|
||||
return new class($period, $socialIssues) implements AccompanyingPeriodLinkedWithSocialIssuesEntityInterface {
|
||||
return new class ($period, $socialIssues) implements AccompanyingPeriodLinkedWithSocialIssuesEntityInterface {
|
||||
public Collection $socialIssues;
|
||||
|
||||
public AccompanyingPeriod $period;
|
||||
|
Reference in New Issue
Block a user