mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Upgrade php-cs-fixer to 3.x and fix CS
This commit is contained in:
parent
c65d09dff7
commit
44b69ba77f
30 changed files with 87 additions and 79 deletions
|
@ -249,7 +249,7 @@ class PluginInstallerTest extends TestCase
|
|||
/**
|
||||
* @param string $newPluginApiVersion
|
||||
* @param CompletePackage[] $plugins
|
||||
*
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
private function setPluginApiVersionWithPlugins($newPluginApiVersion, array $plugins = array())
|
||||
|
@ -407,7 +407,7 @@ class PluginInstallerTest extends TestCase
|
|||
* @dataProvider invalidImplementationClassNames
|
||||
* @param callable $invalidImplementationClassNames
|
||||
* @param string $expect
|
||||
*
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testQueryingWithInvalidCapabilityClassNameThrows($invalidImplementationClassNames, $expect = 'UnexpectedValueException')
|
||||
|
@ -441,7 +441,7 @@ class PluginInstallerTest extends TestCase
|
|||
->will($this->returnCallback(function () {
|
||||
return array();
|
||||
}));
|
||||
|
||||
|
||||
/** @phpstan-ignore-next-line */
|
||||
$this->assertNull($this->pm->getPluginCapability($plugin, $capabilityApi));
|
||||
}
|
||||
|
@ -449,7 +449,7 @@ class PluginInstallerTest extends TestCase
|
|||
/**
|
||||
* @dataProvider nonExistingOrInvalidImplementationClassTypes
|
||||
* @param callable $wrongImplementationClassTypes
|
||||
*
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testQueryingWithNonExistingOrWrongCapabilityClassTypesThrows($wrongImplementationClassTypes)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue