for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace AL\Common\Model\Dump;
/**
* Maps to the `Dump` table
*/
class Dump {
private $id;
private $media_id;
private $format;
private $sha512;
private $date;
private $size;
private $info;
private $user;
public function __construct($id, $media_id, $format, $sha512, $date, $size, $info, $user) {
$media_id
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($id, /** @scrutinizer ignore-unused */ $media_id, $format, $sha512, $date, $size, $info, $user) {
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.
$this->id = $id;
$this->format = $format;
$this->sha512 = $sha512;
$this->date = $date;
$this->size = $size;
$this->info = $info;
$this->user = $user;
}
public function getId() {
return $this->id;
public function getMediaId() {
return $this->media_id;
public function getFormat() {
return $this->format;
public function getSha512() {
return $this->sha512;
public function getDate() {
return $this->date;
public function getSize() {
return $this->size;
public function getInfo() {
return $this->info;
public function getUser() {
return $this->user;
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.