Skip to content

Introduce Form Template to improve inference for processed payloads #575

Introduce Form Template to improve inference for processed payloads

Introduce Form Template to improve inference for processed payloads #575

Triggered via pull request November 24, 2023 11:26
Status Failure
Total duration 1m 0s
Artifacts

continuous-integration.yml

on: pull_request
ci  /  Generate job matrix
7s
ci / Generate job matrix
Matrix: ci / QA Checks
Fit to window
Zoom out
Zoom in

Annotations

10 errors
LessSpecificReturnStatement: src/Element.php#L300
src/Element.php:300:16: LessSpecificReturnStatement: The type 'Laminas\Form\InputFilterProviderFieldset' is more general than the declared return type 'Laminas\Form\Element&static' for Laminas\Form\Element::setLabelAttributes (see https://psalm.dev/129)
LessSpecificReturnStatement: src/Element.php#L300
src/Element.php:300:16: LessSpecificReturnStatement: The type 'LaminasTest\Form\Integration\TestAsset\Form' is more general than the declared return type 'Laminas\Form\Element&static' for Laminas\Form\Element::setLabelAttributes (see https://psalm.dev/129)
LessSpecificReturnStatement: src/Element.php#L300
src/Element.php:300:16: LessSpecificReturnStatement: The type 'LaminasTest\Form\StaticAnalysis\Asset\ExampleForm' is more general than the declared return type 'Laminas\Form\Element&static' for Laminas\Form\Element::setLabelAttributes (see https://psalm.dev/129)
LessSpecificReturnStatement: src/Element.php#L300
src/Element.php:300:16: LessSpecificReturnStatement: The type 'LaminasTest\Form\TestAsset\InvokableForm' is more general than the declared return type 'Laminas\Form\Element&static' for Laminas\Form\Element::setLabelAttributes (see https://psalm.dev/129)
LessSpecificReturnStatement: src/Element.php#L322
src/Element.php:322:16: LessSpecificReturnStatement: The type 'Laminas\Form\InputFilterProviderFieldset' is more general than the declared return type 'Laminas\Form\Element&static' for Laminas\Form\Element::setLabelOptions (see https://psalm.dev/129)
LessSpecificReturnStatement: src/Element.php#L322
src/Element.php:322:16: LessSpecificReturnStatement: The type 'LaminasTest\Form\Integration\TestAsset\Form' is more general than the declared return type 'Laminas\Form\Element&static' for Laminas\Form\Element::setLabelOptions (see https://psalm.dev/129)
LessSpecificReturnStatement: src/Element.php#L322
src/Element.php:322:16: LessSpecificReturnStatement: The type 'LaminasTest\Form\StaticAnalysis\Asset\ExampleForm' is more general than the declared return type 'Laminas\Form\Element&static' for Laminas\Form\Element::setLabelOptions (see https://psalm.dev/129)
LessSpecificReturnStatement: src/Element.php#L322
src/Element.php:322:16: LessSpecificReturnStatement: The type 'LaminasTest\Form\TestAsset\InvokableForm' is more general than the declared return type 'Laminas\Form\Element&static' for Laminas\Form\Element::setLabelOptions (see https://psalm.dev/129)
LessSpecificReturnStatement: src/Fieldset.php#L593
src/Fieldset.php:593:16: LessSpecificReturnStatement: The type 'LaminasTest\Form\StaticAnalysis\Asset\ExampleForm' is more general than the declared return type 'Laminas\Form\Fieldset&static' for Laminas\Form\Fieldset::setUseAsBaseFieldset (see https://psalm.dev/129)
LessSpecificReturnStatement: src/Fieldset.php#L593
src/Fieldset.php:593:16: LessSpecificReturnStatement: The type 'LaminasTest\Form\TestAsset\InvokableForm' is more general than the declared return type 'Laminas\Form\Fieldset&static' for Laminas\Form\Fieldset::setUseAsBaseFieldset (see https://psalm.dev/129)