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

Convert configuration PHP 5.4 arrays.

parent a204045b
<?php
return array(
return [
/*
|--------------------------------------------------------------------------
......@@ -93,7 +93,7 @@ return array(
|
*/
'providers' => array(
'providers' => [
/*
* Application Service Providers...
......@@ -132,7 +132,7 @@ return array(
'Illuminate\Validation\ValidationServiceProvider',
'Illuminate\View\ViewServiceProvider',
),
],
/*
|--------------------------------------------------------------------------
......@@ -158,7 +158,7 @@ return array(
|
*/
'aliases' => array(
'aliases' => [
'App' => 'Illuminate\Support\Facades\App',
'Artisan' => 'Illuminate\Support\Facades\Artisan',
......@@ -195,6 +195,6 @@ return array(
'Validator' => 'Illuminate\Support\Facades\Validator',
'View' => 'Illuminate\Support\Facades\View',
),
],
);
];
<?php
return array(
return [
/*
|--------------------------------------------------------------------------
......@@ -58,10 +58,10 @@ return array(
|
*/
'reminder' => array(
'reminder' => [
'email' => 'emails.auth.reminder',
'table' => 'password_reminders',
'expire' => 60,
),
],
);
];
<?php
return array(
return [
/*
|--------------------------------------------------------------------------
......@@ -67,11 +67,9 @@ return array(
|
*/
'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 @@ return array(
'prefix' => 'laravel',
);
];
<?php
return array(
return [
/*
|--------------------------------------------------------------------------
......@@ -13,7 +13,7 @@ return array(
|
*/
'files' => array(
'files' => [
__DIR__.'/../app/Providers/AppServiceProvider.php',
__DIR__.'/../app/Providers/ArtisanServiceProvider.php',
......@@ -23,7 +23,7 @@ return array(
__DIR__.'/../app/Providers/LogServiceProvider.php',
__DIR__.'/../app/Providers/RouteServiceProvider.php',
),
],
/*
|--------------------------------------------------------------------------
......@@ -36,8 +36,8 @@ return array(
|
*/
'providers' => array(
'providers' => [
//
),
],
);
];
<?php
return array(
return [
/*
|--------------------------------------------------------------------------
......@@ -44,15 +44,15 @@ return array(
|
*/
'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 @@ return array(
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
'prefix' => '',
),
],
'pgsql' => array(
'pgsql' => [
'driver' => 'pgsql',
'host' => 'localhost',
'database' => 'forge',
......@@ -72,18 +72,18 @@ return array(
'charset' => 'utf8',
'prefix' => '',
'schema' => 'public',
),
],
'sqlsrv' => array(
'sqlsrv' => [
'driver' => 'sqlsrv',
'host' => 'localhost',
'database' => 'database',
'username' => 'root',
'password' => '',
'prefix' => '',
),
],
),
],
/*
|--------------------------------------------------------------------------
......@@ -109,16 +109,16 @@ return array(
|
*/
'redis' => array(
'redis' => [
'cluster' => false,
'default' => array(
'default' => [
'host' => '127.0.0.1',
'port' => 6379,
'database' => 0,
),
],
),
],
);
];
<?php
return array(
return [
/*
|--------------------------------------------------------------------------
......@@ -15,4 +15,4 @@ return array(
'debug' => true,
);
];
<?php
return array(
return [
/*
|--------------------------------------------------------------------------
......@@ -18,9 +18,9 @@ return array(
|
*/
'connections' => array(
'connections' => [
'mysql' => array(
'mysql' => [
'driver' => 'mysql',
'host' => 'localhost',
'database' => 'homestead',
......@@ -29,9 +29,9 @@ return array(
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
'prefix' => '',
),
],
'pgsql' => array(
'pgsql' => [
'driver' => 'pgsql',
'host' => 'localhost',
'database' => 'homestead',
......@@ -40,8 +40,8 @@ return array(
'charset' => 'utf8',
'prefix' => '',
'schema' => 'public',
),
],
),
],
);
];
<?php
return array(
return [
/*
|--------------------------------------------------------------------------
......@@ -54,7 +54,7 @@ return array(
|
*/
'from' => array('address' => null, 'name' => null),
'from' => ['address' => null, 'name' => null],
/*
|--------------------------------------------------------------------------
......@@ -121,4 +121,4 @@ return array(
'pretend' => false,
);
];
<?php
return array(
return [
/*
|--------------------------------------------------------------------------
......@@ -36,4 +36,4 @@ return array(
'requests' => 'App\Http\Requests\\',
);
];
<?php
return array(
return [
/*
|--------------------------------------------------------------------------
......@@ -28,42 +28,42 @@ return array(
|
*/
'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 @@ return array(
|
*/
'failed' => array(
'failed' => [
'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
return array(
return [
/*
|--------------------------------------------------------------------------
......@@ -14,18 +14,18 @@ return array(
|
*/
'mailgun' => array(
'mailgun' => [
'domain' => '',
'secret' => '',
),
],
'mandrill' => array(
'mandrill' => [
'secret' => '',
),
],
'stripe' => array(
'stripe' => [
'model' => 'User',
'secret' => '',
),
],
);
];
<?php
return array(
return [
/*
|--------------------------------------------------------------------------
......@@ -83,7 +83,7 @@ return array(
|
*/
'lottery' => array(2, 100),
'lottery' => [2, 100],
/*
|--------------------------------------------------------------------------
......@@ -137,4 +137,4 @@ return array(
'secure' => false,
);
];
<?php
return array(
return [
/*
|--------------------------------------------------------------------------
......@@ -17,4 +17,4 @@ return array(
'driver' => 'array',
);
];
<?php
return array(
return [
/*
|--------------------------------------------------------------------------
......@@ -18,4 +18,4 @@ return array(
'driver' => 'array',
);
];
<?php
return array(
return [
/*
|--------------------------------------------------------------------------
......@@ -13,7 +13,7 @@ return array(
|
*/
'paths' => array(base_path().'/resources/views'),
'paths' => [base_path().'/resources/views'],
/*
|--------------------------------------------------------------------------
......@@ -28,4 +28,4 @@ return array(
'pagination' => 'pagination::slider-3',
);
];
<?php
return array(
return [
/*
|--------------------------------------------------------------------------
......@@ -28,4 +28,4 @@ return array(
'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