We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | public function up() |
||
| 15 | { |
||
| 16 | Schema::create('sessions', function (Blueprint $table) { |
||
| 17 | $table->string('id')->unique(); |
||
| 18 | $table->integer('user_id')->nullable(); |
||
| 19 | $table->string('ip_address', 45)->nullable(); |
||
| 20 | $table->text('user_agent')->nullable(); |
||
| 21 | $table->text('payload'); |
||
| 22 | $table->integer('last_activity'); |
||
| 23 | }); |
||
| 36 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.