Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
gam6itko committed Mar 15, 2024
1 parent 328e2dd commit 11a2e04
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions tests/src/Unit/Checkers/DatetimeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
namespace Spiral\Validator\Tests\Unit\Checkers;

use PHPUnit\Framework\TestCase;
use Spiral\Validation\ValidatorInterface;
use Spiral\Validator\Checker\DatetimeChecker;

final class DatetimeTest extends TestCase
Expand Down Expand Up @@ -120,10 +121,10 @@ public function futureProvider(): array

/**
* @dataProvider pastProvider
* @param bool $expected
* @param bool $expected
* @param mixed $value
* @param bool $orNow
* @param bool $useMicroseconds
* @param bool $orNow
* @param bool $useMicroseconds
*/
public function testPast(bool $expected, $value, bool $orNow, bool $useMicroseconds): void
{
Expand Down Expand Up @@ -170,8 +171,8 @@ public function pastProvider(): array

/**
* @dataProvider formatProvider
* @param bool $expected
* @param mixed $value
* @param bool $expected
* @param mixed $value
* @param string $format
*/
public function testFormat(bool $expected, $value, string $format): void
Expand Down Expand Up @@ -207,7 +208,7 @@ public function formatProvider(): array

/**
* @dataProvider validProvider
* @param bool $expected
* @param bool $expected
* @param mixed $value
*/
public function testValid(bool $expected, mixed $value): void
Expand Down Expand Up @@ -281,11 +282,11 @@ public function testTimezone(): void

/**
* @dataProvider beforeProvider
* @param bool $expected
* @param bool $expected
* @param mixed $value
* @param mixed $threshold
* @param bool $orEquals
* @param bool $useMicroseconds
* @param bool $orEquals
* @param bool $useMicroseconds
*/
public function testBefore(bool $expected, $value, $threshold, bool $orEquals, bool $useMicroseconds): void
{
Expand Down Expand Up @@ -347,11 +348,11 @@ public function beforeProvider(): array

/**
* @dataProvider afterProvider
* @param bool $expected
* @param bool $expected
* @param mixed $value
* @param mixed $threshold
* @param bool $orEquals
* @param bool $useMicroseconds
* @param bool $orEquals
* @param bool $useMicroseconds
*/
public function testAfter(bool $expected, $value, $threshold, bool $orEquals, bool $useMicroseconds): void
{
Expand Down

0 comments on commit 11a2e04

Please sign in to comment.