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 | 10 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | public function up() |
||
| 14 | { |
||
| 15 | \Schema::create('notifications', function (Blueprint $table) { |
||
| 16 | $table->increments('id'); |
||
| 17 | $table->unsignedInteger('account_id')->nullable(); |
||
| 18 | $table->integer('level')->nullable(); |
||
| 19 | $table->string('message'); |
||
| 20 | $table->timestamp('read_at')->nullable(); |
||
| 21 | $table->softDeletes(); |
||
| 22 | $table->timestamps(); |
||
| 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.