Skip to content

Event Calendar

Event Calendar #10512

Triggered via pull request November 9, 2025 16:52
Status Failure
Total duration 13m 50s
Artifacts 2

ci-on-pull_request.yml

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

Annotations

20 errors and 1 warning
phan / Run phan: htdocs/core/ajax/events_ajax.php#L516
PhanPluginUnknownArrayFunctionReturnType Function \getEvents() has a return type of array, but does not specify key or value types
phan / Run phan: htdocs/core/ajax/events_ajax.php#L481
PhanPluginUnknownArrayFunctionReturnType Function \getDeletedEventsId() has a return type of array, but does not specify key or value types
phan / Run phan: htdocs/core/ajax/events_ajax.php#L462
PhanSuspiciousWeakTypeComparisonInGlobalScope Suspicious attempt to compare $obj['code'] of type mixed to elements of $preselectedstates of type (no types in empty array) in the global scope (likely a false positive)
phan / Run phan: htdocs/core/ajax/events_ajax.php#L414
PhanPluginEmptyStatementIf Empty statement list detected for the last if/elseif statement
phan / Run phan: htdocs/core/ajax/events_ajax.php#L93
PhanTypeMismatchArgument Argument 6 ($onlylast) is $onlylast of type int but \getEvents() takes bool defined at htdocs/core/ajax/events_ajax.php:516
phan / Run phan: htdocs/core/ajax/events_ajax.php#L93
PhanTypeMismatchArgument Argument 4 ($endDate) is $endDate of type int but \getEvents() takes string defined at htdocs/core/ajax/events_ajax.php:516
phan / Run phan: htdocs/core/ajax/events_ajax.php#L93
PhanTypeMismatchArgument Argument 3 ($startDate) is $startDate of type int but \getEvents() takes string defined at htdocs/core/ajax/events_ajax.php:516
phan / Run phan: htdocs/core/ajax/events_ajax.php#L93
PhanTypeMismatchArgument Argument 11 ($search_all) is $search_all of type bool but \getEvents() takes string defined at htdocs/core/ajax/events_ajax.php:516
phan / Run phan: htdocs/core/ajax/events_ajax.php#L93
PhanTypeMismatchArgument Argument 1 ($calendarId) is $calendarId of type 1 but \getEvents() takes string defined at htdocs/core/ajax/events_ajax.php:516
phan / Run phan: htdocs/comm/propal/card.php#L2565
PhanTypeMismatchArgumentProbablyReal Argument 2 ($default) is null of type null but \getDolGlobalString() takes float|int|string (no real type) defined at htdocs/core/lib/functions.lib.php:239 (the inferred real argument type has nothing in common with the parameter's phpdoc type)
phpstan / php-stan (8.2): htdocs/core/ajax/events_ajax.php#L962
Instantiated class ICal\ICal not found.
phpstan / php-stan (8.2): htdocs/core/ajax/events_ajax.php#L516
Function getEvents() return type has no value type specified in iterable type array.
phpstan / php-stan (8.2): htdocs/core/ajax/events_ajax.php#L481
Function getDeletedEventsId() return type has no value type specified in iterable type array.
phpstan / php-stan (8.2): htdocs/core/ajax/events_ajax.php#L365
Right side of || is always false.
phpstan / php-stan (8.2): htdocs/core/ajax/events_ajax.php#L348
If condition is always false.
phpstan / php-stan (8.2): htdocs/core/ajax/events_ajax.php#L93
Parameter #6 $onlylast of function getEvents expects bool, int given.
phpstan / php-stan (8.2): htdocs/core/ajax/events_ajax.php#L93
Parameter #4 $endDate of function getEvents expects string, int given.
phpstan / php-stan (8.2): htdocs/core/ajax/events_ajax.php#L93
Parameter #3 $startDate of function getEvents expects string, int given.
phpstan / php-stan (8.2): htdocs/core/ajax/events_ajax.php#L93
Parameter #11 $search_all of function getEvents expects string, bool given.
phpstan / php-stan (8.2): htdocs/comm/propal/card.php#L2565
Parameter #2 $default of function getDolGlobalString expects float|int|string, null given.
pre-commit / pre-commit
Cache save failed.

Artifacts

Produced during runtime
Name Size Digest
phpstan-srcrt Expired
817 Bytes
sha256:bbd3bb2a44d6f1996a87a2bc69d65fbaf5fcb3cca35f85db595e99932267e63e
precommit-logs Expired
584 Bytes
sha256:463b6e18cd0d106c42aaf2e1c3b4efdddeedad3c65ce53fe5a354dc729bc7ec8