Test Failed
Pull Request — master (#2)
by Julien
03:38
created
database/factories/TournamentFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 use Xoco70\KendoTournaments\Models\Tournament;
5 5
 use Xoco70\KendoTournaments\Models\Venue;
6 6
 
7
-$factory->define(Tournament::class, function (Faker\Generator $faker) {
7
+$factory->define(Tournament::class, function(Faker\Generator $faker) {
8 8
     $users = User::all()->pluck('id')->toArray();
9 9
     if (count($users) == 0) {
10 10
         $user = factory(\Illuminate\Foundation\Auth\User::class)->create();
Please login to merge, or discard this patch.
database/factories/VenueFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 use Xoco70\KendoTournaments\Models\Venue;
4 4
 
5
-$factory->define(Venue::class, function (Faker\Generator $faker) {
5
+$factory->define(Venue::class, function(Faker\Generator $faker) {
6 6
     return [
7 7
         'venue_name' => $faker->colorName,
8 8
         'address'    => $faker->streetName,
Please login to merge, or discard this patch.
database/factories/PreliminaryFactory.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
 
4 4
 use Xoco70\KendoTournaments\Models\Round;
5 5
 
6
-$factory->define(Round::class, function (Faker\Generator $faker) {
6
+$factory->define(Round::class, function(Faker\Generator $faker) {
7 7
     return [
8 8
 //        'name' => $faker->name,
9 9
 //        'federation_id' => $faker->randomElement($federations),
Please login to merge, or discard this patch.
database/factories/CategoryFactory.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
 
4 4
 use Xoco70\KendoTournaments\Models\Category;
5 5
 
6
-$factory->define(Category::class, function (Faker\Generator $faker) {
6
+$factory->define(Category::class, function(Faker\Generator $faker) {
7 7
     $name = ['categories.junior',
8 8
         'categories.junior_team',
9 9
         'categories.men_single',
Please login to merge, or discard this patch.
database/migrations/2015_12_23_025811_create_ChampionshipSettings_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('championship_settings', function (Blueprint $table) {
15
+        Schema::create('championship_settings', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->integer('championship_id')->unsigned()->unique();
18 18
             $table->foreign('championship_id')
Please login to merge, or discard this patch.
database/migrations/2016_11_23_125509_create_Fight_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('fight', function (Blueprint $table) {
16
+        Schema::create('fight', function(Blueprint $table) {
17 17
             $table->increments('id');
18 18
             $table->integer('round_id')->unsigned()->index();
19 19
             $table->foreign('round_id')
Please login to merge, or discard this patch.
database/migrations/2015_11_01_171759_create_Tournament_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 {
9 9
     public function up()
10 10
     {
11
-        Schema::create('tournament', function (Blueprint $table) {
11
+        Schema::create('tournament', function(Blueprint $table) {
12 12
             $table->increments('id');
13 13
             $table->Integer('user_id')->unsigned()->index();
14 14
             $table->foreign('user_id')
Please login to merge, or discard this patch.
database/migrations/2016_10_24_223706_create_Round_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('round', function (Blueprint $table) {
16
+        Schema::create('round', function(Blueprint $table) {
17 17
             $table->increments('id');
18 18
             $table->integer('championship_id')->unsigned()->index();
19 19
             $table->tinyInteger('area');
Please login to merge, or discard this patch.
database/migrations/2015_12_03_230346_create_Category_table.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('category', function (Blueprint $table) {
15
+        Schema::create('category', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->string('name');
18 18
             $table->string('alias')->default('');
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
             $table->engine = 'InnoDB';
36 36
         });
37 37
 
38
-        Schema::create('championship', function (Blueprint $table) {
38
+        Schema::create('championship', function(Blueprint $table) {
39 39
             $table->increments('id');
40 40
             $table->integer('tournament_id')->unsigned()->index();
41 41
             $table->integer('category_id')->unsigned()->index();
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
             $table->engine = 'InnoDB';
58 58
         });
59 59
 
60
-        Schema::create('competitor', function (Blueprint $table) {
60
+        Schema::create('competitor', function(Blueprint $table) {
61 61
             $table->increments('id');
62 62
             $table->integer('championship_id')->unsigned()->index();
63 63
             $table->foreign('championship_id')
Please login to merge, or discard this patch.