Skip to content

Commit e368c4e

Browse files
norkunasNyholm
authored andcommitted
Deprecate MapzenFactory (#234)
1 parent ef74a9a commit e368c4e

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,16 @@ env:
99
global:
1010
- PHPUNIT_FLAGS="-v --testsuite main"
1111
- SYMFONY_PHPUNIT_DIR="$HOME/symfony-bridge/.phpunit"
12+
- SYMFONY_DEPRECATIONS_HELPER="max[self]=1"
1213

1314
matrix:
1415
fast_finish: true
1516
include:
1617
# Minimum supported dependencies with the latest and oldest PHP version
1718
- php: 7.2
18-
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" SYMFONY_DEPRECATIONS_HELPER="max[self]=0"
19+
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest"
1920
- php: 7.0
20-
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" SYMFONY_DEPRECATIONS_HELPER="max[self]=0"
21+
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest"
2122

2223
# Test the latest stable release
2324
- php: 7.0

ProviderFactory/MapzenFactory.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@
1717
use Http\Discovery\HttpClientDiscovery;
1818
use Symfony\Component\OptionsResolver\OptionsResolver;
1919

20+
@trigger_error('Bazinga\GeocoderBundle\ProviderFactory\MapzenFactory is deprecated since 5.6, to be removed in 6.0. See https://github.com/geocoder-php/Geocoder/issues/808', E_USER_DEPRECATED);
21+
22+
/**
23+
* @deprecated since 5.6, to be removed in 6.0. See https://github.com/geocoder-php/Geocoder/issues/808
24+
*/
2025
final class MapzenFactory extends AbstractFactory
2126
{
2227
protected static $dependencies = [

0 commit comments

Comments
 (0)