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