Checks if used functions are declared or listed as dependencies.
1 | <?php |
||
2 | |||
3 | namespace Glorand\Model\Settings\Console; |
||
4 | |||
5 | use Illuminate\Console\Command; |
||
6 | |||
7 | class CopyMigrationsCommand extends Command |
||
8 | { |
||
9 | /** @var string */ |
||
10 | protected $signature = 'model-settings:copy-migrations'; |
||
11 | |||
12 | /** @var string */ |
||
13 | protected $description = 'Copy migrations files from package to app\'s migration folder'; |
||
14 | |||
15 | public function handle() |
||
16 | { |
||
17 | \File::copyDirectory(__DIR__ . '/../../migrations', database_path('migrations')); |
||
1 ignored issue
–
show
Bug
introduced
by
Loading history...
|
|||
18 | |||
19 | $this->info('Migration files copied successfully.'); |
||
20 | } |
||
21 | } |
||
22 |