add @ORM\Table constant name test

This commit is contained in:
TomasVotruba 2020-06-08 17:37:11 +02:00
parent 6f2940baf6
commit 3a03f66ae9

View File

@ -0,0 +1,15 @@
<?php
declare(strict_types=1);
namespace Rector\BetterPhpDocParser\Tests\PhpDocParser\TagValueNodeReprint\Fixture\DoctrineTable;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Table(name=ConstantTable::TABLE_NAME)
*/
class ConstantTable
{
const TABLE_NAME = 'some_table_name';
}