| Total Complexity | 2 |
| Total Lines | 41 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | class PushCommand extends Command |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * The console command name. |
||
| 21 | * |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | protected $signature = 'cdn:push'; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * The console command description. |
||
| 28 | * |
||
| 29 | * @var string |
||
| 30 | */ |
||
| 31 | protected $description = 'Push assets to CDN'; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * an instance of the main Cdn class. |
||
| 35 | * |
||
| 36 | * @var Vinelab\Cdn\Cdn |
||
| 37 | */ |
||
| 38 | protected $cdn; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @param CdnInterface $cdn |
||
| 42 | */ |
||
| 43 | public function __construct(CdnInterface $cdn) |
||
| 44 | { |
||
| 45 | $this->cdn = $cdn; |
||
| 46 | |||
| 47 | parent::__construct(); |
||
| 48 | } |
||
| 49 | |||
| 50 | /** |
||
| 51 | * Execute the console command. |
||
| 52 | * |
||
| 53 | * @return mixed |
||
| 54 | */ |
||
| 55 | public function handle() |
||
| 58 | } |
||
| 59 | } |
||
| 60 |
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