Qual: Fix multiple Phan notices #1908
ci-on-pull_request.yml
on: pull_request
pre-commit
/
pre-commit
1m 58s
Matrix: phpstan / php-stan
gh-travis
/
gh-travis
Annotations
7 errors and 5 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/comm/propal/class/propal.class.php#L155
PHPDoc tag @var has invalid value (integer|'';): Unexpected token ";", expected TOKEN_HORIZONTAL_WS at offset 23 on line 2
|
phpstan / php-stan (8.2):
htdocs/comm/propal/class/propal.class.php#L160
PHPDoc tag @var has invalid value (integer|'';): Unexpected token ";", expected TOKEN_HORIZONTAL_WS at offset 23 on line 2
|
phpstan / php-stan (8.2):
htdocs/comm/propal/class/propal.class.php#L162
Property Propal::$date_signature has no type specified.
|
phpstan / php-stan (8.2):
htdocs/fichinter/class/api_interventions.class.php#L185
Method Interventions::index() should return array<array<string, float|int|string|null>> but returns list<object>.
|
phpstan / php-stan (8.2)
Process completed with exit code 1.
|
pre-commit / pre-commit
Cache save failed.
|
phan / Run phan:
htdocs/comm/propal/class/propal.class.php#L155
propal.class.php: PhanUnextractableAnnotationSuffix: Saw a token Phan may have failed to parse after '* @var integer|'';': after integer|'', saw ';'
|
phan / Run phan:
htdocs/comm/propal/class/propal.class.php#L160
propal.class.php: PhanUnextractableAnnotationSuffix: Saw a token Phan may have failed to parse after '* @var integer|'';': after integer|'', saw ';'
|
phan / Run phan:
htdocs/fichinter/class/api_interventions.class.php#L428
api_interventions.class.php: PhanPluginUnknownArrayMethodParamType: Method \Interventions::_validate has a parameter type of array for $data, but does not specify any key types or value types (Types inferred after analysis: ?array<string,string>)
|
phan / Run phan:
htdocs/fichinter/class/api_interventions.class.php#L428
api_interventions.class.php: PhanPluginUnknownArrayMethodReturnType: Method \Interventions::_validate() has a return type of array, but does not specify any key types or value types
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
phan-srcrt
|
587 Bytes |
|
phpstan-srcrt
|
572 Bytes |
|
precommit-logs
|
584 Bytes |
|