Skip to content

Improve how geolocation DB files are downloaded/updated #1597

Improve how geolocation DB files are downloaded/updated

Improve how geolocation DB files are downloaded/updated #1597

Triggered via pull request December 15, 2024 09:08
Status Failure
Total duration 1m 41s
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

12 errors
static-analysis (8.3, stan): module/Core/src/Geolocation/Entity/GeolocationDbUpdate.php#L35
Cannot access offset 'dev' on array{0: int, 1: int, 2: int, 3: int, 4: int, 5: int, 6: int, 7: int, ...}|false.
static-analysis (8.3, stan): module/Core/src/Geolocation/GeolocationDbUpdater.php#L80
Cannot call method needsUpdate() on Shlinkio\Shlink\Core\Geolocation\Entity\GeolocationDbUpdate|null.
static-analysis (8.3, stan): module/Core/src/Geolocation/GeolocationDbUpdater.php#L88
Cannot call method needsUpdate() on Shlinkio\Shlink\Core\Geolocation\Entity\GeolocationDbUpdate|null.
static-analysis (8.3, stan): module/Core/test/Geolocation/GeolocationDbUpdaterTest.php#L209
Parameter #2 $locker of class Shlinkio\Shlink\Core\Geolocation\GeolocationDbUpdater constructor expects Symfony\Component\Lock\LockFactory, Closure given.
static-analysis (8.3, stan): module/Core/test/Geolocation/GeolocationDbUpdaterTest.php#L210
Parameter #3 $trackingOptions of class Shlinkio\Shlink\Core\Geolocation\GeolocationDbUpdater constructor expects Shlinkio\Shlink\Core\Config\Options\TrackingOptions, PHPUnit\Framework\MockObject\MockObject&Symfony\Component\Lock\LockFactory given.
static-analysis (8.3, stan): module/Core/test/Geolocation/GeolocationDbUpdaterTest.php#L211
Parameter #4 $em of class Shlinkio\Shlink\Core\Geolocation\GeolocationDbUpdater constructor expects Doctrine\ORM\EntityManagerInterface, Shlinkio\Shlink\Core\Config\Options\TrackingOptions given.
static-analysis (8.3, stan)
Process completed with exit code 1.
unit-tests / tests (8.4)
Process completed with exit code 2.
unit-tests / tests (8.3)
The job was canceled because "_8_4" failed.
unit-tests / tests (8.3)
The operation was canceled.
static-analysis (8.3, cs)
The job was canceled because "_8_3_stan" failed.
static-analysis (8.3, cs)
The operation was canceled.

Artifacts

Produced during runtime
Name Size
coverage-api
3.9 KB
coverage-cli
15.5 KB
coverage-db
19.3 KB