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:
parent
65450f47cd
commit
658129d847
@ -34,5 +34,8 @@
|
||||
<referencedMethod name="Erusev\Parsedown\Parsing\Lines::trailingBlankLines" />
|
||||
</errorLevel>
|
||||
</PossiblyUnusedMethod>
|
||||
<PropertyNotSetInConstructor>
|
||||
<errorLevel type="suppress"><directory name="tests" /></errorLevel>
|
||||
</PropertyNotSetInConstructor>
|
||||
</issueHandlers>
|
||||
</psalm>
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user