Skip to content

Commit 1bf5326

Browse files
committedMar 24, 2025
CS fixes
1 parent 362450f commit 1bf5326

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed
 

‎tests/Api/ProjectsTest.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -713,8 +713,8 @@ public function shouldGetPipelineWithDateParam(): void
713713
['id' => 3, 'status' => 'pending', 'ref' => 'test-pipeline'],
714714
];
715715

716-
$updated_after = new \DateTime('2018-01-01 00:00:00');
717-
$updated_before = new \DateTime('2018-01-31 00:00:00');
716+
$updated_after = new DateTime('2018-01-01 00:00:00');
717+
$updated_before = new DateTime('2018-01-31 00:00:00');
718718

719719
$expectedWithArray = [
720720
'updated_after' => $updated_after->format('Y-m-d'),
@@ -1515,8 +1515,8 @@ public function shouldGetEventsWithDateTimeParams(): void
15151515
['id' => 2, 'title' => 'Another event'],
15161516
];
15171517

1518-
$after = new \DateTime('2018-01-01 00:00:00');
1519-
$before = new \DateTime('2018-01-31 00:00:00');
1518+
$after = new DateTime('2018-01-01 00:00:00');
1519+
$before = new DateTime('2018-01-31 00:00:00');
15201520

15211521
$expectedWithArray = [
15221522
'after' => $after->format('Y-m-d'),
@@ -1757,8 +1757,8 @@ public function shouldGetForksUsingParameters(): void
17571757
],
17581758
],
17591759
];
1760-
$updated_after = new \DateTime('2018-01-01 00:00:00');
1761-
$updated_before = new \DateTime('2018-01-31 00:00:00');
1760+
$updated_after = new DateTime('2018-01-01 00:00:00');
1761+
$updated_before = new DateTime('2018-01-31 00:00:00');
17621762

17631763
$api = $this->getApiMock();
17641764
$api->expects($this->once())

0 commit comments

Comments
 (0)