Completed
Push — master ( 9a30da...057199 )
by Amine
02:09
created
lumen-test/tests/_support/UnitTester.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 {
21 21
     use _generated\UnitTesterActions;
22 22
 
23
-   /**
24
-    * Define custom actions here
25
-    */
23
+    /**
24
+     * Define custom actions here
25
+     */
26 26
 }
Please login to merge, or discard this patch.
lumen-test/tests/acceptance/ModelCommandCept.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
 "    public static \$rules = [\n" .
102 102
 "        \"name\" => \"required\"," . PHP_EOL .
103 103
 "        \"age\" => \"integer|min:13\"," . PHP_EOL .
104
-"        \"email\" => \"email|unique:users,email_address\",\n".
104
+"        \"email\" => \"email|unique:users,email_address\",\n" .
105 105
 "    ];"
106 106
 );
107 107
 
Please login to merge, or discard this patch.
lumen-test/tests/acceptance/ResourceCommandCept.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -14,10 +14,10 @@  discard block
 block discarded – undo
14 14
 $I->seeInThisFile('protected $fillable = ["name", "descr", "due", "project_id", "user_id"];');
15 15
 $I->seeInThisFile('protected $dates = ["due"];');
16 16
 $I->seeInThisFile(
17
-"public static \$rules = [\n".
17
+"public static \$rules = [\n" .
18 18
 "        \"name\" => \"requied\"," . PHP_EOL .
19 19
 "        \"project_id\" => \"required|numeric\"," . PHP_EOL .
20
-"        \"user_id\" => \"required|numeric\",\n".
20
+"        \"user_id\" => \"required|numeric\",\n" .
21 21
 "    ];");
22 22
 $I->seeInThisFile(
23 23
 '    public function tags()
@@ -47,19 +47,19 @@  discard block
 block discarded – undo
47 47
 $I->openFile('./database/migrations/create_task_categories.php');
48 48
 
49 49
 $I->seeInThisFile('class CreateTaskCategoriesTable extends Migration');
50
-$I->seeInThisFile("Schema::create('task_categories', function(Blueprint \$table) {\n".
51
-"            \$table->increments('id');\n".
50
+$I->seeInThisFile("Schema::create('task_categories', function(Blueprint \$table) {\n" .
51
+"            \$table->increments('id');\n" .
52 52
 "            \$table->string('name')->unique();" . PHP_EOL .
53 53
 "            \$table->text('descr')->nullable();" . PHP_EOL .
54 54
 "            \$table->timestamp('due');" . PHP_EOL .
55
-"            \$table->integer('project_id')->unsigned();" . PHP_EOL.
55
+"            \$table->integer('project_id')->unsigned();" . PHP_EOL .
56 56
 "            \$table->integer('user_id')->unsigned();\n" .
57
-"            \$table->foreign('project_id')\n".
58
-"                ->references('id')\n".
57
+"            \$table->foreign('project_id')\n" .
58
+"                ->references('id')\n" .
59 59
 "                ->on('projects');" . PHP_EOL .
60
-"            \$table->foreign('user_id')\n".
61
-"                ->references('id')\n".
62
-"                ->on('users');\n".
60
+"            \$table->foreign('user_id')\n" .
61
+"                ->references('id')\n" .
62
+"                ->on('users');\n" .
63 63
 "            \$table->timestamps();");
64 64
 
65 65
 $I->deleteFile('./database/migrations/create_task_categories.php');
Please login to merge, or discard this patch.
lumen-test/tests/acceptance/MigrationCommandCept.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -101,14 +101,14 @@
 block discarded – undo
101 101
 $I->seeFileFound('./database/migrations/create_tasks.php');
102 102
 $I->openFile('./database/migrations/create_tasks.php');
103 103
 $I->seeInThisFile(
104
-"\$table->foreign('category_type_id')\n".
105
-"                ->references('id')\n".
104
+"\$table->foreign('category_type_id')\n" .
105
+"                ->references('id')\n" .
106 106
 "                ->on('category_types');"
107 107
 );
108 108
 $I->seeInThisFile(
109
-"\$table->foreign('user_id')\n".
110
-"                ->references('identifier')\n".
111
-"                ->on('members')". PHP_EOL .
109
+"\$table->foreign('user_id')\n" .
110
+"                ->references('identifier')\n" .
111
+"                ->on('members')" . PHP_EOL .
112 112
 "                ->onDelete('cascade');");
113 113
 $I->deleteFile('./database/migrations/create_tasks.php');
114 114
 
Please login to merge, or discard this patch.
lumen-test/database/factories/ModelFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 |
12 12
 */
13 13
 
14
-$factory->define(App\User::class, function ($faker) {
14
+$factory->define(App\User::class, function($faker) {
15 15
     return [
16 16
         'name' => $faker->name,
17 17
         'email' => $faker->email,
Please login to merge, or discard this patch.
lumen-test/server.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,8 +5,8 @@
 block discarded – undo
5 5
 // This file allows us to emulate Apache's "mod_rewrite" functionality from the
6 6
 // built-in PHP web server. This provides a convenient way to test a Lumen
7 7
 // application without having installed a "real" server software here.
8
-if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) {
8
+if ($uri !== '/' && file_exists(__DIR__ . '/public' . $uri)) {
9 9
     return false;
10 10
 }
11 11
 
12
-require_once __DIR__.'/public/index.php';
12
+require_once __DIR__ . '/public/index.php';
Please login to merge, or discard this patch.
lumen-test/app/Http/routes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,6 +11,6 @@
 block discarded – undo
11 11
 |
12 12
 */
13 13
 
14
-$app->get("/", function () use ($app) {
14
+$app->get("/", function() use ($app) {
15 15
     return $app->welcome();
16 16
 });
Please login to merge, or discard this patch.
lumen-test/public/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 |
12 12
 */
13 13
 
14
-$app = require __DIR__.'/../bootstrap/app.php';
14
+$app = require __DIR__ . '/../bootstrap/app.php';
15 15
 
16 16
 /*
17 17
 |--------------------------------------------------------------------------
Please login to merge, or discard this patch.
lumen-test/tests/_support/FunctionalTester.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 {
21 21
     use _generated\UnitTesterActions;
22 22
 
23
-   /**
24
-    * Define custom actions here
25
-    */
23
+    /**
24
+     * Define custom actions here
25
+     */
26 26
 }
Please login to merge, or discard this patch.