Skip to content

new calendar endpoints | part 4/4 | endpoint implementations #62

new calendar endpoints | part 4/4 | endpoint implementations

new calendar endpoints | part 4/4 | endpoint implementations #62

Triggered via pull request October 21, 2024 23:48
Status Failure
Total duration 51s
Artifacts

phpstan-tests.yml

on: pull_request
PHPStan for WordPress
41s
PHPStan for WordPress
Fit to window
Zoom out
Zoom in

Annotations

10 errors
PHPStan for WordPress: includes/core/classes/class-calendars.php#L259
Parameter #1 $object_type of function get_object_taxonomies expects array<string>|string|WP_Post, int given.
PHPStan for WordPress: includes/core/classes/class-calendars.php#L335
Offset 'type' on array{url: string|false, attr: string} in isset() does not exist.
PHPStan for WordPress: includes/core/classes/class-calendars.php#L460
PHPDoc tag @throws with type GatherPress\Core\Exception is not subtype of Throwable
PHPStan for WordPress: includes/core/classes/class-calendars.php#L502
PHPDoc tag @throws with type GatherPress\Core\Exception is not subtype of Throwable
PHPStan for WordPress: includes/core/classes/class-calendars.php#L509
Access to undefined constant GatherPress\Core\Calendars::DATETIME_FORMAT.
PHPStan for WordPress: includes/core/classes/class-calendars.php#L510
Access to undefined constant GatherPress\Core\Calendars::DATETIME_FORMAT.
PHPStan for WordPress: includes/core/classes/class-calendars.php#L514
Parameter #1 $input of function str_pad expects string, int given.
PHPStan for WordPress: includes/core/classes/class-calendars.php#L515
Parameter #1 $input of function str_pad expects string, int given.
PHPStan for WordPress: includes/core/classes/class-calendars.php#L584
PHPDoc tag @throws with type GatherPress\Core\Exception is not subtype of Throwable
PHPStan for WordPress: includes/core/classes/class-rsvp.php#L280
Constant GATHERPRESS_CACHE_GROUP not found.