Fix dol_dir_list_in_database to use filters for db #133
ci-on-pull_request.yml
on: pull_request
pre-commit
/
pre-commit
2m 0s
Matrix: phpstan / php-stan
gh-travis
/
gh-travis
Annotations
6 errors and 1 warning
phan / Run phan
Process completed with exit code 1.
|
phan / Run phan
Process completed with exit code 1.
|
phpstan / php-stan (8.2):
htdocs/core/lib/files.lib.php#L264
Default value of the parameter #7 $sqlfilters (string) of function dol_dir_list_in_database() is incompatible with type int.
|
phpstan / php-stan (8.2):
htdocs/core/lib/files.lib.php#L284
Parameter #1 $filter of function forgeSQLFromUniversalSearchCriteria expects string|null, int given.
|
phpstan / php-stan (8.2):
htdocs/core/lib/files.lib.php#L286
Parameter #1 $db of function dol_print_error expects DoliDB|null, string given.
|
phpstan / php-stan (8.2)
Process completed with exit code 1.
|
phan / Run phan:
htdocs/core/lib/files.lib.php#L264
files.lib.php: PhanTypeMismatchDefault: Default value for int $sqlfilters can't be string
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
phan-srcrt
|
341 Bytes |
|
phpstan-srcrt
|
477 Bytes |
|
precommit-logs
|
584 Bytes |
|