Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed Feb 8, 2022
1 parent 8f3fc0d commit fe824f5
Showing 1 changed file with 14 additions and 20 deletions.
34 changes: 14 additions & 20 deletions tests/Fixer/Operator/BinaryOperatorSpacesFixerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1403,28 +1403,22 @@ function b(
],
[
'<?php
function configureFields($mapper): void
{
$mapper->getFormBuilder()->addEventListener(FormEvents::PRE_SUBMIT,
function (FormEvent $event): void
{
$data["type"] = $type;
$data["markdown"] = $markdown;
}
);
}
m(
function ()
{
$d["a"] = 1;
$d["abc"] = 2;
}
);
',
'<?php
function configureFields($mapper): void
{
$mapper->getFormBuilder()->addEventListener(FormEvents::PRE_SUBMIT,
function (FormEvent $event): void
{
$data["type"] = $type;
$data["markdown"] = $markdown;
}
);
}
m(
function ()
{
$d["a"] = 1;
$d["abc"] = 2;
}
);
',
],
];
Expand Down

0 comments on commit fe824f5

Please sign in to comment.