These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | |||
3 | /* |
||
4 | * This file is part of the Sonata Project package. |
||
5 | * |
||
6 | * (c) Thomas Rabaix <[email protected]> |
||
7 | * |
||
8 | * For the full copyright and license information, please view the LICENSE |
||
9 | * file that was distributed with this source code. |
||
10 | */ |
||
11 | |||
12 | namespace Sonata\DoctrineORMAdminBundle\Tests\Fixtures\Entity\ORM; |
||
13 | |||
14 | use Doctrine\ORM\Mapping as ORM; |
||
15 | |||
16 | /** |
||
17 | * @ORM\Entity |
||
18 | */ |
||
19 | class User |
||
20 | { |
||
21 | /** |
||
22 | * @ORM\Column(name="id", type="integer") |
||
23 | * @ORM\Id |
||
24 | * @ORM\GeneratedValue(strategy="AUTO") |
||
25 | */ |
||
26 | private $id; |
||
0 ignored issues
–
show
|
|||
27 | } |
||
28 |
This check marks private properties in classes that are never used. Those properties can be removed.