Skip to content

Commit ed584d7

Browse files
authored
Merge pull request #1576 from garak/fix-cs
🎨 fix coding standard
2 parents f495b23 + 416cf7f commit ed584d7

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

docker/Dockerfile85

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
FROM php:8.5.0-alpine
1+
FROM php:8.5-alpine
22

3-
ARG MONGODB_VERSION=2.1.4
3+
ARG MONGODB_VERSION=2.1.8
44

55
# Install mongo
66
RUN set -eux; \

tests/Form/Type/VichFileTypeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function testBuildView(?Product $object, array $options, array $vars): vo
6060
$config = $this->createMock(FormConfigInterface::class);
6161
$config
6262
->method('getOption')
63-
->willReturnCallback(fn (string $key) => $options[$key] ?? null);
63+
->willReturnCallback(static fn (string $key) => $options[$key] ?? null);
6464

6565
$form = $this->createMock(FormInterface::class);
6666
$form

tests/Handler/UploadHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ protected function expectEvents(array $events): void
344344
$this->dispatcher
345345
->expects(self::exactly(\count($events)))
346346
->method('dispatch')
347-
->willReturnCallback(fn (object $event, string $eventName): object => $event)
347+
->willReturnCallback(static fn (object $event, string $eventName): object => $event)
348348
;
349349
}
350350
}

0 commit comments

Comments
 (0)