Skip to content

Commit f767195

Browse files
committed
WIP: point telemetry-bundle to dev-main
1 parent cc03c5a commit f767195

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
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.9",
3333
"sylius/sylius": "~1.13.0 || ~1.14.0",
3434
"symfony/messenger": "^5.4.21 || ^6.4",
35-
"sylius/telemetry-bundle": "^1.0"
35+
"sylius/telemetry": "^1.0"
3636
},
3737
"require-dev": {
3838
"behat/behat": "^3.6.1",
@@ -99,5 +99,11 @@
9999
"require": "^5.4 || ^6.4"
100100
}
101101
},
102-
"prefer-stable": true
102+
"prefer-stable": true,
103+
"repositories": [
104+
{
105+
"type": "vcs",
106+
"url": "https://github.com/Sylius/Telemetry"
107+
}
108+
]
103109
}

src/SyliusRefundPlugin.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,16 @@
1414
namespace Sylius\RefundPlugin;
1515

1616
use Sylius\Bundle\CoreBundle\Application\SyliusPluginTrait;
17+
use Sylius\Telemetry\TelemetryCompilerPass;
18+
use Symfony\Component\DependencyInjection\ContainerBuilder;
1719
use Symfony\Component\HttpKernel\Bundle\Bundle;
18-
1920
final class SyliusRefundPlugin extends Bundle
2021
{
2122
use SyliusPluginTrait;
23+
24+
$container->addCompilerPass(new TelemetryCompilerPass());
25+
public function build(ContainerBuilder $container): void
26+
{
27+
parent::build($container);
28+
}
2229
}

0 commit comments

Comments
 (0)