1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 08:32:56 +00:00

Upgrade php-cs-fixer to 3.x and fix CS

This commit is contained in:
Jordi Boggiano 2021-10-27 16:18:24 +02:00
parent c65d09dff7
commit 44b69ba77f
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC
30 changed files with 87 additions and 79 deletions

View file

@ -45,7 +45,7 @@ class ProcessExecutorMock extends ProcessExecutor
* @param array<string|array{cmd: string, return?: int, stdout?: string, stderr?: string, callback?: callable}> $expectations
* @param bool $strict set to true if you want to provide *all* expected commands, and not just a subset you are interested in testing
* @param array{return: int, stdout?: string, stderr?: string} $defaultHandler default command handler for undefined commands if not in strict mode
*
*
* @return void
*/
public function expects(array $expectations, $strict = false, array $defaultHandler = array('return' => 0, 'stdout' => '', 'stderr' => ''))
@ -100,7 +100,6 @@ class ProcessExecutorMock extends ProcessExecutor
}
/**
*
* @param string $command
* @param string $cwd
* @param bool $tty