Skip to content

Commit 19de19c

Browse files
committed
WIP: point telemetry-bundle to dev-main
1 parent 3317ba9 commit 19de19c

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

composer.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"sylius/resource-bundle": "^1.6",
3333
"sylius/sylius": "~1.11.4 || ~1.12.0",
3434
"symfony/messenger": "^5.4 || ^6.0",
35-
"sylius/telemetry-bundle": "^1.0"
35+
"sylius/telemetry": "^1.0"
3636
},
3737
"require-dev": {
3838
"behat/behat": "^3.6",
@@ -103,5 +103,11 @@
103103
}
104104
},
105105
"prefer-stable": true,
106-
"minimum-stability": "dev"
106+
"minimum-stability": "dev",
107+
"repositories": [
108+
{
109+
"type": "vcs",
110+
"url": "https://github.com/Sylius/Telemetry"
111+
}
112+
]
107113
}

src/SyliusRefundPlugin.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,19 @@
1414
namespace Sylius\RefundPlugin;
1515

1616
use Sylius\Bundle\CoreBundle\Application\SyliusPluginTrait;
17+
use Symfony\Component\DependencyInjection\ContainerBuilder;
1718
use Symfony\Component\HttpKernel\Bundle\Bundle;
1819

20+
use Sylius\Telemetry\TelemetryCompilerPass;
21+
1922
final class SyliusRefundPlugin extends Bundle
2023
{
2124
use SyliusPluginTrait;
25+
26+
public function build(ContainerBuilder $container): void
27+
{
28+
parent::build($container);
29+
30+
$container->addCompilerPass(new TelemetryCompilerPass());
31+
}
2232
}

0 commit comments

Comments
 (0)