@@ -184,8 +184,8 @@ public function testDontValidateIfNoValidationGroups()
184184 $ object = new \stdClass ();
185185
186186 $ form = $ this ->getBuilder ('name ' , '\stdClass ' , [
187- 'validation_groups ' => [],
188- ])
187+ 'validation_groups ' => [],
188+ ])
189189 ->setData ($ object )
190190 ->setCompound (true )
191191 ->setDataMapper (new DataMapper ())
@@ -256,12 +256,12 @@ public function testDontValidateIfNotSynchronized()
256256 $ object = new \stdClass ();
257257
258258 $ form = $ this ->getBuilder ('name ' , '\stdClass ' , [
259- 'invalid_message ' => 'invalid_message_key ' ,
260- // Invalid message parameters must be supported, because the
261- // invalid message can be a translation key
262- // see https://github.com/symfony/symfony/issues/5144
263- 'invalid_message_parameters ' => ['{{ foo }} ' => 'bar ' ],
264- ])
259+ 'invalid_message ' => 'invalid_message_key ' ,
260+ // Invalid message parameters must be supported, because the
261+ // invalid message can be a translation key
262+ // see https://github.com/symfony/symfony/issues/5144
263+ 'invalid_message_parameters ' => ['{{ foo }} ' => 'bar ' ],
264+ ])
265265 ->setData ($ object )
266266 ->addViewTransformer (new CallbackTransformer (
267267 static fn ($ data ) => $ data ,
@@ -292,13 +292,13 @@ public function testAddInvalidErrorEvenIfNoValidationGroups()
292292 $ object = new \stdClass ();
293293
294294 $ form = $ this ->getBuilder ('name ' , '\stdClass ' , [
295- 'invalid_message ' => 'invalid_message_key ' ,
296- // Invalid message parameters must be supported, because the
297- // invalid message can be a translation key
298- // see https://github.com/symfony/symfony/issues/5144
299- 'invalid_message_parameters ' => ['{{ foo }} ' => 'bar ' ],
300- 'validation_groups ' => [],
301- ])
295+ 'invalid_message ' => 'invalid_message_key ' ,
296+ // Invalid message parameters must be supported, because the
297+ // invalid message can be a translation key
298+ // see https://github.com/symfony/symfony/issues/5144
299+ 'invalid_message_parameters ' => ['{{ foo }} ' => 'bar ' ],
300+ 'validation_groups ' => [],
301+ ])
302302 ->setData ($ object )
303303 ->addViewTransformer (new CallbackTransformer (
304304 static fn ($ data ) => $ data ,
0 commit comments