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