File tree Expand file tree Collapse file tree 2 files changed +16
-3
lines changed
Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 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" ,
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}
Original file line number Diff line number Diff line change 1414namespace Sylius \RefundPlugin ;
1515
1616use Sylius \Bundle \CoreBundle \Application \SyliusPluginTrait ;
17+ use Sylius \Telemetry \TelemetryCompilerPass ;
18+ use Symfony \Component \DependencyInjection \ContainerBuilder ;
1719use Symfony \Component \HttpKernel \Bundle \Bundle ;
18-
1920final 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}
You can’t perform that action at this time.
0 commit comments