Commit 76c84d86 authored by Taylor Otwell's avatar Taylor Otwell

Convert configuration PHP 5.4 arrays.

parent a204045b
<?php <?php
return array( return [
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
...@@ -93,7 +93,7 @@ return array( ...@@ -93,7 +93,7 @@ return array(
| |
*/ */
'providers' => array( 'providers' => [
/* /*
* Application Service Providers... * Application Service Providers...
...@@ -132,7 +132,7 @@ return array( ...@@ -132,7 +132,7 @@ return array(
'Illuminate\Validation\ValidationServiceProvider', 'Illuminate\Validation\ValidationServiceProvider',
'Illuminate\View\ViewServiceProvider', 'Illuminate\View\ViewServiceProvider',
), ],
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
...@@ -158,7 +158,7 @@ return array( ...@@ -158,7 +158,7 @@ return array(
| |
*/ */
'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 @@ return array( ...@@ -195,6 +195,6 @@ return array(
'Validator' => 'Illuminate\Support\Facades\Validator', 'Validator' => 'Illuminate\Support\Facades\Validator',
'View' => 'Illuminate\Support\Facades\View', 'View' => 'Illuminate\Support\Facades\View',
), ],
); ];
<?php <?php
return array( return [
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
...@@ -58,10 +58,10 @@ return array( ...@@ -58,10 +58,10 @@ return array(
| |
*/ */
'reminder' => array( 'reminder' => [
'email' => 'emails.auth.reminder', 'email' => 'emails.auth.reminder',
'table' => 'password_reminders', 'table' => 'password_reminders',
'expire' => 60, 'expire' => 60,
), ],
); ];
<?php <?php
return array( return [
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
...@@ -67,11 +67,9 @@ return array( ...@@ -67,11 +67,9 @@ return array(
| |
*/ */
'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 @@ return array( ...@@ -86,4 +84,4 @@ return array(
'prefix' => 'laravel', 'prefix' => 'laravel',
); ];
<?php <?php
return array( return [
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
...@@ -13,7 +13,7 @@ return array( ...@@ -13,7 +13,7 @@ return array(
| |
*/ */
'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 @@ return array( ...@@ -23,7 +23,7 @@ return array(
__DIR__.'/../app/Providers/LogServiceProvider.php', __DIR__.'/../app/Providers/LogServiceProvider.php',
__DIR__.'/../app/Providers/RouteServiceProvider.php', __DIR__.'/../app/Providers/RouteServiceProvider.php',
), ],
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
...@@ -36,8 +36,8 @@ return array( ...@@ -36,8 +36,8 @@ return array(
| |
*/ */
'providers' => array( 'providers' => [
// //
), ],
); ];
<?php <?php
return array( return [
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
...@@ -44,15 +44,15 @@ return array( ...@@ -44,15 +44,15 @@ return array(
| |
*/ */
'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 @@ return array( ...@@ -61,9 +61,9 @@ return array(
'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 @@ return array( ...@@ -72,18 +72,18 @@ return array(
'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 @@ return array( ...@@ -109,16 +109,16 @@ return array(
| |
*/ */
'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,
), ],
), ],
); ];
<?php <?php
return array( return [
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
...@@ -15,4 +15,4 @@ return array( ...@@ -15,4 +15,4 @@ return array(
'debug' => true, 'debug' => true,
); ];
<?php <?php
return array( return [
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
...@@ -18,9 +18,9 @@ return array( ...@@ -18,9 +18,9 @@ return array(
| |
*/ */
'connections' => array( 'connections' => [
'mysql' => array( 'mysql' => [
'driver' => 'mysql', 'driver' => 'mysql',
'host' => 'localhost', 'host' => 'localhost',
'database' => 'homestead', 'database' => 'homestead',
...@@ -29,9 +29,9 @@ return array( ...@@ -29,9 +29,9 @@ return array(
'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 @@ return array( ...@@ -40,8 +40,8 @@ return array(
'charset' => 'utf8', 'charset' => 'utf8',
'prefix' => '', 'prefix' => '',
'schema' => 'public', 'schema' => 'public',
), ],
), ],
); ];
<?php <?php
return array( return [
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
...@@ -54,7 +54,7 @@ return array( ...@@ -54,7 +54,7 @@ return array(
| |
*/ */
'from' => array('address' => null, 'name' => null), 'from' => ['address' => null, 'name' => null],
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
...@@ -121,4 +121,4 @@ return array( ...@@ -121,4 +121,4 @@ return array(
'pretend' => false, 'pretend' => false,
); ];
<?php <?php
return array( return [
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
...@@ -36,4 +36,4 @@ return array( ...@@ -36,4 +36,4 @@ return array(
'requests' => 'App\Http\Requests\\', 'requests' => 'App\Http\Requests\\',
); ];
<?php <?php
return array( return [
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
...@@ -28,42 +28,42 @@ return array( ...@@ -28,42 +28,42 @@ return array(
| |
*/ */
'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 @@ return array( ...@@ -76,10 +76,8 @@ return array(
| |
*/ */
'failed' => array( 'failed' => [
'database' => 'mysql', 'table' => 'failed_jobs', 'database' => 'mysql', 'table' => 'failed_jobs',
],
), ];
);
<?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')
),
);
<?php <?php
return array( return [
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
...@@ -14,18 +14,18 @@ return array( ...@@ -14,18 +14,18 @@ return array(
| |
*/ */
'mailgun' => array( 'mailgun' => [
'domain' => '', 'domain' => '',
'secret' => '', 'secret' => '',
), ],
'mandrill' => array( 'mandrill' => [
'secret' => '', 'secret' => '',
), ],
'stripe' => array( 'stripe' => [
'model' => 'User', 'model' => 'User',
'secret' => '', 'secret' => '',
), ],
); ];
<?php <?php
return array( return [
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
...@@ -83,7 +83,7 @@ return array( ...@@ -83,7 +83,7 @@ return array(
| |
*/ */
'lottery' => array(2, 100), 'lottery' => [2, 100],
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
...@@ -137,4 +137,4 @@ return array( ...@@ -137,4 +137,4 @@ return array(
'secure' => false, 'secure' => false,
); ];
<?php <?php
return array( return [
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
...@@ -17,4 +17,4 @@ return array( ...@@ -17,4 +17,4 @@ return array(
'driver' => 'array', 'driver' => 'array',
); ];
<?php <?php
return array( return [
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
...@@ -18,4 +18,4 @@ return array( ...@@ -18,4 +18,4 @@ return array(
'driver' => 'array', 'driver' => 'array',
); ];
<?php <?php
return array( return [
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
...@@ -13,7 +13,7 @@ return array( ...@@ -13,7 +13,7 @@ return array(
| |
*/ */
'paths' => array(base_path().'/resources/views'), 'paths' => [base_path().'/resources/views'],
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
...@@ -28,4 +28,4 @@ return array( ...@@ -28,4 +28,4 @@ return array(
'pagination' => 'pagination::slider-3', 'pagination' => 'pagination::slider-3',
); ];
<?php <?php
return array( return [
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
...@@ -28,4 +28,4 @@ return array( ...@@ -28,4 +28,4 @@ return array(
'email' => '', 'email' => '',
); ];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment