src/AwsInspector/Helper/Curl.php
Showing 3 of 3 total issues
Method doRequest
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function doRequest() { $this->responseHeaders = []; $this->responseBody = []; $command = $this->getCurlCommand();
Function doRequest
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. Open
Open
public function doRequest() { $this->responseHeaders = []; $this->responseBody = []; $command = $this->getCurlCommand();
- Read upRead up
Function parseHeader
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. Open
Open
protected function parseHeader($line) { $line = trim($line); if (empty($line)) { return; }
- Read upRead up