Skip to content

Commit

Permalink
pr fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
joelclermont committed Dec 18, 2023
1 parent 6a1a0d0 commit 958a074
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 102 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
.env
.env.backup
.phpstan.cache
.phpunit.cache
.phpunit.result.cache
.php-cs-fixer.cache
auth.json
npm-debug.log
Expand Down
1 change: 0 additions & 1 deletion .phpunit.result.cache

This file was deleted.

33 changes: 0 additions & 33 deletions app/Models/Permission.php

This file was deleted.

30 changes: 0 additions & 30 deletions app/Models/Role.php

This file was deleted.

10 changes: 2 additions & 8 deletions database/migrations/2014_10_12_000000_create_users_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@

return new class extends Migration
{
/**
* Run the migrations.
*/
public function up()
public function up(): void
{
Schema::create('users', function (Blueprint $table) {
$table->id();
Expand All @@ -24,10 +21,7 @@ public function up()
});
}

/**
* Reverse the migrations.
*/
public function down()
public function down(): void
{
Schema::dropIfExists('users');
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@

return new class extends Migration
{
/**
* Run the migrations.
*/
public function up()
public function up(): void
{
Schema::create('password_resets', function (Blueprint $table) {
$table->string('email')->index();
Expand All @@ -20,10 +17,7 @@ public function up()
});
}

/**
* Reverse the migrations.
*/
public function down()
public function down(): void
{
Schema::dropIfExists('password_resets');
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@

return new class extends Migration
{
/**
* Run the migrations.
*/
public function up()
public function up(): void
{
Schema::create('failed_jobs', function (Blueprint $table) {
$table->id();
Expand All @@ -24,10 +21,7 @@ public function up()
});
}

/**
* Reverse the migrations.
*/
public function down()
public function down(): void
{
Schema::dropIfExists('failed_jobs');
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@

return new class extends Migration
{
/**
* Run the migrations.
*/
public function up()
public function up(): void
{
Schema::create('personal_access_tokens', function (Blueprint $table) {
$table->id();
Expand All @@ -24,10 +21,7 @@ public function up()
});
}

/**
* Reverse the migrations.
*/
public function down()
public function down(): void
{
Schema::dropIfExists('personal_access_tokens');
}
Expand Down
5 changes: 1 addition & 4 deletions tests/Feature/ExampleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@

class ExampleTest extends FeatureTestCase
{
/**
* A basic test example.
*/
public function testHomeSuccess()
public function testHomeSuccess(): void
{
$response = $this->get('/');

Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/ExampleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class ExampleTest extends UnitTestCase
{
public function testTrueIsTrue()
public function testTrueIsTrue(): void
{
self::assertTrue(true);
}
Expand Down

0 comments on commit 958a074

Please sign in to comment.