FIX phan commence à ma phandre le coeur #57
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 11 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/core/class/hookmanager.class.php#L176
hookmanager.class.php: PhanTypeMismatchDimFetch: When fetching an array index from a value of type string, found an array index of type 'count', but expected the index to be of type int
|
phan / Run phan:
htdocs/core/class/hookmanager.class.php#L176
hookmanager.class.php: PhanTypeMismatchProperty: Assigning ($this->hooksHistory[$hash] as a field) of type array<string,array<string,float>>|array<string,array<string,int>> to property but \HookManager->hooksHistory is string[]
|
phan / Run phan:
htdocs/core/class/hookmanager.class.php#L179
hookmanager.class.php: PhanTypeMismatchProperty: Assigning ($hookInformations as a field) of type array<string,array<string,associative-array<int,mixed>>>|array<string,array<string,associative-array<mixed,string>>>|array<string,array<string,int>>|array<string,array<string,mixed>>|array<string,array<string,string>> to property but \HookManager->hooksHistory is string[]
|
phan / Run phan:
htdocs/debugbar/class/DataCollector/DolHooksCollector.php#L37
DolHooksCollector.php: PhanPluginUnknownArrayMethodReturnType: Method \DolHooksCollector::collect() has a return type of array, but does not specify any key types or value types
|
phan / Run phan:
htdocs/debugbar/class/DataCollector/DolHooksCollector.php#L51
DolHooksCollector.php: PhanParamSpecial1: Argument 2 ($pieces) is string but \implode() takes string[] when argument 1 is string
|
phan / Run phan:
htdocs/debugbar/class/DataCollector/DolHooksCollector.php#L51
DolHooksCollector.php: PhanTypeMismatchDimAssignment: When appending to a value of type string, found an array access index of type 'contexts', but expected the index to be of type int
|
phan / Run phan:
htdocs/debugbar/class/DataCollector/DolHooksCollector.php#L51
DolHooksCollector.php: PhanTypeMismatchDimFetch: When fetching an array index from a value of type string, found an array index of type 'contexts', but expected the index to be of type int
|
phan / Run phan:
htdocs/debugbar/class/DataCollector/DolHooksCollector.php#L52
DolHooksCollector.php: PhanTypeInvalidDimOffset: Invalid offset "name" of $hookHistory of array type array{contexts:string}
|
phan / Run phan:
htdocs/debugbar/class/DataCollector/DolHooksCollector.php#L52
DolHooksCollector.php: PhanTypeSuspiciousStringExpression: Suspicious type null of a variable or expression $hookHistory['name'] used to build a string. (Expected type to be able to cast to a string)
|
phan / Run phan:
htdocs/debugbar/class/DataCollector/DolHooksCollector.php#L81
DolHooksCollector.php: PhanTypeMismatchReturn: Returning ['map'=>'hooks.nb_of_hooks','default'=>0] of type array<string,array{map:'hooks.nb_of_hooks',default:0}> but getWidgets() is declared to return string[][]
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
phan-srcrt
Expired
|
1006 Bytes |
|
precommit-logs
Expired
|
531 Bytes |
|