@@ -184,8 +184,8 @@ public function testDontValidateIfNoValidationGroups()
184
184
$ object = new \stdClass ();
185
185
186
186
$ form = $ this ->getBuilder ('name ' , '\stdClass ' , [
187
- 'validation_groups ' => [],
188
- ])
187
+ 'validation_groups ' => [],
188
+ ])
189
189
->setData ($ object )
190
190
->setCompound (true )
191
191
->setDataMapper (new DataMapper ())
@@ -256,12 +256,12 @@ public function testDontValidateIfNotSynchronized()
256
256
$ object = new \stdClass ();
257
257
258
258
$ 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
+ ])
265
265
->setData ($ object )
266
266
->addViewTransformer (new CallbackTransformer (
267
267
static fn ($ data ) => $ data ,
@@ -292,13 +292,13 @@ public function testAddInvalidErrorEvenIfNoValidationGroups()
292
292
$ object = new \stdClass ();
293
293
294
294
$ 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
+ ])
302
302
->setData ($ object )
303
303
->addViewTransformer (new CallbackTransformer (
304
304
static fn ($ data ) => $ data ,
0 commit comments