Skip to content

Commit

Permalink
Ignore test issues bypassed by bypass-finals
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Jan 15, 2024
1 parent 556d24e commit a032c6e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 15 deletions.
23 changes: 12 additions & 11 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand Down
6 changes: 3 additions & 3 deletions tests/Config/PluginListTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
2 changes: 1 addition & 1 deletion tests/ErrorBaselineTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class ErrorBaselineTest extends TestCase
{
use MockeryPHPUnitIntegration;

private FileProvider&MockInterface $fileProvider;
private MockInterface $fileProvider;

public function setUp(): void
{
Expand Down

0 comments on commit a032c6e

Please sign in to comment.