Add failing test case for factory creation of elements with required options #784
continuous-integration.yml
on: pull_request
ci
/
Generate job matrix
6s
Matrix: ci / QA Checks
Annotations
10 errors
LessSpecificReturnStatement:
src/Element.php#L283
src/Element.php:283:16: LessSpecificReturnStatement: The type 'LaminasTest\Form\TestAsset\CustomElementWithRequiredOption' is more general than the declared return type 'Laminas\Form\Element&static' for Laminas\Form\Element::setLabel (see https://psalm.dev/129)
|
LessSpecificReturnStatement:
src/Element.php#L283
src/Element.php:283:16: LessSpecificReturnStatement: The type 'LaminasTest\Form\TestAsset\InvokableForm' is more general than the declared return type 'Laminas\Form\Element&static' for Laminas\Form\Element::setLabel (see https://psalm.dev/129)
|
LessSpecificReturnStatement:
src/Element.php#L298
src/Element.php:298: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#L298
src/Element.php:298: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#L298
src/Element.php:298: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#L298
src/Element.php:298:16: LessSpecificReturnStatement: The type 'LaminasTest\Form\TestAsset\CustomElementWithConstructorDependency' 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#L298
src/Element.php:298:16: LessSpecificReturnStatement: The type 'LaminasTest\Form\TestAsset\CustomElementWithRequiredOption' 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#L298
src/Element.php:298: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#L320
src/Element.php:320: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#L320
src/Element.php:320: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)
|