Skip to content

try to fix phan

try to fix phan #21

Triggered via push June 24, 2024 10:15
Status Failure
Total duration 3m 25s
Artifacts 2

ci.yml

on: push
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 4 warnings
phan / Run phan
Process completed with exit code 1.
phan / Run phan
Process completed with exit code 1.
pre-commit / pre-commit
Cache save failed.
phan / Run phan: htdocs/bom/class/bom.class.php#L1555
bom.class.php: PhanUnextractableAnnotationElementName: Saw possibly unextractable annotation for a fragment of comment '* @param array<int,array{bom:BOM,parent_id:int,qty:float,level:int}|array{product:array{int,array{fk_unit:int,qty:float,level:int}}}},> $TNetNeeds Array of ChildBom and infos linked to': after array, did not see an element name (will guess based on comment order)
phan / Run phan: htdocs/bom/class/bom.class.php#L1555
bom.class.php: PhanUnextractableAnnotationSuffix: Saw a token Phan may have failed to parse after '* @param array<int,array{bom:BOM,parent_id:int,qty:float,level:int}|array{product:array{int,array{fk_unit:int,qty:float,level:int}}}},> $TNetNeeds Array of ChildBom and infos linked to': after array, saw '<'
phan / Run phan: htdocs/bom/class/bom.class.php#L1580
bom.class.php: PhanTypeArraySuspiciousNullable: Suspicious array access to $TNetNeeds[$this->id]['product'] of nullable type array<int,array{fk_unit:int|non-zero-int|null}>|null

Artifacts

Produced during runtime
Name Size
phan-srcrt Expired
651 Bytes
precommit-logs Expired
537 Bytes