Skip to content

Commit 09ab0c1

Browse files
committed
cs and missing package
1 parent 2e4a2fa commit 09ab0c1

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/LiveComponent/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"doctrine/doctrine-bundle": "^2.0",
3535
"doctrine/orm": "^2.7",
3636
"symfony/dependency-injection": "^5.4|^6.0",
37+
"symfony/form": "^5.4|^6.0",
3738
"symfony/framework-bundle": "^5.4|^6.0",
3839
"symfony/phpunit-bridge": "^6.0",
3940
"symfony/security-csrf": "^5.4|^6.0",

src/LiveComponent/tests/Fixture/Form/FormForEntity1Type.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@
1414
namespace Symfony\UX\LiveComponent\Tests\Fixture\Form;
1515

1616
use Symfony\Component\Form\AbstractType;
17-
use Symfony\Component\Form\Extension\Core\Type\CheckboxType;
18-
use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
19-
use Symfony\Component\Form\Extension\Core\Type\FileType;
20-
use Symfony\Component\Form\Extension\Core\Type\HiddenType;
21-
use Symfony\Component\Form\Extension\Core\Type\RangeType;
2217
use Symfony\Component\Form\Extension\Core\Type\TextareaType;
2318
use Symfony\Component\Form\Extension\Core\Type\TextType;
2419
use Symfony\Component\Form\FormBuilderInterface;
@@ -42,7 +37,7 @@ public function configureOptions(OptionsResolver $resolver)
4237
{
4338
$resolver->setDefaults([
4439
'csrf_protection' => false,
45-
'data_class' => Entity1::class
40+
'data_class' => Entity1::class,
4641
]);
4742
}
4843
}

0 commit comments

Comments
 (0)