PSR-12, build script, fixes

This commit is contained in:
2022-12-24 00:55:13 +02:00
parent 348fc6f785
commit cf87d02ecb
15 changed files with 648 additions and 593 deletions

View File

@@ -2,72 +2,57 @@
return [
/*
|--------------------------------------------------------------------------
| Default Command
|--------------------------------------------------------------------------
|
| Laravel Zero will always run the command specified below when no command name is
| provided. Consider update the default command for single command applications.
| You cannot pass arguments to the default command because they are ignored.
|
*/
/**
* Default Command
*
* Laravel Zero will always run the command specified below when no command name is
* provided. Consider update the default command for single command applications.
* You cannot pass arguments to the default command because they are ignored.
*/
'default' => NunoMaduro\LaravelConsoleSummary\SummaryCommand::class,
/*
|--------------------------------------------------------------------------
| Commands Paths
|--------------------------------------------------------------------------
|
| This value determines the "paths" that should be loaded by the console's
| kernel. Foreach "path" present on the array provided below the kernel
| will extract all "Illuminate\Console\Command" based class commands.
|
*/
'paths' => [ app_path( 'Commands' ) ],
/**
* Commands Paths
*
* This value determines the "paths" that should be loaded by the console's
* kernel. Foreach "path" present on the array provided below the kernel
* will extract all "Illuminate\Console\Command" based class commands.
*/
'paths' => [app_path('Commands')],
/*
|--------------------------------------------------------------------------
| Added Commands
|--------------------------------------------------------------------------
|
| You may want to include a single command class without having to load an
| entire folder. Here you can specify which commands should be added to
| your list of commands. The console's kernel will try to load them.
|
*/
'add' => [
/**
* Added Commands
*
* You may want to include a single command class without having to load an
* entire folder. Here you can specify which commands should be added to
* your list of commands. The console's kernel will try to load them.
*/
'add' => [
// ..
],
/*
|--------------------------------------------------------------------------
| Hidden Commands
|--------------------------------------------------------------------------
|
| Your application commands will always be visible on the application list
| of commands. But you can still make them "hidden" specifying an array
| of commands below. All "hidden" commands can still be run/executed.
|
*/
'hidden' => [
/**
* Hidden Commands
*
* Your application commands will always be visible on the application list
* of commands. But you can still make them "hidden" specifying an array
* of commands below. All "hidden" commands can still be run/executed.
*/
'hidden' => [
NunoMaduro\LaravelConsoleSummary\SummaryCommand::class,
Symfony\Component\Console\Command\DumpCompletionCommand::class,
Symfony\Component\Console\Command\HelpCommand::class,
LaravelZero\Framework\Commands\StubPublishCommand::class,
],
/*
|--------------------------------------------------------------------------
| Removed Commands
|--------------------------------------------------------------------------
|
| Do you have a service provider that loads a list of commands that
| you don't need? No problem. Laravel Zero allows you to specify
| below a list of commands that you don't to see in your app.
|
*/
'remove' => [
/**
* Removed Commands
*
* Do you have a service provider that loads a list of commands that
* you don't need? No problem. Laravel Zero allows you to specify
* below a list of commands that you don't to see in your app.
*/
'remove' => [
\App\Commands\InspireCommand::class,
Illuminate\Console\Scheduling\ScheduleRunCommand::class,
Illuminate\Console\Scheduling\ScheduleListCommand::class,