Convert configuration PHP 5.4 arrays.
This commit is contained in:
parent
a204045b28
commit
76c84d8652
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
return array(
|
return [
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
@ -93,7 +93,7 @@
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'providers' => array(
|
'providers' => [
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Application Service Providers...
|
* Application Service Providers...
|
||||||
|
@ -132,7 +132,7 @@
|
||||||
'Illuminate\Validation\ValidationServiceProvider',
|
'Illuminate\Validation\ValidationServiceProvider',
|
||||||
'Illuminate\View\ViewServiceProvider',
|
'Illuminate\View\ViewServiceProvider',
|
||||||
|
|
||||||
),
|
],
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
@ -158,7 +158,7 @@
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'aliases' => array(
|
'aliases' => [
|
||||||
|
|
||||||
'App' => 'Illuminate\Support\Facades\App',
|
'App' => 'Illuminate\Support\Facades\App',
|
||||||
'Artisan' => 'Illuminate\Support\Facades\Artisan',
|
'Artisan' => 'Illuminate\Support\Facades\Artisan',
|
||||||
|
@ -195,6 +195,6 @@
|
||||||
'Validator' => 'Illuminate\Support\Facades\Validator',
|
'Validator' => 'Illuminate\Support\Facades\Validator',
|
||||||
'View' => 'Illuminate\Support\Facades\View',
|
'View' => 'Illuminate\Support\Facades\View',
|
||||||
|
|
||||||
),
|
],
|
||||||
|
|
||||||
);
|
];
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
return array(
|
return [
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
@ -58,10 +58,10 @@
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'reminder' => array(
|
'reminder' => [
|
||||||
'email' => 'emails.auth.reminder',
|
'email' => 'emails.auth.reminder',
|
||||||
'table' => 'password_reminders',
|
'table' => 'password_reminders',
|
||||||
'expire' => 60,
|
'expire' => 60,
|
||||||
),
|
],
|
||||||
|
|
||||||
);
|
];
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
return array(
|
return [
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
@ -67,11 +67,9 @@
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'memcached' => array(
|
'memcached' => [
|
||||||
|
['host' => '127.0.0.1', 'port' => 11211, 'weight' => 100],
|
||||||
array('host' => '127.0.0.1', 'port' => 11211, 'weight' => 100),
|
],
|
||||||
|
|
||||||
),
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
@ -86,4 +84,4 @@
|
||||||
|
|
||||||
'prefix' => 'laravel',
|
'prefix' => 'laravel',
|
||||||
|
|
||||||
);
|
];
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
return array(
|
return [
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
@ -13,7 +13,7 @@
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'files' => array(
|
'files' => [
|
||||||
|
|
||||||
__DIR__.'/../app/Providers/AppServiceProvider.php',
|
__DIR__.'/../app/Providers/AppServiceProvider.php',
|
||||||
__DIR__.'/../app/Providers/ArtisanServiceProvider.php',
|
__DIR__.'/../app/Providers/ArtisanServiceProvider.php',
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
__DIR__.'/../app/Providers/LogServiceProvider.php',
|
__DIR__.'/../app/Providers/LogServiceProvider.php',
|
||||||
__DIR__.'/../app/Providers/RouteServiceProvider.php',
|
__DIR__.'/../app/Providers/RouteServiceProvider.php',
|
||||||
|
|
||||||
),
|
],
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
@ -36,8 +36,8 @@
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'providers' => array(
|
'providers' => [
|
||||||
//
|
//
|
||||||
),
|
],
|
||||||
|
|
||||||
);
|
];
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
return array(
|
return [
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
@ -44,15 +44,15 @@
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'connections' => array(
|
'connections' => [
|
||||||
|
|
||||||
'sqlite' => array(
|
'sqlite' => [
|
||||||
'driver' => 'sqlite',
|
'driver' => 'sqlite',
|
||||||
'database' => storage_path().'/database.sqlite',
|
'database' => storage_path().'/database.sqlite',
|
||||||
'prefix' => '',
|
'prefix' => '',
|
||||||
),
|
],
|
||||||
|
|
||||||
'mysql' => array(
|
'mysql' => [
|
||||||
'driver' => 'mysql',
|
'driver' => 'mysql',
|
||||||
'host' => 'localhost',
|
'host' => 'localhost',
|
||||||
'database' => 'forge',
|
'database' => 'forge',
|
||||||
|
@ -61,9 +61,9 @@
|
||||||
'charset' => 'utf8',
|
'charset' => 'utf8',
|
||||||
'collation' => 'utf8_unicode_ci',
|
'collation' => 'utf8_unicode_ci',
|
||||||
'prefix' => '',
|
'prefix' => '',
|
||||||
),
|
],
|
||||||
|
|
||||||
'pgsql' => array(
|
'pgsql' => [
|
||||||
'driver' => 'pgsql',
|
'driver' => 'pgsql',
|
||||||
'host' => 'localhost',
|
'host' => 'localhost',
|
||||||
'database' => 'forge',
|
'database' => 'forge',
|
||||||
|
@ -72,18 +72,18 @@
|
||||||
'charset' => 'utf8',
|
'charset' => 'utf8',
|
||||||
'prefix' => '',
|
'prefix' => '',
|
||||||
'schema' => 'public',
|
'schema' => 'public',
|
||||||
),
|
],
|
||||||
|
|
||||||
'sqlsrv' => array(
|
'sqlsrv' => [
|
||||||
'driver' => 'sqlsrv',
|
'driver' => 'sqlsrv',
|
||||||
'host' => 'localhost',
|
'host' => 'localhost',
|
||||||
'database' => 'database',
|
'database' => 'database',
|
||||||
'username' => 'root',
|
'username' => 'root',
|
||||||
'password' => '',
|
'password' => '',
|
||||||
'prefix' => '',
|
'prefix' => '',
|
||||||
),
|
],
|
||||||
|
|
||||||
),
|
],
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
@ -109,16 +109,16 @@
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'redis' => array(
|
'redis' => [
|
||||||
|
|
||||||
'cluster' => false,
|
'cluster' => false,
|
||||||
|
|
||||||
'default' => array(
|
'default' => [
|
||||||
'host' => '127.0.0.1',
|
'host' => '127.0.0.1',
|
||||||
'port' => 6379,
|
'port' => 6379,
|
||||||
'database' => 0,
|
'database' => 0,
|
||||||
),
|
],
|
||||||
|
|
||||||
),
|
],
|
||||||
|
|
||||||
);
|
];
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
return array(
|
return [
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
@ -15,4 +15,4 @@
|
||||||
|
|
||||||
'debug' => true,
|
'debug' => true,
|
||||||
|
|
||||||
);
|
];
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
return array(
|
return [
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
@ -18,9 +18,9 @@
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'connections' => array(
|
'connections' => [
|
||||||
|
|
||||||
'mysql' => array(
|
'mysql' => [
|
||||||
'driver' => 'mysql',
|
'driver' => 'mysql',
|
||||||
'host' => 'localhost',
|
'host' => 'localhost',
|
||||||
'database' => 'homestead',
|
'database' => 'homestead',
|
||||||
|
@ -29,9 +29,9 @@
|
||||||
'charset' => 'utf8',
|
'charset' => 'utf8',
|
||||||
'collation' => 'utf8_unicode_ci',
|
'collation' => 'utf8_unicode_ci',
|
||||||
'prefix' => '',
|
'prefix' => '',
|
||||||
),
|
],
|
||||||
|
|
||||||
'pgsql' => array(
|
'pgsql' => [
|
||||||
'driver' => 'pgsql',
|
'driver' => 'pgsql',
|
||||||
'host' => 'localhost',
|
'host' => 'localhost',
|
||||||
'database' => 'homestead',
|
'database' => 'homestead',
|
||||||
|
@ -40,8 +40,8 @@
|
||||||
'charset' => 'utf8',
|
'charset' => 'utf8',
|
||||||
'prefix' => '',
|
'prefix' => '',
|
||||||
'schema' => 'public',
|
'schema' => 'public',
|
||||||
),
|
],
|
||||||
|
|
||||||
),
|
],
|
||||||
|
|
||||||
);
|
];
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
return array(
|
return [
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
@ -54,7 +54,7 @@
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'from' => array('address' => null, 'name' => null),
|
'from' => ['address' => null, 'name' => null],
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
@ -121,4 +121,4 @@
|
||||||
|
|
||||||
'pretend' => false,
|
'pretend' => false,
|
||||||
|
|
||||||
);
|
];
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
return array(
|
return [
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
@ -36,4 +36,4 @@
|
||||||
|
|
||||||
'requests' => 'App\Http\Requests\\',
|
'requests' => 'App\Http\Requests\\',
|
||||||
|
|
||||||
);
|
];
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
return array(
|
return [
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
@ -28,42 +28,42 @@
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'connections' => array(
|
'connections' => [
|
||||||
|
|
||||||
'sync' => array(
|
'sync' => [
|
||||||
'driver' => 'sync',
|
'driver' => 'sync',
|
||||||
),
|
],
|
||||||
|
|
||||||
'beanstalkd' => array(
|
'beanstalkd' => [
|
||||||
'driver' => 'beanstalkd',
|
'driver' => 'beanstalkd',
|
||||||
'host' => 'localhost',
|
'host' => 'localhost',
|
||||||
'queue' => 'default',
|
'queue' => 'default',
|
||||||
'ttr' => 60,
|
'ttr' => 60,
|
||||||
),
|
],
|
||||||
|
|
||||||
'sqs' => array(
|
'sqs' => [
|
||||||
'driver' => 'sqs',
|
'driver' => 'sqs',
|
||||||
'key' => 'your-public-key',
|
'key' => 'your-public-key',
|
||||||
'secret' => 'your-secret-key',
|
'secret' => 'your-secret-key',
|
||||||
'queue' => 'your-queue-url',
|
'queue' => 'your-queue-url',
|
||||||
'region' => 'us-east-1',
|
'region' => 'us-east-1',
|
||||||
),
|
],
|
||||||
|
|
||||||
'iron' => array(
|
'iron' => [
|
||||||
'driver' => 'iron',
|
'driver' => 'iron',
|
||||||
'host' => 'mq-aws-us-east-1.iron.io',
|
'host' => 'mq-aws-us-east-1.iron.io',
|
||||||
'token' => 'your-token',
|
'token' => 'your-token',
|
||||||
'project' => 'your-project-id',
|
'project' => 'your-project-id',
|
||||||
'queue' => 'your-queue-name',
|
'queue' => 'your-queue-name',
|
||||||
'encrypt' => true,
|
'encrypt' => true,
|
||||||
),
|
],
|
||||||
|
|
||||||
'redis' => array(
|
'redis' => [
|
||||||
'driver' => 'redis',
|
'driver' => 'redis',
|
||||||
'queue' => 'default',
|
'queue' => 'default',
|
||||||
),
|
],
|
||||||
|
|
||||||
),
|
],
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
@ -76,10 +76,8 @@
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'failed' => array(
|
'failed' => [
|
||||||
|
|
||||||
'database' => 'mysql', 'table' => 'failed_jobs',
|
'database' => 'mysql', 'table' => 'failed_jobs',
|
||||||
|
],
|
||||||
|
|
||||||
),
|
];
|
||||||
|
|
||||||
);
|
|
||||||
|
|
|
@ -1,59 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
return array(
|
|
||||||
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Default Remote Connection Name
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| Here you may specify the default connection that will be used for SSH
|
|
||||||
| operations. This name should correspond to a connection name below
|
|
||||||
| in the server list. Each connection will be manually accessible.
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
|
|
||||||
'default' => 'production',
|
|
||||||
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Remote Server Connections
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| These are the servers that will be accessible via the SSH task runner
|
|
||||||
| facilities of Laravel. This feature radically simplifies executing
|
|
||||||
| tasks on your servers, such as deploying out these applications.
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
|
|
||||||
'connections' => array(
|
|
||||||
|
|
||||||
'production' => array(
|
|
||||||
'host' => '',
|
|
||||||
'username' => '',
|
|
||||||
'password' => '',
|
|
||||||
'key' => '',
|
|
||||||
'keyphrase' => '',
|
|
||||||
'root' => '/var/www',
|
|
||||||
),
|
|
||||||
|
|
||||||
),
|
|
||||||
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Remote Server Groups
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| Here you may list connections under a single group name, which allows
|
|
||||||
| you to easily access all of the servers at once using a short name
|
|
||||||
| that is extremely easy to remember, such as "web" or "database".
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
|
|
||||||
'groups' => array(
|
|
||||||
|
|
||||||
'web' => array('production')
|
|
||||||
|
|
||||||
),
|
|
||||||
|
|
||||||
);
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
return array(
|
return [
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
@ -14,18 +14,18 @@
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'mailgun' => array(
|
'mailgun' => [
|
||||||
'domain' => '',
|
'domain' => '',
|
||||||
'secret' => '',
|
'secret' => '',
|
||||||
),
|
],
|
||||||
|
|
||||||
'mandrill' => array(
|
'mandrill' => [
|
||||||
'secret' => '',
|
'secret' => '',
|
||||||
),
|
],
|
||||||
|
|
||||||
'stripe' => array(
|
'stripe' => [
|
||||||
'model' => 'User',
|
'model' => 'User',
|
||||||
'secret' => '',
|
'secret' => '',
|
||||||
),
|
],
|
||||||
|
|
||||||
);
|
];
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
return array(
|
return [
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
@ -83,7 +83,7 @@
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'lottery' => array(2, 100),
|
'lottery' => [2, 100],
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
@ -137,4 +137,4 @@
|
||||||
|
|
||||||
'secure' => false,
|
'secure' => false,
|
||||||
|
|
||||||
);
|
];
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
return array(
|
return [
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
@ -17,4 +17,4 @@
|
||||||
|
|
||||||
'driver' => 'array',
|
'driver' => 'array',
|
||||||
|
|
||||||
);
|
];
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
return array(
|
return [
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
@ -18,4 +18,4 @@
|
||||||
|
|
||||||
'driver' => 'array',
|
'driver' => 'array',
|
||||||
|
|
||||||
);
|
];
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
return array(
|
return [
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
@ -13,7 +13,7 @@
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'paths' => array(base_path().'/resources/views'),
|
'paths' => [base_path().'/resources/views'],
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
@ -28,4 +28,4 @@
|
||||||
|
|
||||||
'pagination' => 'pagination::slider-3',
|
'pagination' => 'pagination::slider-3',
|
||||||
|
|
||||||
);
|
];
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
return array(
|
return [
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
@ -28,4 +28,4 @@
|
||||||
|
|
||||||
'email' => '',
|
'email' => '',
|
||||||
|
|
||||||
);
|
];
|
||||||
|
|
Loading…
Reference in New Issue