Qual: fix phan notices #8682
ci.yml
on: pull_request
pre-commit
/
pre-commit
1m 44s
gh-travis
/
gh-travis
Matrix: phpstan / php-stan
Matrix: windows-ci / win-test
Waiting for pending jobs
Annotations
7 errors and 4 warnings
phan / Run phan
Process completed with exit code 1.
|
phan / Run phan
Process completed with exit code 1.
|
phpstan / php-stan (8.2):
htdocs/comm/mailing/card.php#L1244
Property FormMail::$withtoccc (array<string>|int<0, 1>) does not accept string.
|
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#L395
Property FormMail::$withtoccc (array<string>|int<0, 1>) does not accept string.
|
phpstan / php-stan (8.2):
htdocs/core/tpl/massactions_pre.tpl.php#L267
Property FormMail::$withtoccc (array<string>|int<0, 1>) does not accept string.
|
phpstan / php-stan (8.2)
Process completed with exit code 1.
|
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|string[]
|
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|string[]
|
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|string[]
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
phan-srcrt
|
449 Bytes |
|
phpstan-srcrt
|
486 Bytes |
|
precommit-logs
|
584 Bytes |
|