Skip to content

FieldsetElement: Correctly handle elements with multiple values #9

FieldsetElement: Correctly handle elements with multiple values

FieldsetElement: Correctly handle elements with multiple values #9

Triggered via pull request June 12, 2024 09:52
Status Success
Total duration 2m 51s
Artifacts

phpstan.yml

on: pull_request
Matrix: phpstan / phpstan
Fit to window
Zoom out
Zoom in

Annotations

50 errors
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: src/Form.php#L1
Ignored error pattern #^Parameter \#1 \.\.\.\$arrays of function array_merge_recursive expects array, array\|object\|null given\.$# in path /home/runner/work/ipl-html/ipl-html/src/Form.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: src/Form.php#L228
Parameter #1 $arr1 of function array_merge_recursive expects array, array|object|null given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: src/FormElement/BaseFormElement.php#L196
Parameter #1 $validators of method ipl\Validator\ValidatorChain::addValidators() expects Traversable<int|string, mixed>, iterable given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: src/FormElement/BaseFormElement.php#L210
Parameter #1 $validators of method ipl\Validator\ValidatorChain::addValidators() expects Traversable<int|string, mixed>, iterable given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: src/FormElement/BaseFormElement.php#L378
Ignored error pattern #^Cannot access offset 'name' on mixed\.$# in path /home/runner/work/ipl-html/ipl-html/src/FormElement/BaseFormElement.php is expected to occur 2 times, but occurred only 1 time.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: src/FormElement/FieldsetElement.php#L113
Call to an undefined method ipl\Html\Contract\FormElement::isMultiple().
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: src/FormElement/LocalDateTimeElement.php#L28
Parameter #3 $length of function substr expects int, int<1, max>|null given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: src/FormattedString.php#L1
Ignored error pattern #^Parameter \#2 \$values of function vsprintf expects array\<bool\|float\|int\|string\|null\>, array\<ipl\\Html\\ValidHtml\> given\.$# in path /home/runner/work/ipl-html/ipl-html/src/FormattedString.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: src/FormattedString.php#L98
Parameter #2 $args of function vsprintf expects array<bool|float|int|string|null>, array<ipl\Html\ValidHtml> given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest
Process completed with exit code 1.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: src/Form.php#L1
Ignored error pattern #^Parameter \#1 \.\.\.\$arrays of function array_merge_recursive expects array, array\|object\|null given\.$# in path /home/runner/work/ipl-html/ipl-html/src/Form.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: src/Form.php#L228
Parameter #1 $arr1 of function array_merge_recursive expects array, array|object|null given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: src/FormElement/BaseFormElement.php#L196
Parameter #1 $validators of method ipl\Validator\ValidatorChain::addValidators() expects Traversable<int|string, mixed>, iterable given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: src/FormElement/BaseFormElement.php#L210
Parameter #1 $validators of method ipl\Validator\ValidatorChain::addValidators() expects Traversable<int|string, mixed>, iterable given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: src/FormElement/BaseFormElement.php#L378
Ignored error pattern #^Cannot access offset 'name' on mixed\.$# in path /home/runner/work/ipl-html/ipl-html/src/FormElement/BaseFormElement.php is expected to occur 2 times, but occurred only 1 time.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: src/FormElement/FieldsetElement.php#L113
Call to an undefined method ipl\Html\Contract\FormElement::isMultiple().
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: src/FormElement/LocalDateTimeElement.php#L28
Parameter #3 $length of function substr expects int, int<1, max>|null given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: src/FormattedString.php#L1
Ignored error pattern #^Parameter \#2 \$values of function vsprintf expects array\<bool\|float\|int\|string\|null\>, array\<ipl\\Html\\ValidHtml\> given\.$# in path /home/runner/work/ipl-html/ipl-html/src/FormattedString.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: src/FormattedString.php#L98
Parameter #2 $args of function vsprintf expects array<bool|float|int|string|null>, array<ipl\Html\ValidHtml> given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest
Process completed with exit code 1.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: src/FormElement/BaseFormElement.php#L196
Parameter #1 $validators of method ipl\Validator\ValidatorChain::addValidators() expects Traversable<int|string, mixed>, iterable given.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: src/FormElement/BaseFormElement.php#L210
Parameter #1 $validators of method ipl\Validator\ValidatorChain::addValidators() expects Traversable<int|string, mixed>, iterable given.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: src/FormElement/BaseFormElement.php#L378
Ignored error pattern #^Cannot access offset 'name' on mixed\.$# in path /home/runner/work/ipl-html/ipl-html/src/FormElement/BaseFormElement.php is expected to occur 2 times, but occurred only 1 time.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: src/FormElement/FieldsetElement.php#L113
Call to an undefined method ipl\Html\Contract\FormElement::isMultiple().
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest
Process completed with exit code 1.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: src/Form.php#L1
Ignored error pattern #^Parameter \#1 \.\.\.\$arrays of function array_merge_recursive expects array, array\|object\|null given\.$# in path /home/runner/work/ipl-html/ipl-html/src/Form.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: src/Form.php#L228
Parameter #1 $arr1 of function array_merge_recursive expects array, array|object|null given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: src/FormElement/BaseFormElement.php#L196
Parameter #1 $validators of method ipl\Validator\ValidatorChain::addValidators() expects Traversable<int|string, mixed>, iterable given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: src/FormElement/BaseFormElement.php#L210
Parameter #1 $validators of method ipl\Validator\ValidatorChain::addValidators() expects Traversable<int|string, mixed>, iterable given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: src/FormElement/BaseFormElement.php#L378
Ignored error pattern #^Cannot access offset 'name' on mixed\.$# in path /home/runner/work/ipl-html/ipl-html/src/FormElement/BaseFormElement.php is expected to occur 2 times, but occurred only 1 time.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: src/FormElement/FieldsetElement.php#L113
Call to an undefined method ipl\Html\Contract\FormElement::isMultiple().
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: src/FormElement/LocalDateTimeElement.php#L28
Parameter #3 $length of function substr expects int, int<1, max>|null given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: src/FormattedString.php#L1
Ignored error pattern #^Parameter \#2 \$values of function vsprintf expects array\<bool\|float\|int\|string\|null\>, array\<ipl\\Html\\ValidHtml\> given\.$# in path /home/runner/work/ipl-html/ipl-html/src/FormattedString.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: src/FormattedString.php#L98
Parameter #2 $args of function vsprintf expects array<bool|float|int|string|null>, array<ipl\Html\ValidHtml> given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest
Process completed with exit code 1.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/FormElement/BaseFormElement.php#L196
Parameter #1 $validators of method ipl\Validator\ValidatorChain::addValidators() expects Traversable<int|string, mixed>, iterable given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/FormElement/BaseFormElement.php#L210
Parameter #1 $validators of method ipl\Validator\ValidatorChain::addValidators() expects Traversable<int|string, mixed>, iterable given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/FormElement/BaseFormElement.php#L378
Ignored error pattern #^Cannot access offset 'name' on mixed\.$# in path /home/runner/work/ipl-html/ipl-html/src/FormElement/BaseFormElement.php is expected to occur 2 times, but occurred only 1 time.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/FormElement/FieldsetElement.php#L113
Call to an undefined method ipl\Html\Contract\FormElement::isMultiple().
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest
Process completed with exit code 1.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/FormElement/BaseFormElement.php#L196
Parameter #1 $validators of method ipl\Validator\ValidatorChain::addValidators() expects Traversable<int|string, mixed>, iterable given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/FormElement/BaseFormElement.php#L210
Parameter #1 $validators of method ipl\Validator\ValidatorChain::addValidators() expects Traversable<int|string, mixed>, iterable given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/FormElement/BaseFormElement.php#L378
Ignored error pattern #^Cannot access offset 'name' on mixed\.$# in path /home/runner/work/ipl-html/ipl-html/src/FormElement/BaseFormElement.php is expected to occur 2 times, but occurred only 1 time.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/FormElement/FieldsetElement.php#L113
Call to an undefined method ipl\Html\Contract\FormElement::isMultiple().
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest
Process completed with exit code 1.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: src/FormElement/BaseFormElement.php#L196
Parameter #1 $validators of method ipl\Validator\ValidatorChain::addValidators() expects Traversable<int|string, mixed>, iterable given.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: src/FormElement/BaseFormElement.php#L210
Parameter #1 $validators of method ipl\Validator\ValidatorChain::addValidators() expects Traversable<int|string, mixed>, iterable given.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: src/FormElement/BaseFormElement.php#L378
Ignored error pattern #^Cannot access offset 'name' on mixed\.$# in path /home/runner/work/ipl-html/ipl-html/src/FormElement/BaseFormElement.php is expected to occur 2 times, but occurred only 1 time.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: src/FormElement/FieldsetElement.php#L113
Call to an undefined method ipl\Html\Contract\FormElement::isMultiple().
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest
Process completed with exit code 1.