Skip to content

Commit 971bcd3

Browse files
committed
Apply PHP CS Fixer fixes
1 parent 43f8145 commit 971bcd3

File tree

2 files changed

+7
-14
lines changed

2 files changed

+7
-14
lines changed

Dumper/Gpx.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,13 @@ public function dump(Location $location): string
3131
xmlns="http://www.topografix.com/GPX/1/0"
3232
xsi:schemaLocation="http://www.topografix.com/GPX/1/0 http://www.topografix.com/GPX/1/0/gpx.xsd">
3333

34-
GPX
35-
, Geocoder::VERSION);
34+
GPX, Geocoder::VERSION);
3635

3736
if (null !== $bounds = $location->getBounds()) {
3837
$gpx .= sprintf(<<<'GPX'
3938
<bounds minlat="%f" minlon="%f" maxlat="%f" maxlon="%f"/>
4039

41-
GPX
42-
, $bounds->getWest(), $bounds->getSouth(), $bounds->getEast(), $bounds->getNorth());
40+
GPX, $bounds->getWest(), $bounds->getSouth(), $bounds->getEast(), $bounds->getNorth());
4341
}
4442

4543
$lat = null;
@@ -55,8 +53,7 @@ public function dump(Location $location): string
5553
<type><![CDATA[Address]]></type>
5654
</wpt>
5755

58-
GPX
59-
, $lat, $lon, $this->formatName($location));
56+
GPX, $lat, $lon, $this->formatName($location));
6057

6158
$gpx .= <<<'GPX'
6259
</gpx>

Tests/Dumper/GpxTest.php

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ public function testDump(): void
4848
<type><![CDATA[Address]]></type>
4949
</wpt>
5050
</gpx>
51-
GPX
52-
, Geocoder::VERSION, '0', '0');
51+
GPX, Geocoder::VERSION, '0', '0');
5352

5453
$result = $this->dumper->dump($address);
5554

@@ -77,8 +76,7 @@ public function testDumpWithData(): void
7776
<type><![CDATA[Address]]></type>
7877
</wpt>
7978
</gpx>
80-
GPX
81-
, Geocoder::VERSION, $address->getCoordinates()->getLatitude(), $address->getCoordinates()->getLongitude());
79+
GPX, Geocoder::VERSION, $address->getCoordinates()->getLatitude(), $address->getCoordinates()->getLongitude());
8280

8381
$result = $this->dumper->dump($address);
8482

@@ -114,8 +112,7 @@ public function testDumpWithBounds(): void
114112
<type><![CDATA[Address]]></type>
115113
</wpt>
116114
</gpx>
117-
GPX
118-
, Geocoder::VERSION, $bounds['east'], '48.863151', $bounds['east'], '48.863151', $bounds['north'], $bounds['west']);
115+
GPX, Geocoder::VERSION, $bounds['east'], '48.863151', $bounds['east'], '48.863151', $bounds['north'], $bounds['west']);
119116

120117
$this->assertNotNull($address->getBounds());
121118

@@ -159,8 +156,7 @@ public function testDumpWithName(): void
159156
<type><![CDATA[Address]]></type>
160157
</wpt>
161158
</gpx>
162-
GPX
163-
, Geocoder::VERSION, $bounds['east'], '48.863151', $bounds['east'], '48.863151', $bounds['north'], $bounds['west']);
159+
GPX, Geocoder::VERSION, $bounds['east'], '48.863151', $bounds['east'], '48.863151', $bounds['north'], $bounds['west']);
164160

165161
$this->assertNotNull($address->getBounds());
166162

0 commit comments

Comments
 (0)