try fix phan #22
ci.yml
on: push
gh-travis
/
gh-travis
Matrix: phpstan / php-stan
Waiting for pending jobs
Matrix: windows-ci / win-test
Waiting for pending jobs
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
|
650 Bytes |
|
precommit-logs
Expired
|
537 Bytes |
|