1 | <?php |
||
2 | |||
3 | namespace Dtc\GridBundle\Command; |
||
4 | |||
5 | use Dtc\GridBundle\Manager\GridSourceManager; |
||
6 | use Symfony\Component\Console\Command\Command; |
||
0 ignored issues
–
show
|
|||
7 | use Symfony\Component\Console\Input\InputInterface; |
||
0 ignored issues
–
show
The type
Symfony\Component\Console\Input\InputInterface was not found. Maybe you did not declare it correctly or list all dependencies?
The issue could also be caused by a filter entry in the build configuration.
If the path has been excluded in your configuration, e.g. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
8 | use Symfony\Component\Console\Output\OutputInterface; |
||
0 ignored issues
–
show
The type
Symfony\Component\Console\Output\OutputInterface was not found. Maybe you did not declare it correctly or list all dependencies?
The issue could also be caused by a filter entry in the build configuration.
If the path has been excluded in your configuration, e.g. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
9 | |||
10 | /** |
||
11 | * @deprecated |
||
12 | * |
||
13 | * Class SourceListCommand |
||
14 | */ |
||
15 | class SourceListCommand extends Command |
||
16 | { |
||
17 | private $gridSourceManager; |
||
18 | |||
19 | protected function configure() |
||
20 | { |
||
21 | $this |
||
22 | ->setName('dtc:grid:source:list') |
||
23 | ->setDescription('List avaliable Grid Sources') |
||
24 | ; |
||
25 | } |
||
26 | |||
27 | public function setGridSourceManager(GridSourceManager $gridSourceManager) |
||
28 | { |
||
29 | $this->gridSourceManager = $gridSourceManager; |
||
30 | } |
||
31 | |||
32 | protected function execute(InputInterface $input, OutputInterface $output) |
||
33 | { |
||
34 | $gridSources = $this->gridSourceManager->all(); |
||
35 | |||
36 | $output->writeln('Avaliable Grid Sources: '); |
||
37 | foreach ($gridSources as $id => $source) { |
||
38 | $output->writeln("{$id} => ".get_class($source)); |
||
39 | } |
||
40 | } |
||
41 | } |
||
42 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths