diff --git a/tests/TestCase.php b/tests/TestCase.php index 03ffdf0..bd5f98c 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -6,4 +6,5 @@ abstract class TestCase extends \Orchestra\Testbench\TestCase { + // } diff --git a/tests/Unit/RuleTest.php b/tests/Unit/RuleTest.php index 7a0b2e1..0ee74c8 100644 --- a/tests/Unit/RuleTest.php +++ b/tests/Unit/RuleTest.php @@ -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; @@ -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 {