Completed
Push — master ( a0071b...e33605 )
by Michael
12s
created

Tests/Models/DDC3231/DDC3231User1NoNamespace.php (1 issue)

1
<?php
2
3
declare(strict_types=1);
4
5
use Doctrine\ORM\Annotation as ORM;
6
7
/**
8
 * @ORM\Entity(repositoryClass=DDC3231User1NoNamespaceRepository::class)
9
 * @ORM\Table(name="no_namespace_users")
10
 */
11
class DDC3231User1NoNamespace
0 ignored issues
show
Coding Style Compatibility introduced by
PSR1 recommends that each class must be in a namespace of at least one level to avoid collisions.

You can fix this by adding a namespace to your class:

namespace YourVendor;

class YourClass { }

When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.

Loading history...
12
{
13
    /**
14
     * @ORM\Id
15
     * @ORM\Column(type="integer")
16
     * @ORM\GeneratedValue(strategy="AUTO")
17
     */
18
    protected $id;
19
20
    /**
21
     * @ORM\Column(type="string", length=255)
22
     */
23
    protected $name;
24
}
25