Convert configuration PHP 5.4 arrays.
This commit is contained in:
parent
a204045b28
commit
76c84d8652
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
return array(
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
@ -93,7 +93,7 @@
|
|||
|
|
||||
*/
|
||||
|
||||
'providers' => array(
|
||||
'providers' => [
|
||||
|
||||
/*
|
||||
* Application Service Providers...
|
||||
|
@ -132,7 +132,7 @@
|
|||
'Illuminate\Validation\ValidationServiceProvider',
|
||||
'Illuminate\View\ViewServiceProvider',
|
||||
|
||||
),
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
@ -158,7 +158,7 @@
|
|||
|
|
||||
*/
|
||||
|
||||
'aliases' => array(
|
||||
'aliases' => [
|
||||
|
||||
'App' => 'Illuminate\Support\Facades\App',
|
||||
'Artisan' => 'Illuminate\Support\Facades\Artisan',
|
||||
|
@ -195,6 +195,6 @@
|
|||
'Validator' => 'Illuminate\Support\Facades\Validator',
|
||||
'View' => 'Illuminate\Support\Facades\View',
|
||||
|
||||
),
|
||||
],
|
||||
|
||||
);
|
||||
];
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
return array(
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
@ -58,10 +58,10 @@
|
|||
|
|
||||
*/
|
||||
|
||||
'reminder' => array(
|
||||
'reminder' => [
|
||||
'email' => 'emails.auth.reminder',
|
||||
'table' => 'password_reminders',
|
||||
'expire' => 60,
|
||||
),
|
||||
],
|
||||
|
||||
);
|
||||
];
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
return array(
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
@ -67,11 +67,9 @@
|
|||
|
|
||||
*/
|
||||
|
||||
'memcached' => array(
|
||||
|
||||
array('host' => '127.0.0.1', 'port' => 11211, 'weight' => 100),
|
||||
|
||||
),
|
||||
'memcached' => [
|
||||
['host' => '127.0.0.1', 'port' => 11211, 'weight' => 100],
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
@ -86,4 +84,4 @@
|
|||
|
||||
'prefix' => 'laravel',
|
||||
|
||||
);
|
||||
];
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
return array(
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
@ -13,7 +13,7 @@
|
|||
|
|
||||
*/
|
||||
|
||||
'files' => array(
|
||||
'files' => [
|
||||
|
||||
__DIR__.'/../app/Providers/AppServiceProvider.php',
|
||||
__DIR__.'/../app/Providers/ArtisanServiceProvider.php',
|
||||
|
@ -23,7 +23,7 @@
|
|||
__DIR__.'/../app/Providers/LogServiceProvider.php',
|
||||
__DIR__.'/../app/Providers/RouteServiceProvider.php',
|
||||
|
||||
),
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
@ -36,8 +36,8 @@
|
|||
|
|
||||
*/
|
||||
|
||||
'providers' => array(
|
||||
'providers' => [
|
||||
//
|
||||
),
|
||||
],
|
||||
|
||||
);
|
||||
];
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
return array(
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
@ -44,15 +44,15 @@
|
|||
|
|
||||
*/
|
||||
|
||||
'connections' => array(
|
||||
'connections' => [
|
||||
|
||||
'sqlite' => array(
|
||||
'sqlite' => [
|
||||
'driver' => 'sqlite',
|
||||
'database' => storage_path().'/database.sqlite',
|
||||
'prefix' => '',
|
||||
),
|
||||
],
|
||||
|
||||
'mysql' => array(
|
||||
'mysql' => [
|
||||
'driver' => 'mysql',
|
||||
'host' => 'localhost',
|
||||
'database' => 'forge',
|
||||
|
@ -61,9 +61,9 @@
|
|||
'charset' => 'utf8',
|
||||
'collation' => 'utf8_unicode_ci',
|
||||
'prefix' => '',
|
||||
),
|
||||
],
|
||||
|
||||
'pgsql' => array(
|
||||
'pgsql' => [
|
||||
'driver' => 'pgsql',
|
||||
'host' => 'localhost',
|
||||
'database' => 'forge',
|
||||
|
@ -72,18 +72,18 @@
|
|||
'charset' => 'utf8',
|
||||
'prefix' => '',
|
||||
'schema' => 'public',
|
||||
),
|
||||
],
|
||||
|
||||
'sqlsrv' => array(
|
||||
'sqlsrv' => [
|
||||
'driver' => 'sqlsrv',
|
||||
'host' => 'localhost',
|
||||
'database' => 'database',
|
||||
'username' => 'root',
|
||||
'password' => '',
|
||||
'prefix' => '',
|
||||
),
|
||||
],
|
||||
|
||||
),
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
@ -109,16 +109,16 @@
|
|||
|
|
||||
*/
|
||||
|
||||
'redis' => array(
|
||||
'redis' => [
|
||||
|
||||
'cluster' => false,
|
||||
|
||||
'default' => array(
|
||||
'default' => [
|
||||
'host' => '127.0.0.1',
|
||||
'port' => 6379,
|
||||
'database' => 0,
|
||||
),
|
||||
],
|
||||
|
||||
),
|
||||
],
|
||||
|
||||
);
|
||||
];
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
return array(
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
@ -15,4 +15,4 @@
|
|||
|
||||
'debug' => true,
|
||||
|
||||
);
|
||||
];
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
return array(
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
@ -18,9 +18,9 @@
|
|||
|
|
||||
*/
|
||||
|
||||
'connections' => array(
|
||||
'connections' => [
|
||||
|
||||
'mysql' => array(
|
||||
'mysql' => [
|
||||
'driver' => 'mysql',
|
||||
'host' => 'localhost',
|
||||
'database' => 'homestead',
|
||||
|
@ -29,9 +29,9 @@
|
|||
'charset' => 'utf8',
|
||||
'collation' => 'utf8_unicode_ci',
|
||||
'prefix' => '',
|
||||
),
|
||||
],
|
||||
|
||||
'pgsql' => array(
|
||||
'pgsql' => [
|
||||
'driver' => 'pgsql',
|
||||
'host' => 'localhost',
|
||||
'database' => 'homestead',
|
||||
|
@ -40,8 +40,8 @@
|
|||
'charset' => 'utf8',
|
||||
'prefix' => '',
|
||||
'schema' => 'public',
|
||||
),
|
||||
],
|
||||
|
||||
),
|
||||
],
|
||||
|
||||
);
|
||||
];
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?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,
|
||||
|
||||
);
|
||||
];
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
return array(
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
@ -36,4 +36,4 @@
|
|||
|
||||
'requests' => 'App\Http\Requests\\',
|
||||
|
||||
);
|
||||
];
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
return array(
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
@ -28,42 +28,42 @@
|
|||
|
|
||||
*/
|
||||
|
||||
'connections' => array(
|
||||
'connections' => [
|
||||
|
||||
'sync' => array(
|
||||
'sync' => [
|
||||
'driver' => 'sync',
|
||||
),
|
||||
],
|
||||
|
||||
'beanstalkd' => array(
|
||||
'beanstalkd' => [
|
||||
'driver' => 'beanstalkd',
|
||||
'host' => 'localhost',
|
||||
'queue' => 'default',
|
||||
'ttr' => 60,
|
||||
),
|
||||
],
|
||||
|
||||
'sqs' => array(
|
||||
'sqs' => [
|
||||
'driver' => 'sqs',
|
||||
'key' => 'your-public-key',
|
||||
'secret' => 'your-secret-key',
|
||||
'queue' => 'your-queue-url',
|
||||
'region' => 'us-east-1',
|
||||
),
|
||||
],
|
||||
|
||||
'iron' => array(
|
||||
'iron' => [
|
||||
'driver' => 'iron',
|
||||
'host' => 'mq-aws-us-east-1.iron.io',
|
||||
'token' => 'your-token',
|
||||
'project' => 'your-project-id',
|
||||
'queue' => 'your-queue-name',
|
||||
'encrypt' => true,
|
||||
),
|
||||
],
|
||||
|
||||
'redis' => array(
|
||||
'redis' => [
|
||||
'driver' => 'redis',
|
||||
'queue' => 'default',
|
||||
),
|
||||
],
|
||||
|
||||
),
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
@ -76,10 +76,8 @@
|
|||
|
|
||||
*/
|
||||
|
||||
'failed' => array(
|
||||
|
||||
'failed' => [
|
||||
'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
|
||||
|
||||
return array(
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
@ -14,18 +14,18 @@
|
|||
|
|
||||
*/
|
||||
|
||||
'mailgun' => array(
|
||||
'mailgun' => [
|
||||
'domain' => '',
|
||||
'secret' => '',
|
||||
),
|
||||
],
|
||||
|
||||
'mandrill' => array(
|
||||
'mandrill' => [
|
||||
'secret' => '',
|
||||
),
|
||||
],
|
||||
|
||||
'stripe' => array(
|
||||
'stripe' => [
|
||||
'model' => 'User',
|
||||
'secret' => '',
|
||||
),
|
||||
],
|
||||
|
||||
);
|
||||
];
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
return array(
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
@ -83,7 +83,7 @@
|
|||
|
|
||||
*/
|
||||
|
||||
'lottery' => array(2, 100),
|
||||
'lottery' => [2, 100],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
@ -137,4 +137,4 @@
|
|||
|
||||
'secure' => false,
|
||||
|
||||
);
|
||||
];
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
return array(
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
@ -17,4 +17,4 @@
|
|||
|
||||
'driver' => 'array',
|
||||
|
||||
);
|
||||
];
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
return array(
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
@ -18,4 +18,4 @@
|
|||
|
||||
'driver' => 'array',
|
||||
|
||||
);
|
||||
];
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?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',
|
||||
|
||||
);
|
||||
];
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
return array(
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
@ -28,4 +28,4 @@
|
|||
|
||||
'email' => '',
|
||||
|
||||
);
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue