Skip to content

Add visited short URL info to every visit #1594

Add visited short URL info to every visit

Add visited short URL info to every visit #1594

Triggered via pull request December 12, 2024 07:53
Status Failure
Total duration 5m 49s
Artifacts 3

ci.yml

on: pull_request
Matrix: api-tests / tests
Matrix: cli-tests / tests
Matrix: db-tests
Matrix: unit-tests / tests
Matrix: static-analysis
Matrix: upload-coverage
delete-artifacts
0s
delete-artifacts
Fit to window
Zoom out
Zoom in

Annotations

13 errors
static-analysis (8.3, cs)
Process completed with exit code 2.
static-analysis (8.3, openapi:validate)
The job was canceled because "_8_3_cs" failed.
static-analysis (8.3, stan)
The job was canceled because "_8_3_cs" failed.
static-analysis (8.3, stan): module/Core/src/Visit/Entity/Visit.php#L161
Parameter $visitedShortUrlToArray of method Shlinkio\Shlink\Core\Visit\Entity\Visit::toArray() has invalid type Shlinkio\Shlink\Core\Visit\Entity\VisitedShortUrl.
static-analysis (8.3, stan): module/Core/src/Visit/Transformer/VisitDataTransformer.php#L19
Parameter #1 $visitedShortUrlToArray of method Shlinkio\Shlink\Core\Visit\Entity\Visit::toArray() expects (callable(Shlinkio\Shlink\Core\ShortUrl\Entity\ShortUrl): Shlinkio\Shlink\Core\Visit\Entity\VisitedShortUrl)|null, Closure(Shlinkio\Shlink\Core\ShortUrl\Entity\ShortUrl): array{shortCode: string, domain: string|null, shortUrl: string} given.
static-analysis (8.3, stan): module/Rest/test/Action/Visit/DomainVisitsActionTest.php#L29
Class Shlinkio\Shlink\Rest\Action\Visit\DomainVisitsAction constructor invoked with 2 parameters, 3 required.
static-analysis (8.3, stan): module/Rest/test/Action/Visit/NonOrphanVisitsActionTest.php#L27
Class Shlinkio\Shlink\Rest\Action\Visit\NonOrphanVisitsAction constructor invoked with 1 parameter, 2 required.
static-analysis (8.3, stan): module/Rest/test/Action/Visit/OrphanVisitsActionTest.php#L32
Class Shlinkio\Shlink\Rest\Action\Visit\OrphanVisitsAction constructor invoked with 1 parameter, 2 required.
static-analysis (8.3, stan): module/Rest/test/Action/Visit/ShortUrlVisitsActionTest.php#L30
Class Shlinkio\Shlink\Rest\Action\Visit\ShortUrlVisitsAction constructor invoked with 1 parameter, 2 required.
static-analysis (8.3, stan): module/Rest/test/Action/Visit/TagVisitsActionTest.php#L26
Class Shlinkio\Shlink\Rest\Action\Visit\TagVisitsAction constructor invoked with 1 parameter, 2 required.
static-analysis (8.3, stan)
The operation was canceled.
unit-tests / tests (8.3)
Process completed with exit code 2.
unit-tests / tests (8.4)
The job was canceled because "_8_3" failed.

Artifacts

Produced during runtime
Name Size
coverage-api
3.89 KB
coverage-cli
15.8 KB
coverage-db
19.8 KB