Fix loading new item list after adding new created element on sortable collections #8149
Annotations
13 errors
UndefinedDocblockClass:
src/Form/Extension/ChoiceTypeExtension.php#L38
src/Form/Extension/ChoiceTypeExtension.php:38:17: UndefinedDocblockClass: Docblock-defined class, interface or enum named Sonata\AdminBundle\Form\Extension\PreSubmitEvent does not exist (see https://psalm.dev/200)
|
UndefinedDocblockClass:
src/Form/Extension/ChoiceTypeExtension.php#L38
src/Form/Extension/ChoiceTypeExtension.php:38:25: UndefinedDocblockClass: Docblock-defined class, interface or enum named Sonata\AdminBundle\Form\Extension\PreSubmitEvent does not exist (see https://psalm.dev/200)
|
UndefinedDocblockClass:
src/Form/Extension/ChoiceTypeExtension.php#L39
src/Form/Extension/ChoiceTypeExtension.php:39:25: UndefinedDocblockClass: Docblock-defined class, interface or enum named Sonata\AdminBundle\Form\Extension\PreSubmitEvent does not exist (see https://psalm.dev/200)
|
UndefinedDocblockClass:
src/Form/Extension/ChoiceTypeExtension.php#L46
src/Form/Extension/ChoiceTypeExtension.php:46:21: UndefinedDocblockClass: Docblock-defined class, interface or enum named Sonata\AdminBundle\Form\Extension\PreSubmitEvent does not exist (see https://psalm.dev/200)
|
Psalm
Process completed with exit code 2.
|
PHPStan:
src/Form/Extension/ChoiceTypeExtension.php#L35
Only booleans are allowed in &&, mixed given on the left side.
|
PHPStan:
src/Form/Extension/ChoiceTypeExtension.php#L36
Anonymous function has an unused use $options.
|
PHPStan:
src/Form/Extension/ChoiceTypeExtension.php#L38
Call to method getForm() on an unknown class Sonata\AdminBundle\Form\Extension\PreSubmitEvent.
|
PHPStan:
src/Form/Extension/ChoiceTypeExtension.php#L38
PHPDoc tag @var for variable $event contains unknown class Sonata\AdminBundle\Form\Extension\PreSubmitEvent.
|
PHPStan:
src/Form/Extension/ChoiceTypeExtension.php#L38
PHPDoc tag @var with type Sonata\AdminBundle\Form\Extension\PreSubmitEvent is not subtype of native type Symfony\Component\Form\FormEvent.
|
PHPStan:
src/Form/Extension/ChoiceTypeExtension.php#L39
Call to method getData() on an unknown class Sonata\AdminBundle\Form\Extension\PreSubmitEvent.
|
PHPStan:
src/Form/Extension/ChoiceTypeExtension.php#L46
Call to method setData() on an unknown class Sonata\AdminBundle\Form\Extension\PreSubmitEvent.
|
PHPStan
Process completed with exit code 1.
|