Skip to content

Qual: Fix phan/phpstan notices in class files (part 6) #10087

Qual: Fix phan/phpstan notices in class files (part 6)

Qual: Fix phan/phpstan notices in class files (part 6) #10087

Triggered via pull request November 5, 2024 14:47
Status Failure
Total duration 20m 52s
Artifacts 3

ci.yml

on: pull_request
pre-commit  /  pre-commit
2m 5s
pre-commit / pre-commit
gh-travis  /  gh-travis
gh-travis / gh-travis
Matrix: phpstan / php-stan
Matrix: windows-ci / win-test
Waiting for pending jobs
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 11 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/core/modules/member/doc/pdf_standard_member.class.php#L347
Property CommonStickerGenerator::$Tformat (array<string, array<int, float>|float|int|string>) in empty() is not falsy.
phpstan / php-stan (8.2): htdocs/core/modules/printsheet/doc/pdf_standardlabel.class.php#L245
Property CommonStickerGenerator::$Tformat (array<string, array<int, float>|float|int|string>) in empty() is not falsy.
phpstan / php-stan (8.2): htdocs/core/modules/printsheet/doc/pdf_tcpdflabel.class.php#L268
Property CommonStickerGenerator::$Tformat (array<string, array<int, float>|float|int|string>) in empty() is not falsy.
phpstan / php-stan (8.2): htdocs/cron/class/cronjob.class.php#L252
Property Cronjob::$classesname (string) in isset() is not nullable.
phpstan / php-stan (8.2): htdocs/cron/class/cronjob.class.php#L255
Property Cronjob::$objectname (string) in isset() is not nullable.
phpstan / php-stan (8.2): htdocs/cron/class/cronjob.class.php#L258
Property Cronjob::$methodename (string) in isset() is not nullable.
phpstan / php-stan (8.2): htdocs/cron/class/cronjob.class.php#L261
Property Cronjob::$params (string) in isset() is not nullable.
phpstan / php-stan (8.2): htdocs/cron/class/cronjob.class.php#L264
Property Cronjob::$md5params (string) in isset() is not nullable.
phpstan / php-stan (8.2): htdocs/cron/class/cronjob.class.php#L267
Property Cronjob::$module_name (string) in isset() is not nullable.
phpstan / php-stan (8.2): htdocs/cron/class/cronjob.class.php#L377
Property Cronjob::$classesname (string) in isset() is not nullable.
pre-commit / pre-commit
Cache save failed.
phan / Run phan: htdocs/accountancy/journal/expensereportsjournal.php#L579
expensereportsjournal.php: PhanTypeArraySuspiciousNullable: Suspicious array access to $def_tva of nullable type ?array{}|?non-empty-associative-array&lt;array&lt;string,array&lt;string,string&gt;&gt;&gt;
phan / Run phan: htdocs/adherents/class/api_members.class.php#L423
api_members.class.php: PhanTypeArraySuspiciousNullable: Suspicious array access to $request_data of nullable type ?array&lt;string,string&gt;
phan / Run phan: htdocs/adherents/class/api_members.class.php#L856
api_members.class.php: PhanTypeArraySuspiciousNullable: Suspicious array access to $request_data of nullable type ?array&lt;string,string&gt;
phan / Run phan: htdocs/adherents/class/api_members.class.php#L905
api_members.class.php: PhanTypeArraySuspiciousNullable: Suspicious array access to $request_data of nullable type ?array&lt;string,string&gt;
phan / Run phan: htdocs/admin/fediverse.php#L217
fediverse.php: PhanTypeArraySuspiciousNullable: Suspicious array access to $socialNetworkData of nullable type ?array|?associative-array&lt;mixed,mixed&gt;|?bool|?float|?int|?string
phan / Run phan: htdocs/admin/fediverse.php#L469
fediverse.php: PhanTypeArraySuspiciousNullable: Suspicious array access to $socialNetworkData of nullable type array|bool|float|int|null|string
phan / Run phan: htdocs/admin/fediverse.php#L470
fediverse.php: PhanTypeArraySuspiciousNullable: Suspicious array access to $socialNetworkData of nullable type array|bool|float|int|null|string
phan / Run phan: htdocs/admin/invoice.php#L760
invoice.php: PhanTypeArraySuspiciousNullable: Suspicious array access to $row of nullable type int|mixed[]|null
phan / Run phan: htdocs/admin/invoice.php#L761
invoice.php: PhanTypeArraySuspiciousNullable: Suspicious array access to $row of nullable type int|mixed[]|null
phan / Run phan: htdocs/admin/invoice.php#L762
invoice.php: PhanTypeArraySuspiciousNullable: Suspicious array access to $row of nullable type int|mixed[]|null

Artifacts

Produced during runtime
Name Size
phan-srcrt Expired
8.66 KB
phpstan-srcrt Expired
1.33 KB
precommit-logs Expired
728 Bytes