Fixes #3 - Element::init is called before Element::setOptions when using Factory but not when using FormElementManager #589
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
continuous-integration.yml
on: pull_request
ci
/
Generate job matrix
12s
Matrix: ci / QA Checks
Annotations
13 errors
ci / QA Checks (PHPCodeSniffer [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integration-ac...:
test/FormElementManagerTest.php#L126
Function range() should not be referenced via a fallback global name, but via a use statement.
|
ci / QA Checks (PHPCodeSniffer [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integration-ac...:
test/FactoryTest.php#L855
Function range() should not be referenced via a fallback global name, but via a use statement.
|
ci / QA Checks (PHPCodeSniffer [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integration-ac...:
test/FactoryTest.php#L860
Expected 4 spaces before double arrow; 1 found
|
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#L300
src/Element.php:300:16: LessSpecificReturnStatement: The type 'LaminasTest\Form\TestAsset\SelectElementWithValueOptionsCheck' 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/Element.php#L322
src/Element.php:322:16: LessSpecificReturnStatement: The type 'LaminasTest\Form\TestAsset\SelectElementWithValueOptionsCheck' 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/Select.php#L81
src/Element/Select.php:81:16: LessSpecificReturnStatement: The type 'LaminasTest\Form\TestAsset\SelectElementWithValueOptionsCheck' is more general than the declared return type 'Laminas\Form\Element\Select&static' for Laminas\Form\Element\Select::setValueOptions (see https://psalm.dev/129)
|
LessSpecificReturnStatement:
src/Element/Select.php#L134
src/Element/Select.php:134:16: LessSpecificReturnStatement: The type 'LaminasTest\Form\TestAsset\SelectElementWithValueOptionsCheck' is more general than the declared return type 'Laminas\Form\Element\Select&static' for Laminas\Form\Element\Select::setOptions (see https://psalm.dev/129)
|