Skip to content

Commit 7f97fd1

Browse files
authored
update phpstan dependencies (#196)
1 parent f9d3c88 commit 7f97fd1

4 files changed

Lines changed: 60 additions & 53 deletions

File tree

composer.lock

Lines changed: 54 additions & 53 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Cli/Command/DrupalCi/ListResults.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace mglaman\DrupalOrgCli\Command\DrupalCi;
44

55
use mglaman\DrupalOrgCli\Command\Command;
6+
use Symfony\Component\Console\Helper\QuestionHelper;
67
use Symfony\Component\Console\Helper\Table;
78
use Symfony\Component\Console\Input\ArgvInput;
89
use Symfony\Component\Console\Input\InputArgument;
@@ -75,6 +76,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
7576

7677
if ($jobRunning) {
7778
$helper = $this->getHelper('question');
79+
assert($helper instanceof QuestionHelper);
7880
$question = new ChoiceQuestion(
7981
"Test #{$jobRunning} is running, do you want to watch it? [Yes]",
8082
['Yes' => '', 'No' => ''],

src/Cli/Command/Project/Releases.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
namespace mglaman\DrupalOrgCli\Command\Project;
44

5+
use Symfony\Component\Console\Helper\QuestionHelper;
56
use Symfony\Component\Console\Helper\Table;
67
use Symfony\Component\Console\Input\ArgvInput;
78
use Symfony\Component\Console\Input\InputArgument;
@@ -74,6 +75,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
7475

7576
$release_versions['cancel'] = '';
7677
$helper = $this->getHelper('question');
78+
assert($helper instanceof QuestionHelper);
7779
$question = new ChoiceQuestion(
7880
"View release notes? [cancel]",
7981
$release_versions,

src/Cli/Command/TravisCi/ListBuilds.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
use GuzzleHttp\Client;
66
use mglaman\DrupalOrgCli\Command\Command;
7+
use Symfony\Component\Console\Helper\QuestionHelper;
78
use Symfony\Component\Console\Helper\Table;
89
use Symfony\Component\Console\Input\ArgvInput;
910
use Symfony\Component\Console\Input\InputArgument;
@@ -85,6 +86,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
8586

8687
if ($jobRunning) {
8788
$helper = $this->getHelper('question');
89+
assert($helper instanceof QuestionHelper);
8890
$question = new ChoiceQuestion(
8991
"Test #{$jobRunning} is running, do you want to watch it? [Yes]",
9092
['Yes', 'No'],

0 commit comments

Comments
 (0)