🤖 Auto commit for release 'develop' on 2025-05-29

This commit is contained in:
JC5
2025-05-29 19:58:55 +02:00
parent 2e69e09808
commit 36ab188ad1
55 changed files with 240 additions and 198 deletions

View File

@@ -73,7 +73,7 @@ final class CalculatorTest extends TestCase
{
$calculator = new Calculator();
$period = $calculator->nextDateByInterval($provider->epoch(), $provider->periodicity);
$this->assertSame($provider->expected()->toDateString(), $period->toDateString());
self::assertSame($provider->expected()->toDateString(), $period->toDateString());
}
public static function provideAllPeriodicity(): iterable
@@ -102,7 +102,7 @@ final class CalculatorTest extends TestCase
{
$calculator = new Calculator();
$period = $calculator->nextDateByInterval($provider->epoch(), $provider->periodicity, $provider->skip);
$this->assertSame($provider->expected()->toDateString(), $period->toDateString());
self::assertSame($provider->expected()->toDateString(), $period->toDateString());
}
public static function provideSkippedIntervals(): iterable

View File

@@ -36,7 +36,7 @@ abstract class IntervalTestCase extends TestCase
public function testGivenAnEpochWhenCallTheNextDateThenReturnsTheExpectedDateSuccessful(IntervalProvider $provider): void
{
$period = static::factory()->nextDate($provider->epoch);
$this->assertSame($provider->expected->toDateString(), $period->toDateString());
self::assertSame($provider->expected->toDateString(), $period->toDateString());
}
public static function provider(): iterable