for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Api\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Sector
*
* @ORM\Table(name="sector")
* @ORM\Entity
* @ORM\Entity(repositoryClass="Api\Entity\SectorRepository")
*/
class Sector
{
* @var integer
* @ORM\Column(name="id", type="integer", nullable=false, options={"unsigned":true})
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
private $id;
$id
This check marks private properties in classes that are never used. Those properties can be removed.
* @var string
* @ORM\Column(name="name", type="string", length=255, nullable=true)
private $name;
$name
* @ORM\Column(name="color", type="string", length=10, nullable=true)
private $color;
$color
* @ORM\Column(name="description", type="text", length=65535, nullable=true)
private $description;
$description
}
This check marks private properties in classes that are never used. Those properties can be removed.