Test Failed
Push — master ( bf81a5...2dcdef )
by Julien
03:10
created
src/models/Round.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@
 block discarded – undo
117 117
 
118 118
     /**
119 119
      * @param Collection $tree
120
-     * @param $settings
120
+     * @param ChampionshipSettings $settings
121 121
      * @param Championship $championship
122 122
      */
123 123
     public static function generateFights(Collection $tree, $settings, Championship $championship = null)
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@
 block discarded – undo
127 127
 
128 128
         // Delete previous fight for this championship
129 129
 
130
-        $arrayTreeId = $tree->map(function ($value, $key) {
130
+        $arrayTreeId = $tree->map(function($value, $key) {
131 131
             return $value->id;
132 132
         })->toArray();
133 133
         Fight::destroy($arrayTreeId);
Please login to merge, or discard this patch.
database/factories/UserFactory.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 App\User;
5 5
 
6
-$factory->define(User::class, function (Faker\Generator $faker) {
6
+$factory->define(User::class, function(Faker\Generator $faker) {
7 7
 
8 8
     $email = $faker->email;
9 9
     return [
Please login to merge, or discard this patch.
database/factories/CompetitorFactory.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\Competitor;
5 5
 use App\User;
6 6
 
7
-$factory->define(Competitor::class, function (Faker\Generator $faker) {
7
+$factory->define(Competitor::class, function(Faker\Generator $faker) {
8 8
     $tcs = Championship::all()->pluck('id')->toArray();
9 9
     $users = User::all()->pluck('id')->toArray();
10 10
 
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
 
8 8
     return [
9 9
 //        'name' => $faker->name,
Please login to merge, or discard this patch.
database/migrations/2017_02_12_000428_create_Round_Competitor_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('competitor_round', function (Blueprint $table) {
16
+        Schema::create('competitor_round', function(Blueprint $table) {
17 17
             $table->increments('id');
18 18
             $table->integer('competitor_id')->unsigned()->index();
19 19
             $table->integer('round_id')->unsigned()->index(); // A checar
Please login to merge, or discard this patch.
database/migrations/2017_02_12_000437_create_Round_Team_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('team_round', function (Blueprint $table) {
16
+        Schema::create('team_round', function(Blueprint $table) {
17 17
             $table->increments('id');
18 18
             $table->integer('team_id')->unsigned()->index();
19 19
             $table->integer('round_id')->unsigned()->index(); // A checar
Please login to merge, or discard this patch.
src/TournamentsServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@
 block discarded – undo
28 28
         $this->publishes([__DIR__ . '/../database/migrations' => $this->app->databasePath() . '/migrations'], 'migrations');
29 29
         $this->publishes([__DIR__ . '/../database/seeds' => $this->app->databasePath() . '/seeds'], 'seeds');
30 30
         $this->publishes([__DIR__ . '/../database/factories' => $this->app->databasePath() . '/factories'], 'seeds');
31
-        $this->publishes([__DIR__ . '/../resources/assets' => public_path('vendor/kendo-tournaments'),], 'assets');
31
+        $this->publishes([__DIR__ . '/../resources/assets' => public_path('vendor/kendo-tournaments'), ], 'assets');
32 32
 
33
-        $router->group(['prefix' => 'kendo-tournaments', 'middleware' => ['web']], function ($router) {
33
+        $router->group(['prefix' => 'kendo-tournaments', 'middleware' => ['web']], function($router) {
34 34
             $router->get('/', 'Xoco70\KendoTournaments\TreeController@index')->name('tree.index');
35 35
             $router->post('/championships/{championship}/trees', 'Xoco70\KendoTournaments\TreeController@store')->name('tree.index');
36 36
         });
Please login to merge, or discard this patch.