Qual: fix phan notices #8663
ci.yml
on: pull_request
pre-commit
/
pre-commit
1m 53s
gh-travis
/
gh-travis
Matrix: phpstan / php-stan
Matrix: windows-ci / win-test
Waiting for pending jobs
Annotations
4 errors and 10 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.
|
phan / Run phan:
htdocs/admin/mails.php#L1155
mails.php: PhanTypeMismatchProperty: Assigning (GETPOSTISSET('subject') ? GETPOST('subject') : $langs->trans('Test')) of type array|string to property but \FormMail->withtopic is int
|
phan / Run phan:
htdocs/admin/mails.php#L1162
mails.php: PhanTypeMismatchProperty: Assigning (GETPOSTISSET('message') ? GETPOST('message', 'restricthtml') : (($action == 'testhtml') ? $langs->transnoentities('PredefinedMailTestHtml') : $langs->transnoentities('PredefinedMailTest'))) of type array|string to property but \FormMail->withbody is int
|
phan / Run phan:
htdocs/admin/mails_emailing.php#L779
mails_emailing.php: PhanTypeMismatchProperty: Assigning (GETPOSTISSET('subject') ? GETPOST('subject') : $langs->trans('Test')) of type array|string to property but \FormMail->withtopic is int
|
phan / Run phan:
htdocs/admin/mails_emailing.php#L782
mails_emailing.php: PhanTypeMismatchProperty: Assigning (GETPOSTISSET('message') ? GETPOST('message', 'restricthtml') : (($action == 'testhtml') ? $langs->transnoentities('PredefinedMailTestHtml') : $langs->transnoentities('PredefinedMailTest'))) of type array|string to property but \FormMail->withbody is int
|
phan / Run phan:
htdocs/admin/mails_passwordreset.php#L775
mails_passwordreset.php: PhanTypeMismatchProperty: Assigning (GETPOSTISSET('subject') ? GETPOST('subject') : $langs->trans('Test')) of type array|string to property but \FormMail->withtopic is int
|
phan / Run phan:
htdocs/admin/mails_passwordreset.php#L778
mails_passwordreset.php: PhanTypeMismatchProperty: Assigning (GETPOSTISSET('message') ? GETPOST('message', 'restricthtml') : (($action == 'testhtml') ? $langs->transnoentities('PredefinedMailTestHtml') : $langs->transnoentities('PredefinedMailTest'))) of type array|string to property but \FormMail->withbody is int
|
phan / Run phan:
htdocs/admin/mails_ticket.php#L772
mails_ticket.php: PhanTypeMismatchProperty: Assigning (GETPOSTISSET('subject') ? GETPOST('subject') : $langs->trans('Test')) of type array|string to property but \FormMail->withtopic is int
|
phan / Run phan:
htdocs/admin/mails_ticket.php#L775
mails_ticket.php: PhanTypeMismatchProperty: Assigning (GETPOSTISSET('message') ? GETPOST('message', 'restricthtml') : (($action == 'testhtml') ? $langs->transnoentities('PredefinedMailTestHtml') : $langs->transnoentities('PredefinedMailTest'))) of type array|string to property but \FormMail->withbody is int
|
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#L1881
html.formmail.class.php: PhanTypeMismatchPropertyProbablyReal: Assigning 1 of type 1 to property but \ModelMail->joinfiles is \inst<0,1> (no real type) (the inferred real assigned type has nothing in common with the declared phpdoc property type)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
phan-srcrt
|
1.08 KB |
|
phpstan-srcrt
|
134 Bytes |
|
precommit-logs
|
584 Bytes |
|