From 879bc146504462ef273b893010edf004026aa021 Mon Sep 17 00:00:00 2001 From: pedes42 Date: Fri, 18 Sep 2015 14:16:52 +0200 Subject: [PATCH 1/6] Replace storage_path with database_path helper According to the docs, the sqlite database should be located within the "database" folder. --- config/database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/database.php b/config/database.php index f6cf86b4..5987be69 100644 --- a/config/database.php +++ b/config/database.php @@ -48,7 +48,7 @@ 'sqlite' => [ 'driver' => 'sqlite', - 'database' => storage_path('database.sqlite'), + 'database' => database_path('database.sqlite'), 'prefix' => '', ], From 50357d8bab3c43ac6b76a82038847c1061bf21c6 Mon Sep 17 00:00:00 2001 From: crynobone Date: Mon, 21 Sep 2015 12:00:44 +0800 Subject: [PATCH 2/6] Use $this instead of parent. Signed-off-by: crynobone --- app/Providers/AuthServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Providers/AuthServiceProvider.php b/app/Providers/AuthServiceProvider.php index 9b358300..57d88ea3 100644 --- a/app/Providers/AuthServiceProvider.php +++ b/app/Providers/AuthServiceProvider.php @@ -24,7 +24,7 @@ class AuthServiceProvider extends ServiceProvider */ public function boot(GateContract $gate) { - parent::registerPolicies($gate); + $this->registerPolicies($gate); // } From 6917c35c3316bb5191268d3920b3388e06c12f42 Mon Sep 17 00:00:00 2001 From: Ian Olson Date: Sun, 4 Oct 2015 23:46:56 -0500 Subject: [PATCH 3/6] Added options to the broadcasting pusher configuration file. --- config/broadcasting.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/broadcasting.php b/config/broadcasting.php index 36f9b3c1..c6dab314 100644 --- a/config/broadcasting.php +++ b/config/broadcasting.php @@ -33,6 +33,9 @@ 'key' => env('PUSHER_KEY'), 'secret' => env('PUSHER_SECRET'), 'app_id' => env('PUSHER_APP_ID'), + 'options' => [ + 'encrypted' => env('PUSHER_ENCRYPTED', false) + ], ], 'redis' => [ From bcbc2f826581b4a5dc9e29c7bb6ea51e31a21d96 Mon Sep 17 00:00:00 2001 From: Ian Olson Date: Sun, 4 Oct 2015 23:53:11 -0500 Subject: [PATCH 4/6] Updated trailing comma on array key => value to pass StyleCI. --- config/broadcasting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/broadcasting.php b/config/broadcasting.php index c6dab314..a0e2e588 100644 --- a/config/broadcasting.php +++ b/config/broadcasting.php @@ -34,7 +34,7 @@ 'secret' => env('PUSHER_SECRET'), 'app_id' => env('PUSHER_APP_ID'), 'options' => [ - 'encrypted' => env('PUSHER_ENCRYPTED', false) + 'encrypted' => env('PUSHER_ENCRYPTED', false), ], ], From 8ac73d90f286be393a58110d0f433aa5cd8a3677 Mon Sep 17 00:00:00 2001 From: Martins Sipenko Date: Wed, 7 Oct 2015 14:19:49 +0300 Subject: [PATCH 5/6] Removed unused option --- phpunit.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/phpunit.xml b/phpunit.xml index 276262db..cc0841c1 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -7,8 +7,7 @@ convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" - stopOnFailure="false" - syntaxCheck="false"> + stopOnFailure="false"> ./tests/ From f6b05ee3ce810a25907f3dd7b27f912ab5760f06 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 8 Oct 2015 09:45:11 -0500 Subject: [PATCH 6/6] tweak options --- config/broadcasting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/broadcasting.php b/config/broadcasting.php index a0e2e588..abaaac32 100644 --- a/config/broadcasting.php +++ b/config/broadcasting.php @@ -34,7 +34,7 @@ 'secret' => env('PUSHER_SECRET'), 'app_id' => env('PUSHER_APP_ID'), 'options' => [ - 'encrypted' => env('PUSHER_ENCRYPTED', false), + // ], ],