Skip to content

Phpstan: Separate workflow #5

Phpstan: Separate workflow

Phpstan: Separate workflow #5

Triggered via pull request April 15, 2024 11:24
Status Success
Total duration 53s
Artifacts

phpstan.yml

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

Annotations

43 errors
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
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/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 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/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.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/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
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
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
Process completed with exit code 1.