Total Complexity | 3 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | class RemoveExpiredFilesCommand extends Command |
||
19 | { |
||
20 | /** |
||
21 | * @var string|null The default command name |
||
22 | */ |
||
23 | protected static $defaultName = 'js-crypto-store:remove-expired'; |
||
24 | |||
25 | /** @var ManagerRegistry */ |
||
26 | private $managerRegistry; |
||
27 | |||
28 | public function __construct(ManagerRegistry $managerRegistry, Logger $logger) |
||
32 | } |
||
33 | |||
34 | protected function configure() |
||
35 | { |
||
36 | $this->setName(self::$defaultName) |
||
37 | ->setDescription('Remove all encrypted file that are expired from the database') |
||
38 | ->setHelp(<<<EOF |
||
39 | The <info>js-crypto-store:remove-expired</info> command removes all expired files from the database. |
||
40 | EOF |
||
41 | ) |
||
42 | ; |
||
43 | } |
||
44 | |||
45 | protected function execute(InputInterface $input, OutputInterface $output) |
||
50 | } |
||
51 | } |
||
52 |
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