Skip to content

Commit

Permalink
Updated twig version to 3.11.0. Renamed Twig extension service name.
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentmuller committed Aug 13, 2024
1 parent 1d5a150 commit 33f11cd
Show file tree
Hide file tree
Showing 4 changed files with 108 additions and 105 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## [Unreleased]

- Updated `twig` version to 3.11.0.
- Renamed Twig extension service name.
- Updated `CHANGELOG.MD` file.
- Updated `codecov-action` version to 4.5.0.

Expand Down
207 changes: 104 additions & 103 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/HighchartsBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class HighchartsBundle extends AbstractBundle
public function loadExtension(array $config, ContainerConfigurator $container, ContainerBuilder $builder): void
{
$container->services()
->set('highcharts.twig_extension.class', HighchartsExtension::class)
->set('twig.extension.highcharts', HighchartsExtension::class)
->tag('twig.extension');
}
}
2 changes: 1 addition & 1 deletion tests/Twig/TwigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function testTwigMembers(): void
$extension = new HighchartsExtension();
self::assertCount(0, $extension->getFilters());
self::assertCount(0, $extension->getNodeVisitors());
self::assertCount(0, $extension->getOperators());
self::assertCount(2, $extension->getOperators());
self::assertCount(0, $extension->getTests());
self::assertCount(0, $extension->getTokenParsers());

Expand Down

0 comments on commit 33f11cd

Please sign in to comment.