Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions extension.neon
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ parameters:
- stubs/Symfony/Bundle/FrameworkBundle/Test/KernelTestCase.stub
- stubs/Symfony/Bundle/FrameworkBundle/Test/TestContainer.stub
- stubs/Symfony/Component/Console/Command.stub
- stubs/Symfony/Component/Console/Exception/ExceptionInterface.stub
- stubs/Symfony/Component/Console/Helper/HelperInterface.stub
- stubs/Symfony/Component/Console/Input/InputInterface.stub
- stubs/Symfony/Component/Console/Output/OutputInterface.stub
- stubs/Symfony/Component/Form/ChoiceList/Loader/ChoiceLoaderInterface.stub
- stubs/Symfony/Component/DependencyInjection/ContainerBuilder.stub
Expand Down
9 changes: 9 additions & 0 deletions stubs/Symfony/Component/Console/Command.stub
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,19 @@

namespace Symfony\Component\Console\Command;

use Symfony\Component\Console\Exception\ExceptionInterface;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;

class Command
{
/**
* @return \Symfony\Component\Console\Helper\HelperInterface
*/
public function getHelper(string $name);

/**
* @throws ExceptionInterface
*/
public function run(InputInterface $input, OutputInterface $output): int;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

namespace Symfony\Component\Console\Exception;

interface ExceptionInterface extends \Throwable
{
}
7 changes: 7 additions & 0 deletions stubs/Symfony/Component/Console/Input/InputInterface.stub
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

namespace Symfony\Component\Console\Input;

interface InputInterface
{
}