Skip to content

Commit 8de527b

Browse files
authored
Merge branch 'master' into feature/geonames-premium-support
2 parents 4e1f258 + 0cc8519 commit 8de527b

File tree

7 files changed

+17
-24
lines changed

7 files changed

+17
-24
lines changed

.github/workflows/component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
name: PHP ${{ matrix.php-version }} / ${{ matrix.component }}
3030

3131
steps:
32-
- uses: actions/checkout@v4
32+
- uses: actions/checkout@v5
3333

3434
- name: Use PHP ${{ matrix.php-version }}
3535
uses: shivammathur/setup-php@v2

.github/workflows/dependency-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: 'Checkout Repository'
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v5
1919
- name: 'Dependency Review'
2020
uses: actions/dependency-review-action@v4

.github/workflows/php.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
deps: ['low', 'high']
1717
name: PHP ${{ matrix.php-version }} (${{ matrix.deps }})
1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v5
2020
- name: Use PHP ${{ matrix.php-version }}
2121
uses: shivammathur/setup-php@v2
2222
with:
@@ -40,7 +40,7 @@ jobs:
4040
runs-on: ubuntu-latest
4141
name: PHPStan
4242
steps:
43-
- uses: actions/checkout@v4
43+
- uses: actions/checkout@v5
4444
- name: Use PHP 8.3
4545
uses: shivammathur/setup-php@v2
4646
with:
@@ -55,7 +55,7 @@ jobs:
5555
runs-on: ubuntu-latest
5656
name: PHP CS Fixer
5757
steps:
58-
- uses: actions/checkout@v4
58+
- uses: actions/checkout@v5
5959
- name: Use PHP 8.3
6060
uses: shivammathur/setup-php@v2
6161
with:

.github/workflows/provider.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
- TomTom
5353
- Yandex
5454
steps:
55-
- uses: actions/checkout@v4
55+
- uses: actions/checkout@v5
5656
- name: Use PHP ${{ matrix.php-version }}
5757
uses: shivammathur/setup-php@v2
5858
with:

.github/workflows/subtree.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
app-id: ${{ vars.SUBTREE_APP_ID }}
2626
private-key: ${{ secrets.SUBTREE_APP_PRIVATE_KEY }}
2727
owner: ${{ github.repository_owner }}
28-
- uses: actions/checkout@v4
28+
- uses: actions/checkout@v5
2929
with:
3030
token: ${{ steps.app-token.outputs.token }}
3131
fetch-depth: 0
@@ -45,7 +45,7 @@ jobs:
4545
app-id: ${{ vars.SUBTREE_APP_ID }}
4646
private-key: ${{ secrets.SUBTREE_APP_PRIVATE_KEY }}
4747
owner: ${{ github.repository_owner }}
48-
- uses: actions/checkout@v4
48+
- uses: actions/checkout@v5
4949
with:
5050
token: ${{ steps.app-token.outputs.token }}
5151
fetch-depth: 0
@@ -65,7 +65,7 @@ jobs:
6565
app-id: ${{ vars.SUBTREE_APP_ID }}
6666
private-key: ${{ secrets.SUBTREE_APP_PRIVATE_KEY }}
6767
owner: ${{ github.repository_owner }}
68-
- uses: actions/checkout@v4
68+
- uses: actions/checkout@v5
6969
with:
7070
token: ${{ steps.app-token.outputs.token }}
7171
fetch-depth: 0
@@ -126,7 +126,7 @@ jobs:
126126
app-id: ${{ vars.SUBTREE_APP_ID }}
127127
private-key: ${{ secrets.SUBTREE_APP_PRIVATE_KEY }}
128128
owner: ${{ github.repository_owner }}
129-
- uses: actions/checkout@v4
129+
- uses: actions/checkout@v5
130130
with:
131131
token: ${{ steps.app-token.outputs.token }}
132132
fetch-depth: 0

src/Common/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>

src/Common/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)