mirror of
https://github.com/composer/composer
synced 2025-05-09 16:42:57 +00:00
Fixes from PHPStan level 0
More fixes from PHPStan level 0
This commit is contained in:
parent
994bac0c15
commit
3d262bd637
13 changed files with 18 additions and 12 deletions
|
@ -34,7 +34,7 @@ use Symfony\Component\Console\Output\OutputInterface;
|
|||
*/
|
||||
class DiagnoseCommand extends BaseCommand
|
||||
{
|
||||
/** @var RemoteFileSystem */
|
||||
/** @var RemoteFilesystem */
|
||||
protected $rfs;
|
||||
|
||||
/** @var ProcessExecutor */
|
||||
|
|
|
@ -279,7 +279,7 @@ EOT
|
|||
$minimumStability = $input->getOption('stability') ?: null;
|
||||
$minimumStability = $io->askAndValidate(
|
||||
'Minimum Stability [<comment>'.$minimumStability.'</comment>]: ',
|
||||
function ($value) use ($self, $minimumStability) {
|
||||
function ($value) use ($minimumStability) {
|
||||
if (null === $value) {
|
||||
return $minimumStability;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue