Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
33 | 3 | public function register(ConfigurableEnvironmentInterface $environment) |
|
34 | { |
||
35 | 3 | $environment->addExtension(new AutolinkExtension()); |
|
36 | 3 | $environment->addExtension(new SmartPunctExtension()); |
|
37 | 3 | $environment->addExtension(new StrikethroughExtension()); |
|
38 | 3 | $environment->addExtension(new TableExtension()); |
|
39 | 3 | $environment->addExtension(new TaskListExtension()); |
|
40 | 3 | } |
|
41 | } |
||
42 |
If you suppress an error, we recommend checking for the error condition explicitly: