Conditions | 1 |
Paths | 1 |
Total Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
25 | public function __construct() |
||
26 | { |
||
27 | @trigger_error(sprintf('league/commonmark-ext-strikethrough is deprecated; use %s from league/commonmark 1.3+ instead', CoreExtension::class), E_USER_DEPRECATED); |
||
|
|||
28 | $this->coreExtension = new CoreExtension(); |
||
29 | } |
||
30 | public function register(ConfigurableEnvironmentInterface $environment) |
||
35 |
If you suppress an error, we recommend checking for the error condition explicitly: