These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | |||
3 | namespace Doctrine\Tests\Models\Pagination; |
||
4 | |||
5 | |||
6 | /** |
||
7 | * @package Doctrine\Tests\Models\Pagination |
||
8 | * |
||
9 | * @Entity |
||
10 | * @Table(name="pagination_user") |
||
11 | * @InheritanceType("SINGLE_TABLE") |
||
12 | * @DiscriminatorColumn(name="type", type="string") |
||
13 | * @DiscriminatorMap({"user1"="User1"}) |
||
14 | */ |
||
15 | abstract class User |
||
16 | { |
||
17 | /** |
||
18 | * @Id @Column(type="integer") |
||
19 | * @GeneratedValue |
||
20 | */ |
||
21 | private $id; |
||
0 ignored issues
–
show
|
|||
22 | |||
23 | /** |
||
24 | * @Column(type="string") |
||
25 | */ |
||
26 | public $name; |
||
27 | } |
||
28 |
This check marks private properties in classes that are never used. Those properties can be removed.