@@ -66,16 +66,6 @@ class Traits implements \JsonSerializable
6666 */
6767 public readonly bool $ isAnonymous ;
6868
69- /**
70- * @var bool *Deprecated.* Please see our GeoIP2
71- * Anonymous IP database
72- * (https://www.maxmind.com/en/geoip2-anonymous-ip-database) to determine
73- * whether the IP address is used by an anonymizing service.
74- *
75- * @deprecated
76- */
77- public readonly bool $ isAnonymousProxy ;
78-
7969 /**
8070 * @var bool This is true if the IP address is
8171 * registered to an anonymous VPN provider. If a VPN provider does not register
@@ -113,16 +103,6 @@ class Traits implements \JsonSerializable
113103 */
114104 public readonly bool $ isResidentialProxy ;
115105
116- /**
117- * @var bool *Deprecated.* Due to the
118- * increased coverage by mobile carriers, very few satellite providers now
119- * serve multiple countries. As a result, the output does not provide
120- * sufficiently relevant data for us to maintain it.
121- *
122- * @deprecated
123- */
124- public readonly bool $ isSatelliteProvider ;
125-
126106 /**
127107 * @var bool This is true if the IP address is a Tor
128108 * exit node. This property is only available from GeoIP2 Insights.
@@ -217,14 +197,12 @@ public function __construct(array $record)
217197 $ this ->domain = $ record ['domain ' ] ?? null ;
218198 $ this ->ipAddress = $ record ['ip_address ' ] ?? null ;
219199 $ this ->isAnonymous = $ record ['is_anonymous ' ] ?? false ;
220- $ this ->isAnonymousProxy = $ record ['is_anonymous_proxy ' ] ?? false ;
221200 $ this ->isAnonymousVpn = $ record ['is_anonymous_vpn ' ] ?? false ;
222201 $ this ->isHostingProvider = $ record ['is_hosting_provider ' ] ?? false ;
223202 $ this ->isLegitimateProxy = $ record ['is_legitimate_proxy ' ] ?? false ;
224203 $ this ->isp = $ record ['isp ' ] ?? null ;
225204 $ this ->isPublicProxy = $ record ['is_public_proxy ' ] ?? false ;
226205 $ this ->isResidentialProxy = $ record ['is_residential_proxy ' ] ?? false ;
227- $ this ->isSatelliteProvider = $ record ['is_satellite_provider ' ] ?? false ;
228206 $ this ->isTorExitNode = $ record ['is_tor_exit_node ' ] ?? false ;
229207 $ this ->mobileCountryCode = $ record ['mobile_country_code ' ] ?? null ;
230208 $ this ->mobileNetworkCode = $ record ['mobile_network_code ' ] ?? null ;
@@ -261,9 +239,6 @@ public function jsonSerialize(): array
261239 if ($ this ->isAnonymous !== false ) {
262240 $ js ['is_anonymous ' ] = $ this ->isAnonymous ;
263241 }
264- if ($ this ->isAnonymousProxy !== false ) {
265- $ js ['is_anonymous_proxy ' ] = $ this ->isAnonymousProxy ;
266- }
267242 if ($ this ->isAnonymousVpn !== false ) {
268243 $ js ['is_anonymous_vpn ' ] = $ this ->isAnonymousVpn ;
269244 }
@@ -279,9 +254,6 @@ public function jsonSerialize(): array
279254 if ($ this ->isResidentialProxy !== false ) {
280255 $ js ['is_residential_proxy ' ] = $ this ->isResidentialProxy ;
281256 }
282- if ($ this ->isSatelliteProvider !== false ) {
283- $ js ['is_satellite_provider ' ] = $ this ->isSatelliteProvider ;
284- }
285257 if ($ this ->isTorExitNode !== false ) {
286258 $ js ['is_tor_exit_node ' ] = $ this ->isTorExitNode ;
287259 }
0 commit comments