Failed Conditions
Push — master ( 2ade86...13f838 )
by Jonathan
18s
created

tests/Doctrine/Tests/Models/Pagination/User.php (1 issue)

Upgrade to new PHP Analysis Engine

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
The property $id is not used and could be removed.

This check marks private properties in classes that are never used. Those properties can be removed.

Loading history...
22
23
    /**
24
     * @Column(type="string")
25
     */
26
    public $name;
27
}
28