mirror of
https://github.com/ivuorinen/branch-usage-checker.git
synced 2026-02-15 04:48:39 +00:00
PSR-12, build script, fixes
This commit is contained in:
@@ -2,57 +2,43 @@
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Application Name
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This value is the name of your application. This value is used when the
|
||||
| framework needs to place the application's name in a notification or
|
||||
| any other location as required by the application or its packages.
|
||||
|
|
||||
*/
|
||||
/**
|
||||
* Application Name
|
||||
*
|
||||
* This value is the name of your application. This value is used when the
|
||||
* framework needs to place the application's name in a notification or
|
||||
* any other location as required by the application or its packages.
|
||||
*/
|
||||
'name' => 'Branch usage checker',
|
||||
|
||||
'name' => 'Branch usage checker',
|
||||
/**
|
||||
* Application Version
|
||||
*
|
||||
* This value determines the "version" your application is currently running
|
||||
* in. You may want to follow the "Semantic Versioning" - Given a version
|
||||
* number MAJOR.MINOR.PATCH when an update happens: https://semver.org.
|
||||
*
|
||||
*/
|
||||
'version' => app('git.version'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Application Version
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This value determines the "version" your application is currently running
|
||||
| in. You may want to follow the "Semantic Versioning" - Given a version
|
||||
| number MAJOR.MINOR.PATCH when an update happens: https://semver.org.
|
||||
|
|
||||
*/
|
||||
|
||||
'version' => app('git.version'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Application Environment
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This value determines the "environment" your application is currently
|
||||
| running in. This may determine how you prefer to configure various
|
||||
| services the application utilizes. This can be overridden using
|
||||
| the global command line "--env" option when calling commands.
|
||||
|
|
||||
*/
|
||||
|
||||
'env' => 'development',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Autoloaded Service Providers
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The service providers listed here will be automatically loaded on the
|
||||
| request to your application. Feel free to add your own services to
|
||||
| this array to grant expanded functionality to your applications.
|
||||
|
|
||||
*/
|
||||
/**
|
||||
* Application Environment
|
||||
*
|
||||
* This value determines the "environment" your application is currently
|
||||
* running in. This may determine how you prefer to configure various
|
||||
* services the application utilizes. This can be overridden using
|
||||
* the global command line "--env" option when calling commands.
|
||||
*/
|
||||
'env' => 'development',
|
||||
|
||||
/**
|
||||
* Autoloaded Service Providers
|
||||
*
|
||||
* The service providers listed here will be automatically loaded on the
|
||||
* request to your application. Feel free to add your own services to
|
||||
* this array to grant expanded functionality to your applications.
|
||||
*
|
||||
*/
|
||||
'providers' => [
|
||||
App\Providers\AppServiceProvider::class,
|
||||
],
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user