Skip to content

#310 implement sendVenue method and Venue DTO #632

#310 implement sendVenue method and Venue DTO

#310 implement sendVenue method and Venue DTO #632

Triggered via push December 16, 2024 10:54
Status Failure
Total duration 48s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 2 warnings
phpstan: src/DTO/Venue.php#L39
Parameter #1 $data of static method DefStudio\Telegraph\DTO\Location::fromArray() expects array{longitude: float, latitude: float, horizontal_accuracy?: float}, DefStudio\Telegraph\DTO\Location given.
phpstan: src/DTO/Venue.php#L42
Offset 'foursquare_id' on array{location: DefStudio\Telegraph\DTO\Location, title: string, address: string, foursquareId?: string, foursquareType?: string, googlePlaceId?: string, googlePlaceType?: string} on left side of ?? does not exist.
phpstan: src/DTO/Venue.php#L43
Offset 'foursquare_type' on array{location: DefStudio\Telegraph\DTO\Location, title: string, address: string, foursquareId?: string, foursquareType?: string, googlePlaceId?: string, googlePlaceType?: string} on left side of ?? does not exist.
phpstan: src/DTO/Venue.php#L44
Offset 'google_place_id' on array{location: DefStudio\Telegraph\DTO\Location, title: string, address: string, foursquareId?: string, foursquareType?: string, googlePlaceId?: string, googlePlaceType?: string} on left side of ?? does not exist.
phpstan: src/DTO/Venue.php#L45
Offset 'google_place_type' on array{location: DefStudio\Telegraph\DTO\Location, title: string, address: string, foursquareId?: string, foursquareType?: string, googlePlaceId?: string, googlePlaceType?: string} on left side of ?? does not exist.
phpstan
Process completed with exit code 1.
phpstan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
phpstan
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/