Skip to content

Commit 10f0fe2

Browse files
authored
Merge pull request #333 from norkunas/modernize
Modernize
2 parents df29518 + be61e92 commit 10f0fe2

File tree

156 files changed

+848
-632
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

156 files changed

+848
-632
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ jobs:
2626
composer install --prefer-dist --no-progress --no-interaction --optimize-autoloader
2727
2828
- name: "Run PHPStan"
29-
run: vendor/bin/phpstan analyse --no-progress
29+
run: |
30+
vendor/bin/simple-phpunit --version
31+
vendor/bin/phpstan analyse --no-progress
3032
3133
php-cs-fixer:
3234
name: PHP-CS-Fixer

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ The changelog describes what have been "Added", "Changed", "Removed" or "Fixed"
88

99
- Allow PSR-18 client
1010
- Updated Geocoder Provider dependency requirements to the latest versions
11+
- Deprecate `httplug_client` option in most provider factories in favour of `http_client`.
1112

1213
## Version 5.18.0
1314

README.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,10 @@ into Symfony. It integrates seamlessly with the Symfony profiler. You can
1414
check number of queries executed by each provider, total execution time
1515
and geocoding results.
1616

17-
![Example
18-
Toolbar](Resources/doc/toolbar.png)
17+
![Example Toolbar](doc/toolbar.png)
1918

2019

21-
![Example
22-
Profiler page](Resources/doc/profiler-page.png)
20+
![Example Profiler page](doc/profiler-page.png)
2321

2422

2523

@@ -28,10 +26,9 @@ Documentation
2826

2927
For documentation, see:
3028

31-
Resources/doc/
29+
doc/
3230

33-
[Read the
34-
documentation](Resources/doc/index.md)
31+
[Read the documentation](doc/index.md)
3532

3633

3734
Contributing

Tests/Functional/config/cache.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

Tests/Functional/config/provider/algoliaplaces.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

Tests/Functional/config/provider/arcgisonline.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

Tests/Functional/config/provider/bingmaps.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

Tests/Functional/config/provider/chain.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

Tests/Functional/config/provider/freegeoip.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

Tests/Functional/config/provider/geoip.yml

Lines changed: 0 additions & 6 deletions
This file was deleted.

Tests/Functional/config/provider/geoip2.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

Tests/Functional/config/provider/geoips.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

Tests/Functional/config/provider/geonames.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

Tests/Functional/config/provider/geoplugin.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.

Tests/Functional/config/provider/googlemapsplaces.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

Tests/Functional/config/provider/here.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

Tests/Functional/config/provider/hostip.yml

Lines changed: 0 additions & 6 deletions
This file was deleted.

Tests/Functional/config/provider/ipinfo.yml

Lines changed: 0 additions & 6 deletions
This file was deleted.

Tests/Functional/config/provider/ipinfodb.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

Tests/Functional/config/provider/ipstack.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

Tests/Functional/config/provider/mapbox.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

Tests/Functional/config/provider/mapquest.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

Tests/Functional/config/provider/mapzen.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

Tests/Functional/config/provider/maxmind.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

Tests/Functional/config/provider/maxmindbinary.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

Tests/Functional/config/provider/nominatim.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

Tests/Functional/config/provider/opencage.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

Tests/Functional/config/provider/pickpoint.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

Tests/Functional/config/provider/tomtom.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

Tests/Functional/config/provider/yandex.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

Tests/Functional/config/service_plugin.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

Tests/Functional/config/simple.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.

composer.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,12 @@
6969
},
7070
"autoload": {
7171
"psr-4": {
72-
"Bazinga\\GeocoderBundle\\": ""
72+
"Bazinga\\GeocoderBundle\\": "src/"
73+
}
74+
},
75+
"autoload-dev": {
76+
"psr-4": {
77+
"Bazinga\\GeocoderBundle\\Tests\\": "tests"
7378
}
7479
},
7580
"scripts": {

Resources/config/profiling.yml renamed to config/profiling.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ services:
33
class: Bazinga\GeocoderBundle\DataCollector\GeocoderDataCollector
44
public: false
55
tags:
6-
- { name: data_collector, template: "@BazingaGeocoder/Collector/geocoder.html.twig", id: "geocoder" }
6+
- { name: data_collector, template: '@BazingaGeocoder/Collector/geocoder.html.twig', id: 'geocoder' }

0 commit comments

Comments
 (0)