style: fix indentation, alignment, and docblock annotations

- Correct getChoices() docblock to reflect translated label => enum
  backing value order instead of value => label
- Re-indent Smart Links menu config to match actual array nesting
- Align assignment operators in RefreshStatsCommand
- Add missing newline at end of RefreshStatsCommand.php
This commit is contained in:
Alexandre Gain committed 2026-11-21 11:23:33 +01:00
1 parent 07773acb8d
commit b138056e43
90 files changed
+622 -272

No files matched your search

+2 -1
View File
@@ -6,6 +6,7 @@ namespace MauticPlugin\MT3SMarketingProgramBundle\Migrations;
use Doctrine\DBAL\Schema\Schema;
use Mautic\IntegrationsBundle\Migration\AbstractMigration;
/**
* Since 0.10.1 objectives have a priority, a whole number from 1 (highest) to 99 (lowest). Adds
* initiative_objectives.priority for installs created before 0.10.1: NOT NULL with the default 1, and the
@@ -29,7 +30,7 @@ class Version_0_10_1 extends AbstractMigration
if (!$table->hasColumn('priority')) {
$this->addSql(sprintf(
"ALTER TABLE %s ADD priority INT NOT NULL DEFAULT %d",
'ALTER TABLE %s ADD priority INT NOT NULL DEFAULT %d',
$objectives,
1
));