Skip to content

Fix using layout copy form when name and identifier are empty #458

Fix using layout copy form when name and identifier are empty

Fix using layout copy form when name and identifier are empty #458

Triggered via push November 10, 2023 14:05
Status Failure
Total duration 58s
Artifacts
Matrix: static-analysis
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan: lib/Validator/ValidatorTrait.php (in context of class Netgen/Bundle/LayoutsAdminBundle/Controller/API/BlockCollection/AddItems)#L106
Cannot call method getPropertyPath() on Symfony\Component\Validator\ConstraintViolationInterface|null.
phpstan: lib/Validator/ValidatorTrait.php (in context of class Netgen/Bundle/LayoutsAdminBundle/Controller/API/BlockCollection/AddItems)#L108
Cannot call method getMessage() on Symfony\Component\Validator\ConstraintViolationInterface|null.
phpstan: lib/Validator/ValidatorTrait.php (in context of class Netgen/Bundle/LayoutsAdminBundle/Controller/API/BlockCollection/ChangeCollectionType)#L106
Cannot call method getPropertyPath() on Symfony\Component\Validator\ConstraintViolationInterface|null.
phpstan: lib/Validator/ValidatorTrait.php (in context of class Netgen/Bundle/LayoutsAdminBundle/Controller/API/BlockCollection/ChangeCollectionType)#L108
Cannot call method getMessage() on Symfony\Component\Validator\ConstraintViolationInterface|null.
phpstan: lib/Validator/ValidatorTrait.php (in context of class Netgen/Bundle/LayoutsAdminBundle/Controller/API/Block/Copy)#L106
Cannot call method getPropertyPath() on Symfony\Component\Validator\ConstraintViolationInterface|null.
phpstan: lib/Validator/ValidatorTrait.php (in context of class Netgen/Bundle/LayoutsAdminBundle/Controller/API/Block/Copy)#L108
Cannot call method getMessage() on Symfony\Component\Validator\ConstraintViolationInterface|null.
phpstan: lib/Validator/ValidatorTrait.php (in context of class Netgen/Bundle/LayoutsAdminBundle/Controller/API/Block/CopyToZone)#L106
Cannot call method getPropertyPath() on Symfony\Component\Validator\ConstraintViolationInterface|null.
phpstan: lib/Validator/ValidatorTrait.php (in context of class Netgen/Bundle/LayoutsAdminBundle/Controller/API/Block/CopyToZone)#L108
Cannot call method getMessage() on Symfony\Component\Validator\ConstraintViolationInterface|null.
phpstan: lib/Validator/ValidatorTrait.php (in context of class Netgen/Bundle/LayoutsAdminBundle/Controller/API/Block/Create)#L106
Cannot call method getPropertyPath() on Symfony\Component\Validator\ConstraintViolationInterface|null.
phpstan: lib/Validator/ValidatorTrait.php (in context of class Netgen/Bundle/LayoutsAdminBundle/Controller/API/Block/Create)#L108
Cannot call method getMessage() on Symfony\Component\Validator\ConstraintViolationInterface|null.