Skip to content

Commit af182e3

Browse files
committed
Fix ECS
1 parent 24bbeb2 commit af182e3

4 files changed

Lines changed: 6 additions & 5 deletions

File tree

src/batch-symfony-framework/tests/UserInterface/Controller/JobControllerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -553,8 +553,8 @@ private static function fixtures(int $count, array $attributes = []): void
553553
private static function assertSelectorTextContains(Crawler $crawler, string $selector, string $text): void
554554
{
555555
self::assertThat($crawler, LogicalAnd::fromConstraints(
556-
new DomCrawlerConstraint\CrawlerSelectorExists($selector),
557-
new DomCrawlerConstraint\CrawlerSelectorTextContains($selector, $text),
556+
new DomCrawlerConstraint\CrawlerSelectorExists($selector),
557+
new DomCrawlerConstraint\CrawlerSelectorTextContains($selector, $text),
558558
));
559559
}
560560

src/batch/src/JobExecutionResultFile.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ public function __construct(
1818
public readonly DateTimeInterface|null $jobEndTime,
1919
) {
2020
}
21-
}
21+
}

src/batch/src/Storage/FilesystemJobExecutionStorage.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ private function getResultFiles(Query $query): array
208208
/** @var \SplFileInfo $file */
209209
foreach ($glob as $file) {
210210
$filePathName = $file->getPathname();
211+
211212
try {
212213
$execution = $this->fileToPartialExecution($filePathName);
213214
} catch (Throwable $exception) {
@@ -274,7 +275,7 @@ private function getResultFiles(Query $query): array
274275
},
275276
Query::SORT_BY_END_DESC => static function (
276277
JobExecutionResultFile $left,
277-
JobExecutionResultFile $right
278+
JobExecutionResultFile $right,
278279
): int {
279280
return $right->jobEndTime <=> $left->jobEndTime;
280281
},

src/batch/tests/Storage/FilesystemJobExecutionStorageMemoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ protected function setUp(): void
2626
$this->storage = new FilesystemJobExecutionStorage(
2727
new JsonJobExecutionSerializer(),
2828
new JsonJobExecutionPartialSerializer(),
29-
__DIR__.'/fixtures/filesystem-job-execution-large',
29+
__DIR__ . '/fixtures/filesystem-job-execution-large',
3030
);
3131
}
3232

0 commit comments

Comments
 (0)