From c5cedb8bd65f1180bdba1091213ba6343c089596 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Fri, 5 Sep 2025 18:34:37 +0200 Subject: [PATCH] fix cs --- .../tests/Service/Import/ImportMotivesFromDirectoryTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bundle/ChillTicketBundle/tests/Service/Import/ImportMotivesFromDirectoryTest.php b/src/Bundle/ChillTicketBundle/tests/Service/Import/ImportMotivesFromDirectoryTest.php index 0553901b0..b86d471a8 100644 --- a/src/Bundle/ChillTicketBundle/tests/Service/Import/ImportMotivesFromDirectoryTest.php +++ b/src/Bundle/ChillTicketBundle/tests/Service/Import/ImportMotivesFromDirectoryTest.php @@ -57,7 +57,7 @@ YAML; $emProphecy = $this->prophesize(EntityManagerInterface::class); // persist should be called for StoredObject and Motive at least once $emProphecy->persist(Argument::type(StoredObject::class))->shouldBeCalled(); - $emProphecy->persist(Argument::that(fn($arg) => + $emProphecy->persist(Argument::that(fn ($arg) => // Motive class is in another namespace; just check it's an object with setLabel method \is_object($arg) && method_exists($arg, 'setLabel')))->shouldBeCalled(); $emProphecy->flush()->shouldBeCalled();