for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Cryptommer\Smsir\Objects;
use Psr\Http\Message\StreamInterface;
class Response {
/**
* @var String
*/
public string $Status;
* @var string
public string $Message;
* @var BulkResponse|
public $Data;
public function __construct(StreamInterface $response) {
$response
If this is a false-positive, you can also ignore this issue in your code via the ignore-unused annotation
ignore-unused
public function __construct(/** @scrutinizer ignore-unused */ StreamInterface $response) {
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.
}
* @param $Data
public function setData($Data): void
{
$this->Data = $Data;
* @return BulkResponse
public function getData() {
return $this->Data;
* @param string $Message
public function setMessage(string $Message): void {
$this->Message = $Message;
* @return string
public function getMessage() {
return $this->Message;
* @param String $Status
public function setStatus(string $Status): void {
$this->Status = $Status;
* @return String
public function getStatus(): string {
return $this->Status;
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.