@@ -20,7 +20,7 @@ |
||
| 20 | 20 | { |
| 21 | 21 | use _generated\AcceptanceTesterActions; |
| 22 | 22 | |
| 23 | - /** |
|
| 24 | - * Define custom actions here |
|
| 25 | - */ |
|
| 23 | + /** |
|
| 24 | + * Define custom actions here |
|
| 25 | + */ |
|
| 26 | 26 | } |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | { |
| 21 | 21 | use _generated\FunctionalTesterActions; |
| 22 | 22 | |
| 23 | - /** |
|
| 24 | - * Define custom actions here |
|
| 25 | - */ |
|
| 23 | + /** |
|
| 24 | + * Define custom actions here |
|
| 25 | + */ |
|
| 26 | 26 | } |
@@ -20,7 +20,7 @@ |
||
| 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 | } |
@@ -101,7 +101,7 @@ |
||
| 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 | |
@@ -101,14 +101,14 @@ |
||
| 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 | |
@@ -11,7 +11,7 @@ |
||
| 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, |
@@ -5,8 +5,8 @@ |
||
| 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'; |
|
@@ -11,7 +11,7 @@ |
||
| 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 | |-------------------------------------------------------------------------- |
@@ -3,41 +3,41 @@ |
||
| 3 | 3 | |
| 4 | 4 | class ArgumentFormat { |
| 5 | 5 | |
| 6 | - /** |
|
| 7 | - * Argument name |
|
| 8 | - * |
|
| 9 | - * @var string |
|
| 10 | - */ |
|
| 11 | - public $name; |
|
| 6 | + /** |
|
| 7 | + * Argument name |
|
| 8 | + * |
|
| 9 | + * @var string |
|
| 10 | + */ |
|
| 11 | + public $name; |
|
| 12 | 12 | |
| 13 | - /** |
|
| 14 | - * One of the types: array, object, string, boolean, number |
|
| 15 | - * |
|
| 16 | - * @var string |
|
| 17 | - */ |
|
| 18 | - public $type; |
|
| 13 | + /** |
|
| 14 | + * One of the types: array, object, string, boolean, number |
|
| 15 | + * |
|
| 16 | + * @var string |
|
| 17 | + */ |
|
| 18 | + public $type; |
|
| 19 | 19 | |
| 20 | - /** |
|
| 21 | - * The default value |
|
| 22 | - * |
|
| 23 | - * @var string |
|
| 24 | - */ |
|
| 25 | - public $default; |
|
| 20 | + /** |
|
| 21 | + * The default value |
|
| 22 | + * |
|
| 23 | + * @var string |
|
| 24 | + */ |
|
| 25 | + public $default; |
|
| 26 | 26 | |
| 27 | - /** |
|
| 28 | - * The separator, by default ":" for object and "," for array. |
|
| 29 | - * |
|
| 30 | - * @var string |
|
| 31 | - */ |
|
| 32 | - public $separator; |
|
| 27 | + /** |
|
| 28 | + * The separator, by default ":" for object and "," for array. |
|
| 29 | + * |
|
| 30 | + * @var string |
|
| 31 | + */ |
|
| 32 | + public $separator; |
|
| 33 | 33 | |
| 34 | - /** |
|
| 35 | - * Specify the format of fields for object |
|
| 36 | - * [ field_name => Format, field_name => Format, ... ] |
|
| 37 | - * Specify the format of an element of array |
|
| 38 | - * |
|
| 39 | - * @var mixed |
|
| 40 | - */ |
|
| 41 | - public $format; |
|
| 34 | + /** |
|
| 35 | + * Specify the format of fields for object |
|
| 36 | + * [ field_name => Format, field_name => Format, ... ] |
|
| 37 | + * Specify the format of an element of array |
|
| 38 | + * |
|
| 39 | + * @var mixed |
|
| 40 | + */ |
|
| 41 | + public $format; |
|
| 42 | 42 | |
| 43 | 43 | } |