File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments