Skip to content

Commit 973938f

Browse files
committed
Run new php-cs-fixer
1 parent ea64f0c commit 973938f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/GeoIp2/Test/Model/CountryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ public function testJsonSerialize(): void
194194
'jsonSerialize returns initial array for the record'
195195
);
196196

197-
if (version_compare(PHP_VERSION, '5.4.0', '<')) {
197+
if (version_compare(\PHP_VERSION, '5.4.0', '<')) {
198198
$this->markTestSkipped('Requires PHP 5.4+.');
199199
}
200200

tests/GeoIp2/Test/WebService/ClientTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ private function makeRequest(
524524
'headers' => $headers,
525525
'userAgent' => 'GeoIP2-API/' . \GeoIp2\WebService\Client::VERSION
526526
. ' MaxMind-WS-API/' . WsClient::VERSION
527-
. ' PHP/' . PHP_VERSION
527+
. ' PHP/' . \PHP_VERSION
528528
. ' curl/' . $curlVersion['version'],
529529
'connectTimeout' => isset($options['connectTimeout'])
530530
? $options['connectTimeout'] : null,

0 commit comments

Comments
 (0)