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

+28 -28
View File
@@ -123,38 +123,38 @@ return [
],
],
// Top-level "Smart Links" menu: UTM Taxonomies above the Smart Links list. The two
// domains (Marketing Program and Smart Links) stay separate menu groups.
'mt3s.smart_links.menu.root' => [
'id' => 'mt3s_smart_links',
'route' => 'mt3s_smart_links_index',
'iconClass' => 'ri-links-line',
'access' => [
'mt3smarketingprogram:smart_links:viewown',
'mt3smarketingprogram:smart_links:viewother',
'mt3smarketingprogram:taxonomies:viewown',
'mt3smarketingprogram:taxonomies:viewother',
],
'priority' => 4,
'children' => [
'mt3s.smart_links.menu.taxonomies' => [
'id' => 'mt3s_smart_links_taxonomies',
'route' => 'mt3s_smart_links_taxonomies',
'iconClass' => 'ri-price-tag-3-line',
'access' => ['mt3smarketingprogram:taxonomies:viewown', 'mt3smarketingprogram:taxonomies:viewother'],
'priority' => 5,
],
'mt3s.smart_links.menu.smartlinks' => [
'id' => 'mt3s_smart_links_index',
// Top-level "Smart Links" menu: UTM Taxonomies above the Smart Links list. The two
// domains (Marketing Program and Smart Links) stay separate menu groups.
'mt3s.smart_links.menu.root' => [
'id' => 'mt3s_smart_links',
'route' => 'mt3s_smart_links_index',
'iconClass' => 'ri-link',
'access' => ['mt3smarketingprogram:smart_links:viewown', 'mt3smarketingprogram:smart_links:viewother'],
'iconClass' => 'ri-links-line',
'access' => [
'mt3smarketingprogram:smart_links:viewown',
'mt3smarketingprogram:smart_links:viewother',
'mt3smarketingprogram:taxonomies:viewown',
'mt3smarketingprogram:taxonomies:viewother',
],
'priority' => 4,
'children' => [
'mt3s.smart_links.menu.taxonomies' => [
'id' => 'mt3s_smart_links_taxonomies',
'route' => 'mt3s_smart_links_taxonomies',
'iconClass' => 'ri-price-tag-3-line',
'access' => ['mt3smarketingprogram:taxonomies:viewown', 'mt3smarketingprogram:taxonomies:viewother'],
'priority' => 5,
],
'mt3s.smart_links.menu.smartlinks' => [
'id' => 'mt3s_smart_links_index',
'route' => 'mt3s_smart_links_index',
'iconClass' => 'ri-link',
'access' => ['mt3smarketingprogram:smart_links:viewown', 'mt3smarketingprogram:smart_links:viewother'],
'priority' => 4,
],
],
],
],
],
],
],
'services' => [
'integrations' => [
@@ -238,7 +238,7 @@ return [
// Read through UtmConfigurationProvider; the default stays empty, the catalog
// defaults are applied by UtmConfigurationNormalizer.
'mt3s_smart_links_utm_config' => [],
'mt3s_smart_links_config' => [
'mt3s_smart_links_config' => [
'short_link_domain' => '',
],
// Legacy keys of the earlier eras. Declared so the read fallbacks