Skip to content

Commit

Permalink
refactor: fixed new pint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
erik-perri committed Jan 2, 2025
1 parent e7d1118 commit e2de0c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@

abstract class TestCase extends \Orchestra\Testbench\TestCase
{
//
}
4 changes: 2 additions & 2 deletions tests/Unit/RuleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3208,7 +3208,7 @@ public static function dateProvider(): array

private function mockUserAuth(string $password, ?string $guardName): void
{
$user = new User();
$user = new User;
/** @noinspection PhpUndefinedFieldInspection */
$user->password = $password;

Expand Down Expand Up @@ -3249,7 +3249,7 @@ private function mockFile(string $path, ?string $mimeType = null): File

if ($mimeType) {
// We need to start a new instance in case a guesser was already created for a previous test.
$finder = new MimeTypes();
$finder = new MimeTypes;

$finder->registerGuesser(new class($mimeType) implements MimeTypeGuesserInterface
{
Expand Down

0 comments on commit e2de0c8

Please sign in to comment.