Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
brianclogan committed Mar 12, 2024
2 parents 37b1ac3 + 17c3752 commit c36e344
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 5 deletions.
1 change: 1 addition & 0 deletions src/Commands/KeyRotate.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public function handle()
{
if (! File::exists(base_path('.env'))) {
$this->error('The .env file does not exist.');

return 1;
}
$this->info('Rotating the app key...');
Expand Down
2 changes: 0 additions & 2 deletions tests/KeyMigrateTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

use Illuminate\Support\Facades\Artisan;
use Illuminate\Support\Facades\File;
use Illuminate\Foundation\Testing\RefreshDatabase;

uses(RefreshDatabase::class);
Expand Down
1 change: 0 additions & 1 deletion tests/KeyRotateTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php

use Illuminate\Support\Facades\Artisan;
use Illuminate\Support\Facades\File;

it('can run with existing .env', function () {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function definition(): array
{
return [
'name' => $this->faker->name,
'description' => $this->faker->text
'description' => $this->faker->text,
];
}
}
1 change: 0 additions & 1 deletion workbench/database/seeders/DatabaseSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Workbench\Database\Seeders;

use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
use Workbench\App\Models\Folder\Folder2\Test3;
use Workbench\App\Models\Folder\Test2;
Expand Down

0 comments on commit c36e344

Please sign in to comment.