From c149053cdb8f7979ffd8d17a9e2aa2fb890cbefe Mon Sep 17 00:00:00 2001 From: Christopher Georg Date: Sat, 2 Mar 2024 10:21:35 +0100 Subject: [PATCH 1/2] feat: bump dev dependencies --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index bfe23a855..ab9f4b442 100644 --- a/composer.json +++ b/composer.json @@ -41,9 +41,9 @@ "phpstan/extension-installer": "^1.3", "phpstan/phpstan": "^1.10", "phpstan/phpstan-phpunit": "^1.3", - "phpunit/phpunit": "^9.5", - "symfony/http-client": "^5.4 || ^6.3", - "symfony/stopwatch": "~2.5 || ~5.0" + "phpunit/phpunit": "^9.6", + "symfony/http-client": "^5.4 || ^6.4 || ^7.0", + "symfony/stopwatch": "^5.4 || ^6.4 || ^7.0" }, "suggest": { "ext-geoip": "Enabling the geoip extension allows you to use the MaxMindProvider.", From 28eda01333ee51376e0410f1fe1ba675519297f5 Mon Sep 17 00:00:00 2001 From: Christopher Georg Date: Thu, 14 Nov 2024 09:16:55 +0100 Subject: [PATCH 2/2] chore: fix php cs --- src/Common/Model/Address.php | 2 +- src/Provider/ArcGISOnline/ArcGISOnline.php | 2 +- src/Provider/AzureMaps/AzureMaps.php | 2 +- src/Provider/GoogleMaps/GoogleMaps.php | 2 +- src/Provider/Mapbox/Mapbox.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Common/Model/Address.php b/src/Common/Model/Address.php index d723c19e5..250384fd6 100644 --- a/src/Common/Model/Address.php +++ b/src/Common/Model/Address.php @@ -85,7 +85,7 @@ final public function __construct( ?string $locality = null, ?string $subLocality = null, ?Country $country = null, - ?string $timezone = null + ?string $timezone = null, ) { $this->providedBy = $providedBy; $this->adminLevels = $adminLevels; diff --git a/src/Provider/ArcGISOnline/ArcGISOnline.php b/src/Provider/ArcGISOnline/ArcGISOnline.php index c9eccbc3b..4bdbc38f2 100644 --- a/src/Provider/ArcGISOnline/ArcGISOnline.php +++ b/src/Provider/ArcGISOnline/ArcGISOnline.php @@ -71,7 +71,7 @@ final class ArcGISOnline extends AbstractHttpProvider implements Provider public static function token( ClientInterface $client, string $token, - ?string $sourceCountry = null + ?string $sourceCountry = null, ) { $provider = new self($client, $sourceCountry, $token); diff --git a/src/Provider/AzureMaps/AzureMaps.php b/src/Provider/AzureMaps/AzureMaps.php index a1f7d02ba..85af12d99 100644 --- a/src/Provider/AzureMaps/AzureMaps.php +++ b/src/Provider/AzureMaps/AzureMaps.php @@ -74,7 +74,7 @@ public function __construct( ClientInterface $client, string $subscriptionKey, array $options = [], - string $format = 'json' + string $format = 'json', ) { parent::__construct($client); diff --git a/src/Provider/GoogleMaps/GoogleMaps.php b/src/Provider/GoogleMaps/GoogleMaps.php index fd58fe8bb..193f83a97 100644 --- a/src/Provider/GoogleMaps/GoogleMaps.php +++ b/src/Provider/GoogleMaps/GoogleMaps.php @@ -86,7 +86,7 @@ public static function business( ?string $privateKey = null, ?string $region = null, ?string $apiKey = null, - ?string $channel = null + ?string $channel = null, ) { $provider = new self($client, $region, $apiKey); $provider->clientId = $clientId; diff --git a/src/Provider/Mapbox/Mapbox.php b/src/Provider/Mapbox/Mapbox.php index be3307370..8d78d7da5 100644 --- a/src/Provider/Mapbox/Mapbox.php +++ b/src/Provider/Mapbox/Mapbox.php @@ -149,7 +149,7 @@ public function __construct( ClientInterface $client, string $accessToken, ?string $country = null, - string $geocodingMode = self::GEOCODING_MODE_PLACES + string $geocodingMode = self::GEOCODING_MODE_PLACES, ) { parent::__construct($client);