Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Tests | 15 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
19 | 8 | public function getFilters(): array |
|
20 | { |
||
21 | 8 | return [ |
|
22 | 8 | new TwigFilter( |
|
23 | 8 | 'html_attributes', |
|
24 | 8 | [HtmlAttributesRuntime::class, '__invoke'], |
|
25 | 8 | [ |
|
26 | 8 | 'is_safe' => ['html'], |
|
27 | 8 | ] |
|
28 | 8 | ), |
|
29 | 8 | new TwigFilter( |
|
30 | 8 | 'html_compress', |
|
31 | 8 | [HtmlCompressRuntime::class, '__invoke'], |
|
32 | 8 | [ |
|
33 | 8 | 'is_safe' => ['html'], |
|
34 | 8 | 'needs_environment' => true, |
|
35 | 8 | ] |
|
40 |