Fix commonmark test

This commit is contained in:
Pavel Djundik 2024-08-28 11:18:17 +03:00
parent c65c451606
commit 9b14567c57
3 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
composer.lock
vendor/
.phpunit.result.cache

View File

@ -13,7 +13,7 @@ class CommonMarkTestStrict extends TestCase
protected $parsedown;
protected function setUp()
protected function setUp() : void
{
$this->parsedown = new TestParsedown();
$this->parsedown->setUrlsLinked(false);

View File

@ -17,7 +17,7 @@ class CommonMarkTestWeak extends CommonMarkTestStrict
{
protected $textLevelElementRegex;
protected function setUp()
protected function setUp() : void
{
parent::setUp();