dzarezenko/coinmarketcap-api

View on GitHub
src/tools/Request.php

Summary

Maintainability
A
0 mins
Test Coverage

Showing 3 of 3 total issues

Missing class import via use statement (line '54', column '23').
Open

throw new \Exception("Curl error: " . curl_error(self::$ch));
Severity: Minor
Found in src/tools/Request.php by phpmd

Missing class import via use statement (line '61', column '23').
Open

throw new \Exception("CoinMarketCap API error: {$json['error']}");
Severity: Minor
Found in src/tools/Request.php by phpmd

Avoid variables with short names like $ch. Configured minimum length is 3.
Open

private static $ch = null;
Severity: Minor
Found in src/tools/Request.php by phpmd

There are no issues that match your filters.

Category
Status