Skip to content

Commit

Permalink
Merge branch '2.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed Jul 1, 2022
2 parents 99255d3 + 1703b74 commit c422fef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Composer/Test/ConfigTest.php
Expand Up @@ -409,7 +409,7 @@ public function testGetDefaultsToAnEmptyArray(): void
}
}

public function testMergesPluginConfig()
public function testMergesPluginConfig(): void
{
$config = new Config(false);
$config->merge(array('config' => array('allow-plugins' => array('some/plugin' => true))));
Expand All @@ -419,7 +419,7 @@ public function testMergesPluginConfig()
$this->assertEquals(array('some/plugin' => true, 'another/plugin' => true), $config->get('allow-plugins'));
}

public function testOverridesGlobalBooleanPluginsConfig()
public function testOverridesGlobalBooleanPluginsConfig(): void
{
$config = new Config(false);
$config->merge(array('config' => array('allow-plugins' => true)));
Expand All @@ -429,7 +429,7 @@ public function testOverridesGlobalBooleanPluginsConfig()
$this->assertEquals(array('another/plugin' => true), $config->get('allow-plugins'));
}

public function testAllowsAllPluginsFromLocalBoolean()
public function testAllowsAllPluginsFromLocalBoolean(): void
{
$config = new Config(false);
$config->merge(array('config' => array('allow-plugins' => array('some/plugin' => true))));
Expand Down

0 comments on commit c422fef

Please sign in to comment.