Issues (20)

src/Console/InstallChpter.php (1 issue)

Labels
Severity
1
<?php
2
3
namespace KiplingKelvin\ChpterLaravelSdk\Console;
4
5
use Illuminate\Console\Command;
0 ignored issues
show
The type Illuminate\Console\Command 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. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
6
7
class InstallChpter extends Command
8
{
9
    protected $signature = "chpter:install";
10
11
    protected $description = "Install Chpter package";
12
13
    public function handle()
14
    {
15
        $this->info('Installing Chpter for Laravel ...');
16
        $this->info('Publishing Configuration...');
17
18
        $this->call('vendor:publish', [
19
      '--provider' => "KiplingKelvin\ChpterLaravelSdk\ChpterServiceProvider",
20
      '--tag' => "chpter-config"
21
    ]);
22
23
        $this->info('Installed Chpter for Laravel');
24
    }
25
}
26