From 9b14567c57fcb0f466ab086ea9a69dd8e11fbbc8 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Wed, 28 Aug 2024 11:18:17 +0300 Subject: [PATCH] Fix commonmark test --- .gitignore | 1 + test/CommonMarkTestStrict.php | 2 +- test/CommonMarkTestWeak.php | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index d8a7996..47342dc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ composer.lock vendor/ +.phpunit.result.cache diff --git a/test/CommonMarkTestStrict.php b/test/CommonMarkTestStrict.php index 9a007e2..4aa26dc 100644 --- a/test/CommonMarkTestStrict.php +++ b/test/CommonMarkTestStrict.php @@ -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); diff --git a/test/CommonMarkTestWeak.php b/test/CommonMarkTestWeak.php index ef4081a..8d0bb4a 100644 --- a/test/CommonMarkTestWeak.php +++ b/test/CommonMarkTestWeak.php @@ -17,7 +17,7 @@ class CommonMarkTestWeak extends CommonMarkTestStrict { protected $textLevelElementRegex; - protected function setUp() + protected function setUp() : void { parent::setUp();