From 658129d8474b940e036cd0bc4c279031b1714b44 Mon Sep 17 00:00:00 2001 From: Aidan Woods Date: Mon, 11 Feb 2019 00:10:58 +0000 Subject: [PATCH] Suppress instead of writing super verbose tests --- psalm.xml | 3 +++ tests/CommonMarkTestStrict.php | 4 ---- tests/ParsedownTest.php | 4 ---- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/psalm.xml b/psalm.xml index e7c5ea3..d3f2f25 100644 --- a/psalm.xml +++ b/psalm.xml @@ -34,5 +34,8 @@ + + + diff --git a/tests/CommonMarkTestStrict.php b/tests/CommonMarkTestStrict.php index f83a058..13cace0 100644 --- a/tests/CommonMarkTestStrict.php +++ b/tests/CommonMarkTestStrict.php @@ -35,10 +35,6 @@ class CommonMarkTestStrict extends TestCase InlineTypes::initial()->removing([Url::class]), ])); - $this->backupGlobals = false; - $this->backupStaticAttributes = false; - $this->runTestInSeparateProcess = false; - parent::__construct($name, $data, $dataName); } diff --git a/tests/ParsedownTest.php b/tests/ParsedownTest.php index 03bf8aa..053521c 100755 --- a/tests/ParsedownTest.php +++ b/tests/ParsedownTest.php @@ -24,10 +24,6 @@ class ParsedownTest extends TestCase { $this->dirs = $this->initDirs(); - $this->backupGlobals = false; - $this->backupStaticAttributes = false; - $this->runTestInSeparateProcess = false; - parent::__construct($name, $data, $dataName); }