Qual: fix phan notices #8667
ci.yml
on: pull_request
pre-commit
/
pre-commit
1m 52s
gh-travis
/
gh-travis
Matrix: phpstan / php-stan
Matrix: windows-ci / win-test
Waiting for pending jobs
Annotations
4 errors and 9 warnings
phan / Run phan
Process completed with exit code 1.
|
phan / Run phan
Process completed with exit code 1.
|
phpstan / php-stan (8.2)
Canceling since a higher priority waiting request for 'stan-CI-refs/pull/31368/merge' exists
|
phpstan / php-stan (8.2)
The operation was canceled.
|
pre-commit / pre-commit
Cache save failed.
|
phan / Run phan:
htdocs/comm/mailing/card.php#L1244
card.php: PhanTypeMismatchProperty: Assigning getDolGlobalString('MAIN_EMAIL_USECCC') of type string to property but \FormMail->withtoccc is int
|
phan / Run phan:
htdocs/core/class/html.formmail.class.php#L1000
html.formmail.class.php: PhanTypeMismatchProperty: Assigning ($this->substit as a field) of type array<string,?non-empty-string>|array<string,?string>|array<string,null> to property but \FormMail->substit is array<string,string>
|
phan / Run phan:
htdocs/core/class/html.formmail.class.php#L2054
html.formmail.class.php: PhanTypeMismatchProperty: Assigning ($substit_line as a field) of type non-empty-array<int,array<string,array>>|non-empty-array<int,array<string,float>>|non-empty-array<int,array<string,string>>|non-empty-array<int,non-empty-array<string,?array<string,mixed>>>|non-empty-array<int,non-empty-array<string,?array>>|non-empty-array<int,non-empty-array<string,?false>>|non-empty-array<int,non-empty-array<string,?float>>|non-empty-array<int,non-empty-array<string,?int>>|non-empty-array<int,non-empty-array<string,?mixed>>|non-empty-array<int,non-empty-array<string,?non-empty-mixed>>|non-empty-array<int,non-empty-array<string,?string>>|non-empty-array<int,non-empty-array<string,mixed>>|non-empty-array<int,non-empty-array<string,string>> to property but \FormMail->substit_lines is string[]
|
phan / Run phan:
htdocs/core/class/html.formmail.class.php#L2054
html.formmail.class.php: PhanTypeMismatchProperty: Assigning ($substit_line as a field) of type non-empty-array<int,array<string,array>>|non-empty-array<int,array<string,float>>|non-empty-array<int,array<string,string>>|non-empty-array<int,non-empty-array<string,?array<string,mixed>>>|non-empty-array<int,non-empty-array<string,?array>>|non-empty-array<int,non-empty-array<string,?false>>|non-empty-array<int,non-empty-array<string,?float>>|non-empty-array<int,non-empty-array<string,?int>>|non-empty-array<int,non-empty-array<string,?mixed>>|non-empty-array<int,non-empty-array<string,?string>>|non-empty-array<int,non-empty-array<string,mixed>>|non-empty-array<int,non-empty-array<string,string>> to property but \FormMail->substit_lines is string[]
|
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)
|
phan / Run phan:
htdocs/core/tpl/card_presend.tpl.php#L395
card_presend.tpl.php: PhanTypeMismatchProperty: Assigning getDolGlobalString('MAIN_EMAIL_USECCC') of type string to property but \FormMail->withtoccc is int
|
phan / Run phan:
htdocs/core/tpl/massactions_pre.tpl.php#L267
massactions_pre.tpl.php: PhanTypeMismatchProperty: Assigning getDolGlobalString('MAIN_EMAIL_USECCC') of type string to property but \FormMail->withtoccc is int
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
phan-srcrt
|
865 Bytes |
|
phpstan-srcrt
|
134 Bytes |
|
precommit-logs
|
584 Bytes |
|