| Total Complexity | 3 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 4 | ||
| Bugs | 2 | Features | 1 |
| 1 | <?php declare(strict_types = 1); |
||
| 11 | #[AsCommand( |
||
| 12 | name: 'rabbitmq:declare', |
||
| 13 | description: 'Creates all exchanges and queues.' |
||
| 14 | )] |
||
| 15 | final class DeclareCommand extends Command |
||
| 16 | { |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var BunnyManager |
||
| 20 | */ |
||
| 21 | private $bunnyManager; |
||
| 22 | |||
| 23 | |||
| 24 | public function __construct(BunnyManager $bunnyManager) |
||
| 29 | } |
||
| 30 | |||
| 31 | |||
| 32 | protected function configure(): void |
||
| 33 | { |
||
| 34 | $this->setName('rabbitmq:declare') |
||
| 35 | ->setDescription('Creates all exchanges and queues.'); |
||
| 36 | } |
||
| 37 | |||
| 38 | |||
| 39 | protected function execute(InputInterface $input, OutputInterface $output): int |
||
| 48 | } |
||
| 49 | |||
| 51 |
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