Passed
Push — master ( c2fbb6...5d6416 )
by Mike
02:47
created
tests/CreatesApplication.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -7,11 +7,11 @@
 block discarded – undo
7 7
 {
8 8
     public function createApplication()
9 9
     {
10
-        $app = require __DIR__ . '/../vendor/laravel/laravel/bootstrap/app.php';
10
+        $app = require __DIR__.'/../vendor/laravel/laravel/bootstrap/app.php';
11 11
         $app->make(Kernel::class)->bootstrap();
12
-        $app->make(Factory::class)->load(__DIR__ . '/database/factories');
13
-        $app->afterResolving('migrator', function ($migrator) {
14
-            $migrator->path(__DIR__ . '/database/migrations');
12
+        $app->make(Factory::class)->load(__DIR__.'/database/factories');
13
+        $app->afterResolving('migrator', function($migrator) {
14
+            $migrator->path(__DIR__.'/database/migrations');
15 15
         });
16 16
 
17 17
         return $app;
Please login to merge, or discard this patch.
tests/database/migrations/2017_09_21_010109_create_books.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 {
8 8
     public function up()
9 9
     {
10
-        Schema::create('books', function (Blueprint $table) {
10
+        Schema::create('books', function(Blueprint $table) {
11 11
             $table->increments('id');
12 12
             $table->unsignedInteger('author_id');
13 13
             $table->timestamps();
Please login to merge, or discard this patch.
tests/database/migrations/2017_09_21_010055_create_authors.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 {
8 8
     public function up()
9 9
     {
10
-        Schema::create('authors', function (Blueprint $table) {
10
+        Schema::create('authors', function(Blueprint $table) {
11 11
             $table->increments('id');
12 12
             $table->timestamps();
13 13
 
Please login to merge, or discard this patch.
tests/database/factories/BookFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 use Faker\Generator as Faker;
4 4
 use GeneaLabs\LaravelModelCaching\Tests\Fixtures\Book;
5 5
 
6
-$factory->define(Book::class, function (Faker $faker) {
6
+$factory->define(Book::class, function(Faker $faker) {
7 7
     return [
8 8
         'title' => $faker->title,
9 9
         'description' => $faker->paragraphs(3, true),
Please login to merge, or discard this patch.
tests/database/factories/AuthorFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 use Faker\Generator as Faker;
4 4
 use GeneaLabs\LaravelModelCaching\Tests\Fixtures\Author;
5 5
 
6
-$factory->define(Author::class, function (Faker $faker) {
6
+$factory->define(Author::class, function(Faker $faker) {
7 7
     return [
8 8
         'name' => $faker->name,
9 9
         'email' => $faker->unique()->safeEmail,
Please login to merge, or discard this patch.
tests/database/migrations/2017_09_21_202000_create_book_store.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 {
8 8
     public function up()
9 9
     {
10
-        Schema::create('book_store', function (Blueprint $table) {
10
+        Schema::create('book_store', function(Blueprint $table) {
11 11
             $table->increments('id');
12 12
             $table->unsignedInteger('book_id');
13 13
             $table->unsignedInteger('store_id');
Please login to merge, or discard this patch.
tests/database/migrations/2017_09_21_200000_create_profiles.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 {
8 8
     public function up()
9 9
     {
10
-        Schema::create('profiles', function (Blueprint $table) {
10
+        Schema::create('profiles', function(Blueprint $table) {
11 11
             $table->increments('id');
12 12
             $table->unsignedInteger('author_id');
13 13
             $table->timestamps();
Please login to merge, or discard this patch.
tests/database/migrations/2017_09_21_201000_create_stores.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 {
8 8
     public function up()
9 9
     {
10
-        Schema::create('stores', function (Blueprint $table) {
10
+        Schema::create('stores', function(Blueprint $table) {
11 11
             $table->increments('id');
12 12
             $table->timestamps();
13 13
 
Please login to merge, or discard this patch.
tests/database/factories/StoreFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 use Faker\Generator as Faker;
4 4
 use GeneaLabs\LaravelModelCaching\Tests\Fixtures\Store;
5 5
 
6
-$factory->define(Store::class, function (Faker $faker) {
6
+$factory->define(Store::class, function(Faker $faker) {
7 7
     return [
8 8
         'address' => $faker->address,
9 9
         'name' => $faker->company,
Please login to merge, or discard this patch.