for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass="App\Repository\SettingRepository")
* @ORM\Table(name="setting")
*/
class Setting
{
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
private $id;
* @ORM\Column(type="string")
private $title = '';
private $code = '';
private $api = '';
private $userSuffix = '';
private $guildSuffix = '';
private $unitSuffix = '';
$unitSuffix
This check marks private properties in classes that are never used. Those properties can be removed.
* Get id.
*
* @return int
public function getId()
return $this->id;
}
* Set title.
* @param string $title
* @return Setting
public function setTitle($title)
$this->title = $title;
return $this;
* Get title.
* @return string
public function getTitle()
return $this->title;
* Set api.
* @param string $api
public function setApi($api)
$this->api = $api;
* Get api.
public function getApi()
return $this->api;
* Set userSuffix.
* @param string $userSuffix
public function setUserSuffix($userSuffix)
$this->userSuffix = $userSuffix;
* Get userSuffix.
public function getUserSuffix()
return $this->userSuffix;
* Set guildSuffix.
* @param string $guildSuffix
public function setGuildSuffix($guildSuffix)
$this->guildSuffix = $guildSuffix;
* Get guildSuffix.
public function getGuildSuffix()
return $this->guildSuffix;
* Set code.
* @param string $code
public function setCode($code)
$this->code = $code;
* Get code.
public function getCode()
return $this->code;
This check marks private properties in classes that are never used. Those properties can be removed.