diff --git a/psalm.xml.dist b/psalm.xml.dist
index 189a78ebb..40301ff9b 100644
--- a/psalm.xml.dist
+++ b/psalm.xml.dist
@@ -59,12 +59,6 @@
-
-
-
-
-
-
diff --git a/tests/ComposerLockTest.php b/tests/ComposerLockTest.php
index 2da92dc1f..7326ffd27 100644
--- a/tests/ComposerLockTest.php
+++ b/tests/ComposerLockTest.php
@@ -59,10 +59,9 @@ class ComposerLockTest extends TestCase
'packages-dev' => [],
]));
- $this->assertArraySubset(
- ['vendor/package' => 'Vendor\Package\PluginClass'],
- $lock->getPlugins()
- );
+ $plugins = $lock->getPlugins();
+ $this->assertArrayHasKey('vendor/package', $plugins);
+ $this->assertEquals('Vendor\Package\PluginClass', $plugins['vendor/package']);
}
/**
@@ -85,10 +84,10 @@ class ComposerLockTest extends TestCase
],
],
]));
- $this->assertArraySubset(
- ['vendor/package' => 'Vendor\Package\PluginClass'],
- $lock->getPlugins()
- );
+
+ $plugins = $lock->getPlugins();
+ $this->assertArrayHasKey('vendor/package', $plugins);
+ $this->assertEquals('Vendor\Package\PluginClass', $plugins['vendor/package']);
}
/**