for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace PSolr\Response;
class Response extends \ArrayObject
{
/**
* @var array
*/
protected $params;
* @param array $data
* @param array $params
public function __construct($data, array $params)
$this->params = $params;
$this->normalizeResponse($data);
parent::__construct($data);
}
* @param array &$data
public function normalizeResponse(&$data) {}
$data
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
* @return array
public function getParams()
return $this->params();
params()
PSolr\Response\Response
getParams()
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.
* @return int
public function QTime()
return $this['responseHeader']['QTime'];
public function status()
return $this['responseHeader']['status'];
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.