Skip to content

Commit a712b7c

Browse files
committed
Fix dev dependencies versions
1 parent 10f0fe2 commit a712b7c

File tree

3 files changed

+29
-9
lines changed

3 files changed

+29
-9
lines changed

composer.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
"require-dev": {
2323
"doctrine/orm": "~2.8",
2424
"fakerphp/faker": "^1.20",
25-
"friendsofphp/php-cs-fixer": "^3.9",
26-
"geocoder-php/algolia-places-provider": "^4.3.0",
25+
"friendsofphp/php-cs-fixer": "^3.13",
26+
"geocoder-php/algolia-places-provider": "^0.4",
2727
"geocoder-php/arcgis-online-provider": "^4.4",
2828
"geocoder-php/bing-maps-provider": "^4.3",
2929
"geocoder-php/cache-provider": "^4.4.0",
@@ -35,12 +35,12 @@
3535
"geocoder-php/geonames-provider": "^4.4",
3636
"geocoder-php/google-maps-places-provider": "^1.4",
3737
"geocoder-php/google-maps-provider": "^4.7",
38-
"geocoder-php/here-provider": "^4.3.0",
38+
"geocoder-php/here-provider": "^0.7",
3939
"geocoder-php/host-ip-provider": "^4.4",
4040
"geocoder-php/ip-info-db-provider": "^4.3",
41-
"geocoder-php/ip-info-provider": "^4.3",
42-
"geocoder-php/ipstack-provider": "^4.3",
43-
"geocoder-php/locationiq-provider": "^1.4.0",
41+
"geocoder-php/ip-info-provider": "^0.4",
42+
"geocoder-php/ipstack-provider": "^0.4",
43+
"geocoder-php/locationiq-provider": "^1.4",
4444
"geocoder-php/mapbox-provider": "^1.4",
4545
"geocoder-php/mapquest-provider": "^4.3",
4646
"geocoder-php/mapzen-provider": "^4.0",
@@ -50,15 +50,15 @@
5050
"geocoder-php/open-cage-provider": "^4.6",
5151
"geocoder-php/openrouteservice-provider": "^1.3",
5252
"geocoder-php/pickpoint-provider": "^4.3",
53-
"geocoder-php/tomtom-provider": "^4.3",
54-
"geocoder-php/yandex-provider": "^4.4",
53+
"geocoder-php/tomtom-provider": "^4.4",
54+
"geocoder-php/yandex-provider": "^4.5",
5555
"geoip/geoip": "~1.17",
5656
"nyholm/nsa": "^1.3",
5757
"nyholm/psr7": "^1.5",
5858
"nyholm/symfony-bundle-test": "dev-master",
5959
"php-http/curl-client": "^2.2",
6060
"php-http/message": "^1.13",
61-
"phpstan/phpstan": "^1.7",
61+
"phpstan/phpstan": "^1.9.2",
6262
"symfony/config": "^4.4 || ^5.0 || ^6.0",
6363
"symfony/phpunit-bridge": "^5.2 || ^6.0",
6464
"symfony/validator": "^4.4 || ^5.0 || ^6.0",

src/Validator/Constraint/Address.php

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
/**
1818
* @Annotation
19+
*
1920
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
2021
*
2122
* @author Tomas Norkūnas <[email protected]>

tests/Doctrine/ORM/GeocoderListenerTest.php

+19
Original file line numberDiff line numberDiff line change
@@ -189,56 +189,66 @@ public function testDoesNotGeocodeIfAddressNotChanged(): void
189189

190190
/**
191191
* @Geocodeable
192+
*
192193
* @Entity
193194
*/
194195
class DummyWithProperty
195196
{
196197
/**
197198
* @Id
199+
*
198200
* @GeneratedValue
201+
*
199202
* @Column(type="integer")
200203
*/
201204
public $id;
202205

203206
/**
204207
* @Latitude
208+
*
205209
* @Column()
206210
*/
207211
public $latitude;
208212

209213
/**
210214
* @Longitude
215+
*
211216
* @Column
212217
*/
213218
public $longitude;
214219

215220
/**
216221
* @Address
222+
*
217223
* @Column
218224
*/
219225
public $address;
220226
}
221227

222228
/**
223229
* @Geocodeable
230+
*
224231
* @Entity
225232
*/
226233
class DummyWithGetter
227234
{
228235
/**
229236
* @Id @GeneratedValue
237+
*
230238
* @Column(type="integer")
231239
*/
232240
private $id;
233241

234242
/**
235243
* @Latitude
244+
*
236245
* @Column
237246
*/
238247
private $latitude;
239248

240249
/**
241250
* @Longitude
251+
*
242252
* @Column
243253
*/
244254
private $longitude;
@@ -284,24 +294,28 @@ public function setLongitude($longitude)
284294

285295
/**
286296
* @Geocodeable
297+
*
287298
* @Entity
288299
*/
289300
class DummyWithInvalidGetter
290301
{
291302
/**
292303
* @Id @GeneratedValue
304+
*
293305
* @Column(type="integer")
294306
*/
295307
private $id;
296308

297309
/**
298310
* @Latitude
311+
*
299312
* @Column
300313
*/
301314
private $latitude;
302315

303316
/**
304317
* @Longitude
318+
*
305319
* @Column
306320
*/
307321
private $longitude;
@@ -347,30 +361,35 @@ public function setLongitude($longitude)
347361

348362
/**
349363
* @Geocodeable
364+
*
350365
* @Entity
351366
*/
352367
class DummyWithEmptyProperty
353368
{
354369
/**
355370
* @Id @GeneratedValue
371+
*
356372
* @Column(type="integer")
357373
*/
358374
public $id;
359375

360376
/**
361377
* @Latitude
378+
*
362379
* @Column(nullable=true)
363380
*/
364381
public $latitude;
365382

366383
/**
367384
* @Longitude
385+
*
368386
* @Column(nullable=true)
369387
*/
370388
public $longitude;
371389

372390
/**
373391
* @Address
392+
*
374393
* @Column
375394
*/
376395
public $address;

0 commit comments

Comments
 (0)