mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
DX: fix cs
This commit is contained in:
parent
906d1fdab5
commit
e6163b2bc3
@ -120,7 +120,6 @@ class ListActivitiesByAccompanyingPeriodContext implements
|
||||
|
||||
public function contextGenerationDataDenormalize(DocGeneratorTemplate $template, $entity, array $data): array
|
||||
{
|
||||
|
||||
$denormalized = $this->accompanyingPeriodContext->contextGenerationDataDenormalize($template, $entity, $data);
|
||||
|
||||
foreach (['myActivitiesOnly', 'myWorksOnly'] as $k) {
|
||||
|
@ -107,5 +107,4 @@ class AddressToReferenceMatcherController
|
||||
true
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -70,7 +70,8 @@ class ScopePickerType extends AbstractType
|
||||
static function (Scope $s) {
|
||||
return $s->isActive();
|
||||
}
|
||||
));
|
||||
)
|
||||
);
|
||||
|
||||
if (0 === count($items)) {
|
||||
throw new RuntimeException('no scopes are reachable. This form should not be shown to user');
|
||||
|
@ -247,7 +247,7 @@ class WorkflowStepType extends AbstractType
|
||||
function ($step, ExecutionContextInterface $context, $payload) {
|
||||
$form = $context->getObject();
|
||||
|
||||
foreach($form->get('future_dest_users')->getData() as $u) {
|
||||
foreach ($form->get('future_dest_users')->getData() as $u) {
|
||||
if (in_array($u, $form->get('future_cc_users')->getData(), true)) {
|
||||
$context
|
||||
->buildViolation('workflow.The user in cc cannot be a dest user in the same workflow step')
|
||||
|
@ -69,7 +69,6 @@ final class Version20230306145728 extends AbstractMigration
|
||||
$this->addSql('CREATE INDEX IDX_165051F63174800F ON chill_main_address (createdBy_id)');
|
||||
$this->addSql('CREATE INDEX IDX_165051F665FF1AEC ON chill_main_address (updatedBy_id)');
|
||||
$this->addSql('COMMENT ON COLUMN chill_main_address_reference.point IS \'(DC2Type:point)\'');
|
||||
|
||||
}
|
||||
|
||||
public function down(Schema $schema): void
|
||||
|
@ -685,6 +685,7 @@ final class SingleTaskController extends AbstractController
|
||||
|
||||
/**
|
||||
* Creates a form to delete a Task entity by id.
|
||||
* @param mixed $id
|
||||
*/
|
||||
private function createDeleteForm($id): FormInterface
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user