Skip to content

Fix dol_dir_list_in_database to use filters for db #133

Fix dol_dir_list_in_database to use filters for db

Fix dol_dir_list_in_database to use filters for db #133

Triggered via pull request November 15, 2024 13:13
Status Failure
Total duration 12m 15s
Artifacts 3

ci-on-pull_request.yml

on: pull_request
pre-commit  /  pre-commit
2m 0s
pre-commit / pre-commit
Matrix: phpstan / php-stan
gh-travis  /  gh-travis
gh-travis / gh-travis
Fit to window
Zoom out
Zoom in

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