Skip to content

Commit 7658fa3

Browse files
committed
cs and missing package
1 parent 901c33c commit 7658fa3

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
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
}

src/LiveComponent/tests/Fixture/Kernel.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ protected function configureContainer(ContainerBuilder $c, LoaderInterface $load
6969
$c->register(Component6::class)->setAutoconfigured(true)->setAutowired(true);
7070
$c->register(FormThatResetsComponent::class)->setAutoconfigured(true)->setAutowired(true);
7171

72-
7372
$c->loadFromExtension('framework', [
7473
'secret' => 'S3CRET',
7574
'test' => true,

0 commit comments

Comments
 (0)