Skip to content

Add key & value type hint to all properties of type array #792

Add key & value type hint to all properties of type array

Add key & value type hint to all properties of type array #792

Triggered via pull request September 1, 2023 10:23
Status Failure
Total duration 56s
Artifacts

php.yml

on: pull_request
Matrix: lint
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

60 errors
Static analysis for php 8.1 on ubuntu-latest: src/BaseHtmlElement.php#L1
Ignored error pattern #^Property ipl\\Html\\BaseHtmlElement\:\:\$defaultAttributes type has no value type specified in iterable type array\.$# in path /app/src/BaseHtmlElement.php was not matched in reported errors.
Static analysis for php 8.1 on ubuntu-latest: src/Contract/ValueCandidates.php#L1
Ignored error pattern #^Method ipl\\Html\\Contract\\ValueCandidates\:\:getValueCandidates\(\) return type has no value type specified in iterable type array\.$# in path /app/src/Contract/ValueCandidates.php was not matched in reported errors.
Static analysis for php 8.1 on ubuntu-latest: src/Contract/ValueCandidates.php#L1
Ignored error pattern #^Method ipl\\Html\\Contract\\ValueCandidates\:\:setValueCandidates\(\) has parameter \$values with no value type specified in iterable type array\.$# in path /app/src/Contract/ValueCandidates.php was not matched in reported errors.
Static analysis for php 8.1 on ubuntu-latest: src/Form.php#L1
Ignored error pattern #^Property ipl\\Html\\Form\:\:\$populatedValues type has no value type specified in iterable type array\.$# in path /app/src/Form.php was not matched in reported errors.
Static analysis for php 8.1 on ubuntu-latest: src/FormElement/BaseFormElement.php#L1
Ignored error pattern #^Method ipl\\Html\\FormElement\\BaseFormElement\:\:getValueCandidates\(\) return type has no value type specified in iterable type array\.$# in path /app/src/FormElement/BaseFormElement.php was not matched in reported errors.
Static analysis for php 8.1 on ubuntu-latest: src/FormElement/BaseFormElement.php#L1
Ignored error pattern #^Method ipl\\Html\\FormElement\\BaseFormElement\:\:setValueCandidates\(\) has parameter \$values with no value type specified in iterable type array\.$# in path /app/src/FormElement/BaseFormElement.php was not matched in reported errors.
Static analysis for php 8.1 on ubuntu-latest: src/FormElement/BaseFormElement.php#L1
Ignored error pattern #^Property ipl\\Html\\FormElement\\BaseFormElement\:\:\$valueCandidates type has no value type specified in iterable type array\.$# in path /app/src/FormElement/BaseFormElement.php was not matched in reported errors.
Static analysis for php 8.1 on ubuntu-latest: src/FormElement/FieldsetElement.php#L1
Ignored error pattern #^Property ipl\\Html\\FormElement\\FieldsetElement\:\:\$populatedValues type has no value type specified in iterable type array\.$# in path /app/src/FormElement/FieldsetElement.php was not matched in reported errors.
Static analysis for php 8.1 on ubuntu-latest: src/FormElement/FormElements.php (in context of class ipl/Html/Form)#L192
Parameter #1 $value of function count expects array|Countable, mixed given.
Static analysis for php 7.4 on ubuntu-latest: src/BaseHtmlElement.php#L1
Ignored error pattern #^Property ipl\\Html\\BaseHtmlElement\:\:\$defaultAttributes type has no value type specified in iterable type array\.$# in path /app/src/BaseHtmlElement.php was not matched in reported errors.
Static analysis for php 7.4 on ubuntu-latest: src/Contract/ValueCandidates.php#L1
Ignored error pattern #^Method ipl\\Html\\Contract\\ValueCandidates\:\:getValueCandidates\(\) return type has no value type specified in iterable type array\.$# in path /app/src/Contract/ValueCandidates.php was not matched in reported errors.
Static analysis for php 7.4 on ubuntu-latest: src/Contract/ValueCandidates.php#L1
Ignored error pattern #^Method ipl\\Html\\Contract\\ValueCandidates\:\:setValueCandidates\(\) has parameter \$values with no value type specified in iterable type array\.$# in path /app/src/Contract/ValueCandidates.php was not matched in reported errors.
Static analysis for php 7.4 on ubuntu-latest: src/Form.php#L1
Ignored error pattern #^Property ipl\\Html\\Form\:\:\$populatedValues type has no value type specified in iterable type array\.$# in path /app/src/Form.php was not matched in reported errors.
Static analysis for php 7.4 on ubuntu-latest: src/FormElement/BaseFormElement.php#L1
Ignored error pattern #^Method ipl\\Html\\FormElement\\BaseFormElement\:\:getValueCandidates\(\) return type has no value type specified in iterable type array\.$# in path /app/src/FormElement/BaseFormElement.php was not matched in reported errors.
Static analysis for php 7.4 on ubuntu-latest: src/FormElement/BaseFormElement.php#L1
Ignored error pattern #^Method ipl\\Html\\FormElement\\BaseFormElement\:\:setValueCandidates\(\) has parameter \$values with no value type specified in iterable type array\.$# in path /app/src/FormElement/BaseFormElement.php was not matched in reported errors.
Static analysis for php 7.4 on ubuntu-latest: src/FormElement/BaseFormElement.php#L1
Ignored error pattern #^Property ipl\\Html\\FormElement\\BaseFormElement\:\:\$valueCandidates type has no value type specified in iterable type array\.$# in path /app/src/FormElement/BaseFormElement.php was not matched in reported errors.
Static analysis for php 7.4 on ubuntu-latest: src/FormElement/FieldsetElement.php#L1
Ignored error pattern #^Property ipl\\Html\\FormElement\\FieldsetElement\:\:\$populatedValues type has no value type specified in iterable type array\.$# in path /app/src/FormElement/FieldsetElement.php was not matched in reported errors.
Static analysis for php 7.4 on ubuntu-latest: src/FormElement/FormElements.php (in context of class ipl/Html/Form)#L192
Parameter #1 $value of function count expects array|Countable, mixed given.
Static analysis for php 8.2 on ubuntu-latest: src/BaseHtmlElement.php#L1
Ignored error pattern #^Property ipl\\Html\\BaseHtmlElement\:\:\$defaultAttributes type has no value type specified in iterable type array\.$# in path /app/src/BaseHtmlElement.php was not matched in reported errors.
Static analysis for php 8.2 on ubuntu-latest: src/Contract/ValueCandidates.php#L1
Ignored error pattern #^Method ipl\\Html\\Contract\\ValueCandidates\:\:getValueCandidates\(\) return type has no value type specified in iterable type array\.$# in path /app/src/Contract/ValueCandidates.php was not matched in reported errors.
Static analysis for php 8.2 on ubuntu-latest: src/Contract/ValueCandidates.php#L1
Ignored error pattern #^Method ipl\\Html\\Contract\\ValueCandidates\:\:setValueCandidates\(\) has parameter \$values with no value type specified in iterable type array\.$# in path /app/src/Contract/ValueCandidates.php was not matched in reported errors.
Static analysis for php 8.2 on ubuntu-latest: src/Form.php#L1
Ignored error pattern #^Property ipl\\Html\\Form\:\:\$populatedValues type has no value type specified in iterable type array\.$# in path /app/src/Form.php was not matched in reported errors.
Static analysis for php 8.2 on ubuntu-latest: src/FormElement/BaseFormElement.php#L1
Ignored error pattern #^Method ipl\\Html\\FormElement\\BaseFormElement\:\:getValueCandidates\(\) return type has no value type specified in iterable type array\.$# in path /app/src/FormElement/BaseFormElement.php was not matched in reported errors.
Static analysis for php 8.2 on ubuntu-latest: src/FormElement/BaseFormElement.php#L1
Ignored error pattern #^Method ipl\\Html\\FormElement\\BaseFormElement\:\:setValueCandidates\(\) has parameter \$values with no value type specified in iterable type array\.$# in path /app/src/FormElement/BaseFormElement.php was not matched in reported errors.
Static analysis for php 8.2 on ubuntu-latest: src/FormElement/BaseFormElement.php#L1
Ignored error pattern #^Property ipl\\Html\\FormElement\\BaseFormElement\:\:\$valueCandidates type has no value type specified in iterable type array\.$# in path /app/src/FormElement/BaseFormElement.php was not matched in reported errors.
Static analysis for php 8.2 on ubuntu-latest: src/FormElement/FieldsetElement.php#L1
Ignored error pattern #^Property ipl\\Html\\FormElement\\FieldsetElement\:\:\$populatedValues type has no value type specified in iterable type array\.$# in path /app/src/FormElement/FieldsetElement.php was not matched in reported errors.
Static analysis for php 8.2 on ubuntu-latest: src/FormElement/FormElements.php (in context of class ipl/Html/Form)#L192
Parameter #1 $value of function count expects array|Countable, mixed given.
Static analysis for php 7.3 on ubuntu-latest: src/BaseHtmlElement.php#L1
Ignored error pattern #^Property ipl\\Html\\BaseHtmlElement\:\:\$defaultAttributes type has no value type specified in iterable type array\.$# in path /app/src/BaseHtmlElement.php was not matched in reported errors.
Static analysis for php 7.3 on ubuntu-latest: src/Contract/ValueCandidates.php#L1
Ignored error pattern #^Method ipl\\Html\\Contract\\ValueCandidates\:\:getValueCandidates\(\) return type has no value type specified in iterable type array\.$# in path /app/src/Contract/ValueCandidates.php was not matched in reported errors.
Static analysis for php 7.3 on ubuntu-latest: src/Contract/ValueCandidates.php#L1
Ignored error pattern #^Method ipl\\Html\\Contract\\ValueCandidates\:\:setValueCandidates\(\) has parameter \$values with no value type specified in iterable type array\.$# in path /app/src/Contract/ValueCandidates.php was not matched in reported errors.
Static analysis for php 7.3 on ubuntu-latest: src/Form.php#L1
Ignored error pattern #^Property ipl\\Html\\Form\:\:\$populatedValues type has no value type specified in iterable type array\.$# in path /app/src/Form.php was not matched in reported errors.
Static analysis for php 7.3 on ubuntu-latest: src/FormElement/BaseFormElement.php#L1
Ignored error pattern #^Method ipl\\Html\\FormElement\\BaseFormElement\:\:getValueCandidates\(\) return type has no value type specified in iterable type array\.$# in path /app/src/FormElement/BaseFormElement.php was not matched in reported errors.
Static analysis for php 7.3 on ubuntu-latest: src/FormElement/BaseFormElement.php#L1
Ignored error pattern #^Method ipl\\Html\\FormElement\\BaseFormElement\:\:setValueCandidates\(\) has parameter \$values with no value type specified in iterable type array\.$# in path /app/src/FormElement/BaseFormElement.php was not matched in reported errors.
Static analysis for php 7.3 on ubuntu-latest: src/FormElement/BaseFormElement.php#L1
Ignored error pattern #^Property ipl\\Html\\FormElement\\BaseFormElement\:\:\$valueCandidates type has no value type specified in iterable type array\.$# in path /app/src/FormElement/BaseFormElement.php was not matched in reported errors.
Static analysis for php 7.3 on ubuntu-latest: src/FormElement/FieldsetElement.php#L1
Ignored error pattern #^Property ipl\\Html\\FormElement\\FieldsetElement\:\:\$populatedValues type has no value type specified in iterable type array\.$# in path /app/src/FormElement/FieldsetElement.php was not matched in reported errors.
Static analysis for php 7.3 on ubuntu-latest: src/FormElement/FormElements.php (in context of class ipl/Html/Form)#L192
Parameter #1 $value of function count expects array|Countable, mixed given.
Static analysis for php 7.2 on ubuntu-latest: src/BaseHtmlElement.php#L1
Ignored error pattern #^Property ipl\\Html\\BaseHtmlElement\:\:\$defaultAttributes type has no value type specified in iterable type array\.$# in path /app/src/BaseHtmlElement.php was not matched in reported errors.
Static analysis for php 7.2 on ubuntu-latest: src/Contract/ValueCandidates.php#L1
Ignored error pattern #^Method ipl\\Html\\Contract\\ValueCandidates\:\:getValueCandidates\(\) return type has no value type specified in iterable type array\.$# in path /app/src/Contract/ValueCandidates.php was not matched in reported errors.
Static analysis for php 7.2 on ubuntu-latest: src/Contract/ValueCandidates.php#L1
Ignored error pattern #^Method ipl\\Html\\Contract\\ValueCandidates\:\:setValueCandidates\(\) has parameter \$values with no value type specified in iterable type array\.$# in path /app/src/Contract/ValueCandidates.php was not matched in reported errors.
Static analysis for php 7.2 on ubuntu-latest: src/Form.php#L1
Ignored error pattern #^Property ipl\\Html\\Form\:\:\$populatedValues type has no value type specified in iterable type array\.$# in path /app/src/Form.php was not matched in reported errors.
Static analysis for php 7.2 on ubuntu-latest: src/FormElement/BaseFormElement.php#L1
Ignored error pattern #^Method ipl\\Html\\FormElement\\BaseFormElement\:\:getValueCandidates\(\) return type has no value type specified in iterable type array\.$# in path /app/src/FormElement/BaseFormElement.php was not matched in reported errors.
Static analysis for php 7.2 on ubuntu-latest: src/FormElement/BaseFormElement.php#L1
Ignored error pattern #^Method ipl\\Html\\FormElement\\BaseFormElement\:\:setValueCandidates\(\) has parameter \$values with no value type specified in iterable type array\.$# in path /app/src/FormElement/BaseFormElement.php was not matched in reported errors.
Static analysis for php 7.2 on ubuntu-latest: src/FormElement/BaseFormElement.php#L1
Ignored error pattern #^Property ipl\\Html\\FormElement\\BaseFormElement\:\:\$valueCandidates type has no value type specified in iterable type array\.$# in path /app/src/FormElement/BaseFormElement.php was not matched in reported errors.
Static analysis for php 7.2 on ubuntu-latest: src/FormElement/FieldsetElement.php#L1
Ignored error pattern #^Property ipl\\Html\\FormElement\\FieldsetElement\:\:\$populatedValues type has no value type specified in iterable type array\.$# in path /app/src/FormElement/FieldsetElement.php was not matched in reported errors.
Static analysis for php 7.2 on ubuntu-latest: src/FormElement/FormElements.php (in context of class ipl/Html/Form)#L192
Parameter #1 $value of function count expects array|Countable, mixed given.
Static analysis for php 8.0 on ubuntu-latest: src/BaseHtmlElement.php#L1
Ignored error pattern #^Property ipl\\Html\\BaseHtmlElement\:\:\$defaultAttributes type has no value type specified in iterable type array\.$# in path /app/src/BaseHtmlElement.php was not matched in reported errors.
Static analysis for php 8.0 on ubuntu-latest: src/Contract/ValueCandidates.php#L1
Ignored error pattern #^Method ipl\\Html\\Contract\\ValueCandidates\:\:getValueCandidates\(\) return type has no value type specified in iterable type array\.$# in path /app/src/Contract/ValueCandidates.php was not matched in reported errors.
Static analysis for php 8.0 on ubuntu-latest: src/Contract/ValueCandidates.php#L1
Ignored error pattern #^Method ipl\\Html\\Contract\\ValueCandidates\:\:setValueCandidates\(\) has parameter \$values with no value type specified in iterable type array\.$# in path /app/src/Contract/ValueCandidates.php was not matched in reported errors.
Static analysis for php 8.0 on ubuntu-latest: src/Form.php#L1
Ignored error pattern #^Property ipl\\Html\\Form\:\:\$populatedValues type has no value type specified in iterable type array\.$# in path /app/src/Form.php was not matched in reported errors.
Static analysis for php 8.0 on ubuntu-latest: src/FormElement/BaseFormElement.php#L1
Ignored error pattern #^Method ipl\\Html\\FormElement\\BaseFormElement\:\:getValueCandidates\(\) return type has no value type specified in iterable type array\.$# in path /app/src/FormElement/BaseFormElement.php was not matched in reported errors.
Static analysis for php 8.0 on ubuntu-latest: src/FormElement/BaseFormElement.php#L1
Ignored error pattern #^Method ipl\\Html\\FormElement\\BaseFormElement\:\:setValueCandidates\(\) has parameter \$values with no value type specified in iterable type array\.$# in path /app/src/FormElement/BaseFormElement.php was not matched in reported errors.
Static analysis for php 8.0 on ubuntu-latest: src/FormElement/BaseFormElement.php#L1
Ignored error pattern #^Property ipl\\Html\\FormElement\\BaseFormElement\:\:\$valueCandidates type has no value type specified in iterable type array\.$# in path /app/src/FormElement/BaseFormElement.php was not matched in reported errors.
Static analysis for php 8.0 on ubuntu-latest: src/FormElement/FieldsetElement.php#L1
Ignored error pattern #^Property ipl\\Html\\FormElement\\FieldsetElement\:\:\$populatedValues type has no value type specified in iterable type array\.$# in path /app/src/FormElement/FieldsetElement.php was not matched in reported errors.
Static analysis for php 8.0 on ubuntu-latest: src/FormElement/FormElements.php (in context of class ipl/Html/Form)#L192
Parameter #1 $value of function count expects array|Countable, mixed given.