We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -13,13 +13,13 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('roles', function (Blueprint $table) { |
|
| 16 | + Schema::create('roles', function(Blueprint $table) { |
|
| 17 | 17 | $table->increments('id'); |
| 18 | 18 | $table->string('name')->unique(); |
| 19 | 19 | $table->timestamps(); |
| 20 | 20 | }); |
| 21 | 21 | |
| 22 | - Schema::create('user_role', function (Blueprint $table) { |
|
| 22 | + Schema::create('user_role', function(Blueprint $table) { |
|
| 23 | 23 | $table->integer('user_id')->length(10)->unsigned(); |
| 24 | 24 | $table->integer('role_id')->length(10)->unsigned(); |
| 25 | 25 | $table->timestamps(); |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | */ |
| 13 | 13 | public function up() |
| 14 | 14 | { |
| 15 | - Schema::create('articles', function ($table) { |
|
| 15 | + Schema::create('articles', function($table) { |
|
| 16 | 16 | $table->increments('id'); |
| 17 | 17 | $table->integer('user_id')->length(10)->unsigned(); |
| 18 | 18 | $table->string('content'); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('account_details', function (Blueprint $table) { |
|
| 16 | + Schema::create('account_details', function(Blueprint $table) { |
|
| 17 | 17 | $table->increments('id'); |
| 18 | 18 | $table->integer('user_id')->length(10)->unsigned(); |
| 19 | 19 | $table->string('nickname'); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('users', function (Blueprint $table) { |
|
| 16 | + Schema::create('users', function(Blueprint $table) { |
|
| 17 | 17 | $table->increments('id'); |
| 18 | 18 | $table->string('name'); |
| 19 | 19 | $table->string('email')->unique(); |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | // uncomment the next statement to map strings to enum types in doctrine and get over the 'Unknown database type enum' DBAL error |
| 16 | 16 | // Schema::getConnection()->getDoctrineSchemaManager()->getDatabasePlatform()->registerDoctrineTypeMapping('enum', 'string'); |
| 17 | 17 | |
| 18 | - Schema::create('column_types', function ($table) { |
|
| 18 | + Schema::create('column_types', function($table) { |
|
| 19 | 19 | $table->bigInteger('bigIntegerCol'); |
| 20 | 20 | $table->binary('binaryCol'); |
| 21 | 21 | $table->boolean('booleanCol'); |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | $sourceFile = $this->sourcePath.$file.'.blade.php'; |
| 74 | 74 | $copiedFile = $this->destinationPath.$file.'.blade.php'; |
| 75 | 75 | |
| 76 | - if (! file_exists($sourceFile)) { |
|
| 76 | + if (!file_exists($sourceFile)) { |
|
| 77 | 77 | return $this->error( |
| 78 | 78 | 'Cannot find source view file at ' |
| 79 | 79 | .$sourceFile. |
@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | if ($canCopy) { |
| 94 | 94 | $path = pathinfo($copiedFile); |
| 95 | 95 | |
| 96 | - if (! file_exists($path['dirname'])) { |
|
| 96 | + if (!file_exists($path['dirname'])) { |
|
| 97 | 97 | mkdir($path['dirname'], 0755, true); |
| 98 | 98 | } |
| 99 | 99 | |
@@ -33,15 +33,15 @@ |
||
| 33 | 33 | { |
| 34 | 34 | $this->info('Creating a new user'); |
| 35 | 35 | |
| 36 | - if (! $name = $this->option('name')) { |
|
| 36 | + if (!$name = $this->option('name')) { |
|
| 37 | 37 | $name = $this->ask('Name'); |
| 38 | 38 | } |
| 39 | 39 | |
| 40 | - if (! $email = $this->option('email')) { |
|
| 40 | + if (!$email = $this->option('email')) { |
|
| 41 | 41 | $email = $this->ask('Email'); |
| 42 | 42 | } |
| 43 | 43 | |
| 44 | - if (! $password = $this->option('password')) { |
|
| 44 | + if (!$password = $this->option('password')) { |
|
| 45 | 45 | $password = $this->secret('Password'); |
| 46 | 46 | } |
| 47 | 47 | |
@@ -48,7 +48,7 @@ |
||
| 48 | 48 | $separator = $config['separator']; |
| 49 | 49 | $attribute = $attribute.'->'.$this->getLocale(); |
| 50 | 50 | |
| 51 | - return $query->where(function (Builder $q) use ($attribute, $slug, $separator) { |
|
| 51 | + return $query->where(function(Builder $q) use ($attribute, $slug, $separator) { |
|
| 52 | 52 | $q->where($attribute, '=', $slug) |
| 53 | 53 | ->orWhere($attribute, 'LIKE', $slug.$separator.'%') |
| 54 | 54 | // Fixes issues with Json data types in MySQL where data is sourrounded by " |
@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | */ |
| 22 | 22 | public function getTitle($action = false) |
| 23 | 23 | { |
| 24 | - if (! $action) { |
|
| 24 | + if (!$action) { |
|
| 25 | 25 | $action = $this->getActionMethod(); |
| 26 | 26 | } |
| 27 | 27 | |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | */ |
| 39 | 39 | public function setTitle($string, $action = false) |
| 40 | 40 | { |
| 41 | - if (! $action) { |
|
| 41 | + if (!$action) { |
|
| 42 | 42 | $action = $this->getActionMethod(); |
| 43 | 43 | } |
| 44 | 44 | |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | */ |
| 59 | 59 | public function getHeading($action = false) |
| 60 | 60 | { |
| 61 | - if (! $action) { |
|
| 61 | + if (!$action) { |
|
| 62 | 62 | $action = $this->getActionMethod(); |
| 63 | 63 | } |
| 64 | 64 | |
@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | */ |
| 76 | 76 | public function setHeading($string, $action = false) |
| 77 | 77 | { |
| 78 | - if (! $action) { |
|
| 78 | + if (!$action) { |
|
| 79 | 79 | $action = $this->getActionMethod(); |
| 80 | 80 | } |
| 81 | 81 | |
@@ -95,7 +95,7 @@ discard block |
||
| 95 | 95 | */ |
| 96 | 96 | public function getSubheading($action = false) |
| 97 | 97 | { |
| 98 | - if (! $action) { |
|
| 98 | + if (!$action) { |
|
| 99 | 99 | $action = $this->getActionMethod(); |
| 100 | 100 | } |
| 101 | 101 | |
@@ -112,7 +112,7 @@ discard block |
||
| 112 | 112 | */ |
| 113 | 113 | public function setSubheading($string, $action = false) |
| 114 | 114 | { |
| 115 | - if (! $action) { |
|
| 115 | + if (!$action) { |
|
| 116 | 116 | $action = $this->getActionMethod(); |
| 117 | 117 | } |
| 118 | 118 | |