Skip to content

Commit aedfb94

Browse files
norkunasNyholm
authored andcommitted
Deprecate GeoIPsFactory (#242)
1 parent 74576d4 commit aedfb94

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.travis.yml

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

1414
matrix:
1515
fast_finish: true

ProviderFactory/GeoIPsFactory.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\GeoIPsFactory is deprecated since 5.6, to be removed in 6.0. See https://github.com/geocoder-php/Geocoder/issues/965', E_USER_DEPRECATED);
21+
22+
/**
23+
* @deprecated since 5.6, to be removed in 6.0. See https://github.com/geocoder-php/Geocoder/issues/965
24+
*/
2025
final class GeoIPsFactory extends AbstractFactory
2126
{
2227
protected static $dependencies = [

0 commit comments

Comments
 (0)