1
0
mirror of https://github.com/erusev/parsedown.git synced 2023-08-10 21:13:06 +03:00

Suppress instead of writing super verbose tests

This commit is contained in:
Aidan Woods 2019-02-11 00:10:58 +00:00
parent 65450f47cd
commit 658129d847
No known key found for this signature in database
GPG Key ID: 9A6A8EFAA512BBB9
3 changed files with 3 additions and 8 deletions

View File

@ -34,5 +34,8 @@
<referencedMethod name="Erusev\Parsedown\Parsing\Lines::trailingBlankLines" />
</errorLevel>
</PossiblyUnusedMethod>
<PropertyNotSetInConstructor>
<errorLevel type="suppress"><directory name="tests" /></errorLevel>
</PropertyNotSetInConstructor>
</issueHandlers>
</psalm>

View File

@ -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);
}

View File

@ -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);
}