1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-10 00:53:06 +00:00

Merge pull request #6982 from carusogabriel/phpstan

Fixes from PHPStan level 0
This commit is contained in:
Jordi Boggiano 2018-01-22 14:50:43 +01:00 committed by GitHub
commit ea9b7ecbb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 18 additions and 12 deletions

View file

@ -34,7 +34,7 @@ use Symfony\Component\Console\Output\OutputInterface;
*/
class DiagnoseCommand extends BaseCommand
{
/** @var RemoteFileSystem */
/** @var RemoteFilesystem */
protected $rfs;
/** @var ProcessExecutor */

View file

@ -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;
}