1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 12:24:49 +01:00

Ignore test issues bypassed by bypass-finals

This commit is contained in:
Daniil Gentili 2024-01-15 13:47:06 +01:00
parent 556d24ec45
commit a032c6e1cd
3 changed files with 16 additions and 15 deletions

View File

@ -636,16 +636,17 @@
</PossiblyUnusedMethod>
</file>
<file src="tests/Config/PluginListTest.php">
<InvalidPropertyAssignmentValue>
<code>Mockery::mock(ConfigFile::class)</code>
</InvalidPropertyAssignmentValue>
<MixedMethodCall>
<code>addPlugin</code>
<code>expects</code>
<code>expects</code>
<code>removePlugin</code>
</MixedMethodCall>
<NoValue>
<InvalidArgument>
<code><![CDATA[$this->composer_lock]]></code>
<code><![CDATA[$this->composer_lock]]></code>
<code><![CDATA[$this->composer_lock]]></code>
<code><![CDATA[$this->composer_lock]]></code>
<code><![CDATA[$this->composer_lock]]></code>
<code><![CDATA[$this->composer_lock]]></code>
<code><![CDATA[$this->composer_lock]]></code>
<code><![CDATA[$this->composer_lock]]></code>
<code><![CDATA[$this->composer_lock]]></code>
<code><![CDATA[$this->composer_lock]]></code>
<code><![CDATA[$this->config_file]]></code>
<code><![CDATA[$this->config_file]]></code>
<code><![CDATA[$this->config_file]]></code>
@ -655,7 +656,7 @@
<code><![CDATA[$this->config_file]]></code>
<code><![CDATA[$this->config_file]]></code>
<code><![CDATA[$this->config_file]]></code>
</NoValue>
</InvalidArgument>
</file>
<file src="tests/TestConfig.php">
<InvalidExtendClass>

View File

@ -20,11 +20,11 @@ class PluginListTest extends TestCase
{
use MockeryPHPUnitIntegration;
private ConfigFile&MockInterface $config_file;
private MockInterface $config_file;
private Config&MockInterface $config;
private MockInterface $config;
private ComposerLock&MockInterface $composer_lock;
private MockInterface $composer_lock;
public function setUp(): void
{

View File

@ -23,7 +23,7 @@ class ErrorBaselineTest extends TestCase
{
use MockeryPHPUnitIntegration;
private FileProvider&MockInterface $fileProvider;
private MockInterface $fileProvider;
public function setUp(): void
{