Completed
Push — master ( 1208ac...1f244b )
by Anton
03:44 queued 01:52
created
application/modules/test/controllers/reflection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
  * @route /test-reflection.html
23 23
  * @return array
24 24
  */
25
-return function ($id = 0, $other = "default value") {
25
+return function($id = 0, $other = "default value") {
26 26
     /**
27 27
      * @var Controller $this
28 28
      */
Please login to merge, or discard this patch.
application/modules/test/controllers/cookies.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
 /**
15 15
  * @return void
16 16
  */
17
-return function () {
17
+return function() {
18 18
     /**
19 19
      * @var Controller $this
20 20
      */
Please login to merge, or discard this patch.
application/modules/test/controllers/session.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 /**
17 17
  * @return array
18 18
  */
19
-return function () {
19
+return function() {
20 20
     /**
21 21
      * @var Controller $this
22 22
      */
Please login to merge, or discard this patch.
application/modules/test/controllers/ajax-html.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
 /**
15 15
  * @return void
16 16
  */
17
-return function () {
17
+return function() {
18 18
     /**
19 19
      * @var Controller $this
20 20
      */
Please login to merge, or discard this patch.
application/modules/test/controllers/cache-data.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
  * @return void
19 19
  * @throws \Exception
20 20
  */
21
-return function ($id = null) {
21
+return function($id = null) {
22 22
     /**
23 23
      * @var Controller $this
24 24
      */
Please login to merge, or discard this patch.
application/modules/test/controllers/widgets/lorem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 /**
17 17
  * @return void
18 18
  */
19
-return function () {
19
+return function() {
20 20
     echo <<<LOREM
21 21
 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus rutrum,
22 22
 lectus eu varius consectetur, libero velit hendrerit augue, ut posuere enim neque
Please login to merge, or discard this patch.
data/migrations/20170317111111_module_test.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,9 +37,9 @@
 block discarded – undo
37 37
     {
38 38
         $table = $this->table('test');
39 39
         $table
40
-            ->addColumn('name', 'string', ['length' => 255])
41
-            ->addColumn('email', 'string', ['length' => 255, 'null' => true])
42
-            ->addColumn('status', 'enum', ['values' => ['active', 'disable', 'delete']])
40
+            ->addColumn('name', 'string', [ 'length' => 255 ])
41
+            ->addColumn('email', 'string', [ 'length' => 255, 'null' => true ])
42
+            ->addColumn('status', 'enum', [ 'values' => [ 'active', 'disable', 'delete' ] ])
43 43
             ->addTimestamps('created', 'updated')
44 44
             ->create();
45 45
 
Please login to merge, or discard this patch.
application/modules/test/controllers/route-with-param.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
  * @param string $a
21 21
  * @return false
22 22
  */
23
-return function ($a = '42') {
23
+return function($a = '42') {
24 24
     /**
25 25
      * @var Controller $this
26 26
      */
Please login to merge, or discard this patch.
data/seeds/TestSeeder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -16,12 +16,12 @@
 block discarded – undo
16 16
     {
17 17
         $faker = Faker\Factory::create();
18 18
 
19
-        $data = [];
19
+        $data = [ ];
20 20
         for ($i = 0; $i < 100; $i++) {
21
-            $data[] = [
21
+            $data[ ] = [
22 22
                 'name'    => $faker->userName,
23 23
                 'email'   => $faker->email,
24
-                'status'  => array_rand(['active' => 1, 'disable' => 2, 'delete' => 3]),
24
+                'status'  => array_rand([ 'active' => 1, 'disable' => 2, 'delete' => 3 ]),
25 25
                 'created' => date('Y-m-d H:i:s'),
26 26
             ];
27 27
         }
Please login to merge, or discard this patch.