Skip to content

fix warnings

fix warnings #2110

Triggered via pull request May 14, 2024 18:09
Status Failure
Total duration 3m 20s
Artifacts 2

ci.yml

on: pull_request
Matrix: phpstan / php-stan
Waiting for pending jobs
Matrix: windows-ci / win-test
Waiting for pending jobs
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 9 warnings
phan / Run phan
Process completed with exit code 1.
phan / Run phan
Process completed with exit code 1.
pre-commit / pre-commit
Input "fetch_missing_history_max_retries" is not supported when using GitHub's REST API to get changed files
phan / Run phan: htdocs/categories/class/categorie.class.php#L1994
categorie.class.php: PhanPossiblyUndeclaredVariable: Variable $sql2 is possibly undeclared
phan / Run phan: htdocs/categories/traduction.php#L265
traduction.php: PhanTypeArraySuspiciousNullable: Suspicious array access to $object->multilangs of nullable type ?array{0:string,1:array{label:string,description:string,note?:string}}
phan / Run phan: htdocs/categories/traduction.php#L269
traduction.php: PhanTypeArraySuspiciousNullable: Suspicious array access to $object->multilangs of nullable type ?array{0:string,1:array{label:string,description:string,note?:string}}
phan / Run phan: htdocs/categories/traduction.php#L295
traduction.php: PhanTypeArraySuspiciousNullable: Suspicious array access to $object->multilangs of nullable type ?array{0:string,1:array{label:string,description:string,note?:string}}
phan / Run phan: htdocs/categories/traduction.php#L296
traduction.php: PhanTypeArraySuspiciousNullable: Suspicious array access to $object->multilangs of nullable type ?array{0:string,1:array{label:string,description:string,note?:string}}
phan / Run phan: htdocs/categories/traduction.php#L298
traduction.php: PhanTypeArraySuspiciousNullable: Suspicious array access to $object->multilangs of nullable type ?array{0:string,1:array{label:string,description:string,note?:string}}
phan / Run phan: htdocs/main.inc.php#L61
main.inc.php: PhanUnextractableAnnotationElementName: Saw possibly unextractable annotation for a fragment of comment '* @param array<int:string> $matches Array with a decimal numeric entity into key 0, value without the &# into the key 1': after array, did not see an element name (will guess based on comment order)
phan / Run phan: htdocs/main.inc.php#L61
main.inc.php: PhanUnextractableAnnotationSuffix: Saw a token Phan may have failed to parse after '* @param array<int:string> $matches Array with a decimal numeric entity into key 0, value without the &# into the key 1': after array, saw '<'

Artifacts

Produced during runtime
Name Size
phan-srcrt Expired
724 Bytes
precommit-logs
548 Bytes