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 1919 "sylius/resource-bundle" : " ^1.11" ,
2020 "sylius/sylius" : " ~1.13.0 || ~1.14.0" ,
2121 "symfony/mailer" : " ^5.4.21 || ^6.4" ,
22- "sylius/telemetry-bundle " : " ^1.0"
22+ "sylius/telemetry" : " ^1.0"
2323 },
2424 "require-dev" : {
2525 "behat/behat" : " ^3.6.1" ,
9696 " vendor/bin/ecs check src/ spec/ --fix"
9797 ]
9898 },
99- "prefer-stable" : true
99+ "prefer-stable" : true ,
100+ "repositories" : [
101+ {
102+ "type" : " vcs" ,
103+ "url" : " https://github.com/Sylius/Telemetry"
104+ }
105+ ]
100106}
Original file line number Diff line number Diff line change 1414namespace Sylius \PayPalPlugin ;
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 SyliusPayPalPlugin 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