Use non-deprecated version of Lexer and Inflector
This commit is contained in:
parent
88d1d79516
commit
6d81d519b6
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
namespace Doctrine\ORM;
|
namespace Doctrine\ORM;
|
||||||
|
|
||||||
use Doctrine\Common\Util\Inflector;
|
use Doctrine\Common\Inflector\Inflector;
|
||||||
use Doctrine\ORM\Query\ResultSetMappingBuilder;
|
use Doctrine\ORM\Query\ResultSetMappingBuilder;
|
||||||
use Doctrine\Common\Persistence\ObjectRepository;
|
use Doctrine\Common\Persistence\ObjectRepository;
|
||||||
use Doctrine\Common\Collections\Selectable;
|
use Doctrine\Common\Collections\Selectable;
|
||||||
|
@ -19,9 +19,9 @@
|
|||||||
|
|
||||||
namespace Doctrine\ORM\Mapping\Driver;
|
namespace Doctrine\ORM\Mapping\Driver;
|
||||||
|
|
||||||
|
use Doctrine\Common\Inflector\Inflector;
|
||||||
use Doctrine\Common\Persistence\Mapping\Driver\MappingDriver;
|
use Doctrine\Common\Persistence\Mapping\Driver\MappingDriver;
|
||||||
use Doctrine\Common\Persistence\Mapping\ClassMetadata;
|
use Doctrine\Common\Persistence\Mapping\ClassMetadata;
|
||||||
use Doctrine\Common\Util\Inflector;
|
|
||||||
use Doctrine\DBAL\Schema\AbstractSchemaManager;
|
use Doctrine\DBAL\Schema\AbstractSchemaManager;
|
||||||
use Doctrine\DBAL\Schema\SchemaException;
|
use Doctrine\DBAL\Schema\SchemaException;
|
||||||
use Doctrine\DBAL\Schema\Table;
|
use Doctrine\DBAL\Schema\Table;
|
||||||
|
@ -19,6 +19,8 @@
|
|||||||
|
|
||||||
namespace Doctrine\ORM\Query;
|
namespace Doctrine\ORM\Query;
|
||||||
|
|
||||||
|
use Doctrine\Common\Lexer\AbstractLexer;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Scans a DQL query for tokens.
|
* Scans a DQL query for tokens.
|
||||||
*
|
*
|
||||||
@ -27,7 +29,7 @@ namespace Doctrine\ORM\Query;
|
|||||||
* @author Roman Borschel <roman@code-factory.org>
|
* @author Roman Borschel <roman@code-factory.org>
|
||||||
* @since 2.0
|
* @since 2.0
|
||||||
*/
|
*/
|
||||||
class Lexer extends \Doctrine\Common\Lexer
|
class Lexer extends AbstractLexer
|
||||||
{
|
{
|
||||||
// All tokens that are not valid identifiers must be < 100
|
// All tokens that are not valid identifiers must be < 100
|
||||||
const T_NONE = 1;
|
const T_NONE = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user