Skip to content

Commit 0fe99d6

Browse files
committed
Fix PHPStan errors
1 parent 18427d8 commit 0fe99d6

File tree

6 files changed

+18
-0
lines changed

6 files changed

+18
-0
lines changed

tests/Doubles/AnotherDefaultNameCommand.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ public static function getDefaultName(): string
1414
return 'another-default';
1515
}
1616

17+
/**
18+
* @throws void
19+
*/
1720
protected function execute(InputInterface $input, OutputInterface $output): int
1821
{
1922
return 0;

tests/Doubles/DefaultBothCommand.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ public static function getDefaultDescription(): string
1919
return 'Default description';
2020
}
2121

22+
/**
23+
* @throws void
24+
*/
2225
protected function execute(InputInterface $input, OutputInterface $output): int
2326
{
2427
return 0;

tests/Doubles/DefaultNameCommand.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ public static function getDefaultName(): string
1414
return 'default';
1515
}
1616

17+
/**
18+
* @throws void
19+
*/
1720
protected function execute(InputInterface $input, OutputInterface $output): int
1821
{
1922
return 0;

tests/Doubles/HiddenAndAliasedCommand.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ public static function getDefaultName(): string
1414
return '|i|am|hiding|aliasses';
1515
}
1616

17+
/**
18+
* @throws void
19+
*/
1720
protected function execute(InputInterface $input, OutputInterface $output): int
1821
{
1922
return 0;

tests/Doubles/SimpleCommand.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ public function __construct()
1414
parent::__construct();
1515
}
1616

17+
/**
18+
* @throws void
19+
*/
1720
protected function execute(InputInterface $input, OutputInterface $output): int
1821
{
1922
return 0;

tests/Doubles/UrlPrintingCommand.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ protected function configure(): void
3737
$this->addOption('option');
3838
}
3939

40+
/**
41+
* @throws void
42+
*/
4043
protected function execute(InputInterface $input, OutputInterface $output): int
4144
{
4245
$output->write((string) $this->request->getUrl());

0 commit comments

Comments
 (0)