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;
/**
* Activity
*
* @ORM\Table(name="activity", indexes={@ORM\Index(name="fk_actividad_sector1_idx", columns={"sector_id"})})
* @ORM\Entity
* @ORM\Entity(repositoryClass="Api\Entity\ActivityRepository")
*/
class Activity
{
* @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
* @var \Sector
* @ORM\ManyToOne(targetEntity="Sector")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="sector_id", referencedColumnName="id", nullable=false)
* })
private $sector;
$sector
}
This check marks private properties in classes that are never used. Those properties can be removed.