Loading tests/Entity/Post.php +1 −1 Original line number Diff line number Diff line Loading @@ -44,7 +44,7 @@ class Post ?bool $moderated, ?\DateTimeImmutable $createdAt, ?\DateTimeImmutable $updatedAt = null, ?int $countOfViews = null ?int $countOfViews = null, ) { $this->title = $title; $this->content = $content; Loading tests/FilterByRangeTest.php +7 −7 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ class FilterByRangeTest extends TestCase $this->faker->text(), $this->faker->boolean(), DateTimeImmutable::createFromInterface($this->faker->dateTime()), countOfViews: $countOfViews countOfViews: $countOfViews, ); $post2 = new Post( Loading Loading @@ -70,7 +70,7 @@ class FilterByRangeTest extends TestCase $this->faker->text(), $this->faker->boolean(), DateTimeImmutable::createFromInterface($this->faker->dateTime()), countOfViews: $firstCountOfViews countOfViews: $firstCountOfViews, ); $post2 = new Post( Loading @@ -78,7 +78,7 @@ class FilterByRangeTest extends TestCase $this->faker->text(), $this->faker->boolean(), DateTimeImmutable::createFromInterface($this->faker->dateTime()), countOfViews: $secondCountOfViews countOfViews: $secondCountOfViews, ); $this->em->persist($post); Loading Loading @@ -115,7 +115,7 @@ class FilterByRangeTest extends TestCase $this->faker->text(), $this->faker->boolean(), DateTimeImmutable::createFromInterface($this->faker->dateTime()), countOfViews: $firstCountOfViews countOfViews: $firstCountOfViews, ); $post2 = new Post( Loading @@ -123,7 +123,7 @@ class FilterByRangeTest extends TestCase $this->faker->text(), $this->faker->boolean(), DateTimeImmutable::createFromInterface($this->faker->dateTime()), countOfViews: $secondCountOfViews countOfViews: $secondCountOfViews, ); $this->em->persist($post); Loading Loading @@ -160,7 +160,7 @@ class FilterByRangeTest extends TestCase $this->faker->text(), $this->faker->boolean(), DateTimeImmutable::createFromInterface($this->faker->dateTime()), countOfViews: $firstCountOfViews countOfViews: $firstCountOfViews, ); $post2 = new Post( Loading @@ -168,7 +168,7 @@ class FilterByRangeTest extends TestCase $this->faker->text(), $this->faker->boolean(), DateTimeImmutable::createFromInterface($this->faker->dateTime()), countOfViews: $secondCountOfViews countOfViews: $secondCountOfViews, ); $this->em->persist($post); Loading src/Filter/DateRange.php +1 −1 File changed.Contains only whitespace changes. Show changes src/Filter/In.php +1 −1 File changed.Contains only whitespace changes. Show changes Loading
tests/Entity/Post.php +1 −1 Original line number Diff line number Diff line Loading @@ -44,7 +44,7 @@ class Post ?bool $moderated, ?\DateTimeImmutable $createdAt, ?\DateTimeImmutable $updatedAt = null, ?int $countOfViews = null ?int $countOfViews = null, ) { $this->title = $title; $this->content = $content; Loading
tests/FilterByRangeTest.php +7 −7 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ class FilterByRangeTest extends TestCase $this->faker->text(), $this->faker->boolean(), DateTimeImmutable::createFromInterface($this->faker->dateTime()), countOfViews: $countOfViews countOfViews: $countOfViews, ); $post2 = new Post( Loading Loading @@ -70,7 +70,7 @@ class FilterByRangeTest extends TestCase $this->faker->text(), $this->faker->boolean(), DateTimeImmutable::createFromInterface($this->faker->dateTime()), countOfViews: $firstCountOfViews countOfViews: $firstCountOfViews, ); $post2 = new Post( Loading @@ -78,7 +78,7 @@ class FilterByRangeTest extends TestCase $this->faker->text(), $this->faker->boolean(), DateTimeImmutable::createFromInterface($this->faker->dateTime()), countOfViews: $secondCountOfViews countOfViews: $secondCountOfViews, ); $this->em->persist($post); Loading Loading @@ -115,7 +115,7 @@ class FilterByRangeTest extends TestCase $this->faker->text(), $this->faker->boolean(), DateTimeImmutable::createFromInterface($this->faker->dateTime()), countOfViews: $firstCountOfViews countOfViews: $firstCountOfViews, ); $post2 = new Post( Loading @@ -123,7 +123,7 @@ class FilterByRangeTest extends TestCase $this->faker->text(), $this->faker->boolean(), DateTimeImmutable::createFromInterface($this->faker->dateTime()), countOfViews: $secondCountOfViews countOfViews: $secondCountOfViews, ); $this->em->persist($post); Loading Loading @@ -160,7 +160,7 @@ class FilterByRangeTest extends TestCase $this->faker->text(), $this->faker->boolean(), DateTimeImmutable::createFromInterface($this->faker->dateTime()), countOfViews: $firstCountOfViews countOfViews: $firstCountOfViews, ); $post2 = new Post( Loading @@ -168,7 +168,7 @@ class FilterByRangeTest extends TestCase $this->faker->text(), $this->faker->boolean(), DateTimeImmutable::createFromInterface($this->faker->dateTime()), countOfViews: $secondCountOfViews countOfViews: $secondCountOfViews, ); $this->em->persist($post); Loading