Skip to content

Commit f82cbf6

Browse files
fbuchlakjbelien
andauthored
style: convert string class names to constants (#1252)
* style: convert string class names to constants * style: fix php-cs-fixer --------- Co-authored-by: Jonathan Beliën <[email protected]>
1 parent c7d2601 commit f82cbf6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/GeoPluginTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function testGeocodeWithLocalhostIPv4(): void
4444
$provider = new GeoPlugin($this->getMockedHttpClient());
4545
$results = $provider->geocodeQuery(GeocodeQuery::create('127.0.0.1'));
4646

47-
$this->assertInstanceOf('Geocoder\Model\AddressCollection', $results);
47+
$this->assertInstanceOf(\Geocoder\Model\AddressCollection::class, $results);
4848
$this->assertCount(1, $results);
4949

5050
$result = $results->first();
@@ -57,7 +57,7 @@ public function testGeocodeWithLocalhostIPv6(): void
5757
$provider = new GeoPlugin($this->getMockedHttpClient());
5858
$results = $provider->geocodeQuery(GeocodeQuery::create('::1'));
5959

60-
$this->assertInstanceOf('Geocoder\Model\AddressCollection', $results);
60+
$this->assertInstanceOf(\Geocoder\Model\AddressCollection::class, $results);
6161
$this->assertCount(1, $results);
6262

6363
$result = $results->first();
@@ -70,7 +70,7 @@ public function testGeocodeWithRealIPv4(): void
7070
$provider = new GeoPlugin($this->getHttpClient());
7171
$results = $provider->geocodeQuery(GeocodeQuery::create('66.147.244.214'));
7272

73-
$this->assertInstanceOf('Geocoder\Model\AddressCollection', $results);
73+
$this->assertInstanceOf(\Geocoder\Model\AddressCollection::class, $results);
7474
$this->assertCount(1, $results);
7575

7676
$result = $results->first();

0 commit comments

Comments
 (0)