Qual: fix phan notices #8668
ci.yml
on: pull_request
pre-commit
/
pre-commit
1m 55s
gh-travis
/
gh-travis
Matrix: phpstan / php-stan
Matrix: windows-ci / win-test
Waiting for pending jobs
Annotations
12 errors and 3 warnings
phan / Run phan
Process completed with exit code 1.
|
phan / Run phan
Process completed with exit code 1.
|
phan / Run phan
Failed to CreateArtifact: Failed to make request after 5 attempts: Request timeout: /twirp/github.actions.results.api.v1.ArtifactService/CreateArtifact
|
phpstan / php-stan (8.2):
htdocs/admin/mails.php#L1157
Property FormMail::$withfile (int<0, 1>|string) does not accept 2.
|
phpstan / php-stan (8.2):
htdocs/admin/mails_emailing.php#L781
Property FormMail::$withfile (int<0, 1>|string) does not accept 2.
|
phpstan / php-stan (8.2):
htdocs/admin/mails_passwordreset.php#L777
Property FormMail::$withfile (int<0, 1>|string) does not accept 2.
|
phpstan / php-stan (8.2):
htdocs/admin/mails_ticket.php#L774
Property FormMail::$withfile (int<0, 1>|string) does not accept 2.
|
phpstan / php-stan (8.2):
htdocs/core/class/html.formmail.class.php#L1038
Parameter #2 $substitutionarray of function make_substitutions expects array<string, string>, string given.
|
phpstan / php-stan (8.2):
htdocs/core/tpl/card_presend.tpl.php#L392
Property FormMail::$withto (int<0, 1>|string) does not accept array.
|
phpstan / php-stan (8.2):
htdocs/core/tpl/card_presend.tpl.php#L394
Property FormMail::$withtocc (int<0, 1>|string) does not accept array.
|
phpstan / php-stan (8.2):
htdocs/core/tpl/card_presend.tpl.php#L397
Property FormMail::$withfile (int<0, 1>|string) does not accept 2.
|
phpstan / php-stan (8.2)
Process completed with exit code 1.
|
pre-commit / pre-commit
Cache save failed.
|
phan / Run phan:
htdocs/core/tpl/card_presend.tpl.php#L392
card_presend.tpl.php: PhanTypeMismatchPropertyProbablyReal: Assigning $liste of type array{thirdparty?:string,member?:string,contact?:string}|non-empty-associative-array<int,string>|non-empty-associative-array<string> (real type array{thirdparty?:string,member?:string,contact?:string}|non-empty-associative-array<int,?''>|non-empty-associative-array<int,?'0'>|non-empty-associative-array<int,?0.0>|non-empty-associative-array<int,?0>|non-empty-associative-array<int,?array{}>|non-empty-associative-array<int,?false>|non-empty-associative-array<int,string>|non-empty-associative-array<mixed>) to property but \FormMail->withto is int|string (no real type) (the inferred real assigned type has nothing in common with the declared phpdoc property type)
|
phan / Run phan:
htdocs/core/tpl/card_presend.tpl.php#L394
card_presend.tpl.php: PhanTypeMismatchPropertyProbablyReal: Assigning $liste of type array{thirdparty?:string,member?:string,contact?:string}|non-empty-associative-array<int,string>|non-empty-associative-array<string> (real type array{thirdparty?:string,member?:string,contact?:string}|non-empty-associative-array<int,?''>|non-empty-associative-array<int,?'0'>|non-empty-associative-array<int,?0.0>|non-empty-associative-array<int,?0>|non-empty-associative-array<int,?array{}>|non-empty-associative-array<int,?false>|non-empty-associative-array<int,string>|non-empty-associative-array<mixed>) to property but \FormMail->withtocc is int|string (no real type) (the inferred real assigned type has nothing in common with the declared phpdoc property type)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
phpstan-srcrt
|
531 Bytes |
|
precommit-logs
|
584 Bytes |
|