diff --git a/config/app.php b/config/app.php index da76e030..10721112 100644 --- a/config/app.php +++ b/config/app.php @@ -1,6 +1,6 @@ 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', - ), + ], -); +]; diff --git a/config/auth.php b/config/auth.php index 967e0e25..b43e1c87 100644 --- a/config/auth.php +++ b/config/auth.php @@ -1,6 +1,6 @@ array( + 'reminder' => [ 'email' => 'emails.auth.reminder', 'table' => 'password_reminders', 'expire' => 60, - ), + ], -); +]; diff --git a/config/cache.php b/config/cache.php index ce898423..e344f799 100644 --- a/config/cache.php +++ b/config/cache.php @@ -1,6 +1,6 @@ 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', -); +]; diff --git a/config/compile.php b/config/compile.php index b84e92b0..34840c7e 100644 --- a/config/compile.php +++ b/config/compile.php @@ -1,6 +1,6 @@ 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' => [ // - ), + ], -); +]; diff --git a/config/database.php b/config/database.php index 552367c4..6f2097de 100644 --- a/config/database.php +++ b/config/database.php @@ -1,6 +1,6 @@ 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, - ), + ], - ), + ], -); +]; diff --git a/config/local/app.php b/config/local/app.php index c56fcb9c..5ceb76dc 100644 --- a/config/local/app.php +++ b/config/local/app.php @@ -1,6 +1,6 @@ true, -); +]; diff --git a/config/local/database.php b/config/local/database.php index fbcb95ae..a42ca21d 100644 --- a/config/local/database.php +++ b/config/local/database.php @@ -1,6 +1,6 @@ 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', - ), + ], - ), + ], -); +]; diff --git a/config/mail.php b/config/mail.php index 76fd9e4f..6f9c9542 100644 --- a/config/mail.php +++ b/config/mail.php @@ -1,6 +1,6 @@ array('address' => null, 'name' => null), + 'from' => ['address' => null, 'name' => null], /* |-------------------------------------------------------------------------- @@ -121,4 +121,4 @@ return array( 'pretend' => false, -); +]; diff --git a/config/namespaces.php b/config/namespaces.php index 953b24a2..1666b5fe 100644 --- a/config/namespaces.php +++ b/config/namespaces.php @@ -1,6 +1,6 @@ 'App\Http\Requests\\', -); +]; diff --git a/config/queue.php b/config/queue.php index 940a4cdf..0d5949da 100755 --- a/config/queue.php +++ b/config/queue.php @@ -1,6 +1,6 @@ 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', + ], - ), - -); +]; diff --git a/config/remote.php b/config/remote.php deleted file mode 100644 index 2169c434..00000000 --- a/config/remote.php +++ /dev/null @@ -1,59 +0,0 @@ - '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') - - ), - -); diff --git a/config/services.php b/config/services.php index c8aba2a6..ead98832 100644 --- a/config/services.php +++ b/config/services.php @@ -1,6 +1,6 @@ array( + 'mailgun' => [ 'domain' => '', 'secret' => '', - ), + ], - 'mandrill' => array( + 'mandrill' => [ 'secret' => '', - ), + ], - 'stripe' => array( + 'stripe' => [ 'model' => 'User', 'secret' => '', - ), + ], -); +]; diff --git a/config/session.php b/config/session.php index ae343029..41e1dc1f 100644 --- a/config/session.php +++ b/config/session.php @@ -1,6 +1,6 @@ array(2, 100), + 'lottery' => [2, 100], /* |-------------------------------------------------------------------------- @@ -137,4 +137,4 @@ return array( 'secure' => false, -); +]; diff --git a/config/testing/cache.php b/config/testing/cache.php index 66a8a39a..729ae3a8 100644 --- a/config/testing/cache.php +++ b/config/testing/cache.php @@ -1,6 +1,6 @@ 'array', -); +]; diff --git a/config/testing/session.php b/config/testing/session.php index 0364b63d..46bf726a 100644 --- a/config/testing/session.php +++ b/config/testing/session.php @@ -1,6 +1,6 @@ 'array', -); +]; diff --git a/config/view.php b/config/view.php index 0604cf4b..f5dfa0fd 100644 --- a/config/view.php +++ b/config/view.php @@ -1,6 +1,6 @@ array(base_path().'/resources/views'), + 'paths' => [base_path().'/resources/views'], /* |-------------------------------------------------------------------------- @@ -28,4 +28,4 @@ return array( 'pagination' => 'pagination::slider-3', -); +]; diff --git a/config/workbench.php b/config/workbench.php index 87c5e387..6d8830c8 100644 --- a/config/workbench.php +++ b/config/workbench.php @@ -1,6 +1,6 @@ '', -); +];