Skip to content

Commit b135f22

Browse files
committed
Merge branch '6.1' into 6.2
* 6.1: [Serializer] Added missing __call to TraceableNormalizer and TraceableSerializer update docblock to not expose the internal class [FrameworkBundle][TwigBundle] Fix registering html-sanitizer services [DependencyInjection] remove static cache from `ServiceSubscriberTrait`
2 parents b44c847 + f6319d7 commit b135f22

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Resources/config/html_sanitizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
->set('html_sanitizer.sanitizer.default', HtmlSanitizer::class)
2424
->args([service('html_sanitizer.config.default')])
25-
->tag('html_sanitizer', ['name' => 'default'])
25+
->tag('html_sanitizer', ['sanitizer' => 'default'])
2626

2727
->alias('html_sanitizer', 'html_sanitizer.sanitizer.default')
2828
->alias(HtmlSanitizerInterface::class, 'html_sanitizer')

Test/KernelTestCase.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
namespace Symfony\Bundle\FrameworkBundle\Test;
1313

1414
use PHPUnit\Framework\TestCase;
15+
use Symfony\Component\DependencyInjection\Container;
1516
use Symfony\Component\DependencyInjection\ContainerInterface;
1617
use Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException;
1718
use Symfony\Component\HttpKernel\KernelInterface;
@@ -83,7 +84,7 @@ protected static function bootKernel(array $options = []): KernelInterface
8384
*
8485
* Using this method is the best way to get a container from your test code.
8586
*
86-
* @return TestContainer
87+
* @return Container
8788
*/
8889
protected static function getContainer(): ContainerInterface
8990
{

0 commit comments

Comments
 (0)