Improve how geolocation DB files are downloaded/updated #1597
Annotations
7 errors
Run composer 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.
|
Run composer stan:
module/Core/src/Geolocation/GeolocationDbUpdater.php#L80
Cannot call method needsUpdate() on Shlinkio\Shlink\Core\Geolocation\Entity\GeolocationDbUpdate|null.
|
Run composer stan:
module/Core/src/Geolocation/GeolocationDbUpdater.php#L88
Cannot call method needsUpdate() on Shlinkio\Shlink\Core\Geolocation\Entity\GeolocationDbUpdate|null.
|
Run composer 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.
|
Run composer 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.
|
Run composer 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.
|
Run composer stan
Process completed with exit code 1.
|
Loading