Passed
Push — master ( 0f5253...9796fd )
by Karel
08:02
created
database/migrations/2018_01_01_000002_create_sites_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('sites', function (Blueprint $table) {
16
+        Schema::create('sites', function(Blueprint $table) {
17 17
             $table->increments('id');
18 18
             $table->string('name');
19 19
             $table->string('slug');
Please login to merge, or discard this patch.
database/migrations/2018_12_05_011300_add_page_field_to_pages_table.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::table('pages', function (Blueprint $table) {
16
+        Schema::table('pages', function(Blueprint $table) {
17 17
             $table->string('page')->nullable()->default(null)->after('template_id');
18 18
         });
19 19
     }
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      */
26 26
     public function down()
27 27
     {
28
-        Schema::table('pages', function (Blueprint $table) {
28
+        Schema::table('pages', function(Blueprint $table) {
29 29
             $table->dropColumn('page');
30 30
         });
31 31
     }
Please login to merge, or discard this patch.
database/migrations/2017_12_25_163145_create_page_blocks_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('page_blocks', function (Blueprint $table) {
16
+        Schema::create('page_blocks', function(Blueprint $table) {
17 17
             $table->increments('id');
18 18
             $table->integer('page_id');
19 19
             $table->string('name');
Please login to merge, or discard this patch.
migrations/2018_01_01_000001_add_active_token_field_to_users_table.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::table('users', function (Blueprint $table) {
16
+        Schema::table('users', function(Blueprint $table) {
17 17
             $table->string('token', 24)->unique()->after('remember_token');
18 18
             $table->tinyInteger('active')->default(0)->after('token');
19 19
         });
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
      */
28 28
     public function down()
29 29
     {
30
-        Schema::table('users', function (Blueprint $table) {
30
+        Schema::table('users', function(Blueprint $table) {
31 31
             $table->dropColumn('token');
32 32
             $table->dropColumn('active');
33 33
         });
Please login to merge, or discard this patch.
database/migrations/2018_01_01_000000_create_permission_tables.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -15,21 +15,21 @@  discard block
 block discarded – undo
15 15
     {
16 16
         $tableNames = config('permission.table_names');
17 17
 
18
-        Schema::create($tableNames['permissions'], function (Blueprint $table) {
18
+        Schema::create($tableNames['permissions'], function(Blueprint $table) {
19 19
             $table->increments('id');
20 20
             $table->string('name');
21 21
             $table->string('guard_name');
22 22
             $table->timestamps();
23 23
         });
24 24
 
25
-        Schema::create($tableNames['roles'], function (Blueprint $table) {
25
+        Schema::create($tableNames['roles'], function(Blueprint $table) {
26 26
             $table->increments('id');
27 27
             $table->string('name');
28 28
             $table->string('guard_name');
29 29
             $table->timestamps();
30 30
         });
31 31
 
32
-        Schema::create($tableNames['model_has_permissions'], function (Blueprint $table) use ($tableNames) {
32
+        Schema::create($tableNames['model_has_permissions'], function(Blueprint $table) use ($tableNames) {
33 33
             $table->unsignedInteger('permission_id');
34 34
             $table->morphs('model');
35 35
 
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
             $table->primary(['permission_id', 'model_id', 'model_type']);
42 42
         });
43 43
 
44
-        Schema::create($tableNames['model_has_roles'], function (Blueprint $table) use ($tableNames) {
44
+        Schema::create($tableNames['model_has_roles'], function(Blueprint $table) use ($tableNames) {
45 45
             $table->unsignedInteger('role_id');
46 46
             $table->morphs('model');
47 47
 
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
             $table->primary(['role_id', 'model_id', 'model_type']);
54 54
         });
55 55
 
56
-        Schema::create($tableNames['role_has_permissions'], function (Blueprint $table) use ($tableNames) {
56
+        Schema::create($tableNames['role_has_permissions'], function(Blueprint $table) use ($tableNames) {
57 57
             $table->unsignedInteger('permission_id');
58 58
             $table->unsignedInteger('role_id');
59 59
 
Please login to merge, or discard this patch.
database/migrations/2018_11_18_182300_create_modules_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('modules', function (Blueprint $table) {
16
+        Schema::create('modules', function(Blueprint $table) {
17 17
             $table->increments('id');
18 18
             $table->string('name');
19 19
             $table->string('slug');
Please login to merge, or discard this patch.
migrations/2018_11_04_011300_add_url_and_page_field_to_repeaters_table.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::table('repeaters', function (Blueprint $table) {
16
+        Schema::table('repeaters', function(Blueprint $table) {
17 17
             $table->string('url')->nullable()->default(null)->after('slug');
18 18
             $table->string('page')->nullable()->default('default')->after('url');
19 19
         });
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
      */
28 28
     public function down()
29 29
     {
30
-        Schema::table('repeaters', function (Blueprint $table) {
30
+        Schema::table('repeaters', function(Blueprint $table) {
31 31
             $table->dropColumn('url');
32 32
             $table->dropColumn('page');
33 33
         });
Please login to merge, or discard this patch.
database/migrations/2017_12_27_164940_create_repeaters_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('repeaters', function (Blueprint $table) {
16
+        Schema::create('repeaters', function(Blueprint $table) {
17 17
             $table->increments('id');
18 18
             $table->string('slug');
19 19
             $table->longText('json');
Please login to merge, or discard this patch.
assets/plugins/jquery-datatable/extensions/Scroller/examples/data/ssp.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -29,11 +29,11 @@  discard block
 block discarded – undo
29 29
 // parameter represents the DataTables column identifier. In this case simple
30 30
 // indexes
31 31
 $columns = array(
32
-	array( 'db' => 'id',         'dt' => 0 ),
33
-	array( 'db' => 'firstname',  'dt' => 1 ),
34
-	array( 'db' => 'surname',    'dt' => 2 ),
35
-	array( 'db' => 'zip',        'dt' => 3 ),
36
-	array( 'db' => 'country',    'dt' => 4 )
32
+	array('db' => 'id', 'dt' => 0),
33
+	array('db' => 'firstname', 'dt' => 1),
34
+	array('db' => 'surname', 'dt' => 2),
35
+	array('db' => 'zip', 'dt' => 3),
36
+	array('db' => 'country', 'dt' => 4)
37 37
 );
38 38
 
39 39
 // SQL server connection information
@@ -50,9 +50,9 @@  discard block
 block discarded – undo
50 50
  * server-side, there is no need to edit below this line.
51 51
  */
52 52
 
53
-require( '../../../../examples/server_side/scripts/ssp.class.php' );
53
+require('../../../../examples/server_side/scripts/ssp.class.php');
54 54
 
55 55
 echo json_encode(
56
-	SSP::simple( $_GET, $sql_details, $table, $primaryKey, $columns )
56
+	SSP::simple($_GET, $sql_details, $table, $primaryKey, $columns)
57 57
 );
58 58
 
Please login to merge, or discard this patch.