1
0
mirror of synced 2025-02-03 05:49:25 +03:00

Remove old "CLASSNAME" constants from test models

This commit is contained in:
Luís Cobucci 2016-12-08 18:15:48 +01:00
parent fda6fdd9fb
commit 62d122bd54
No known key found for this signature in database
GPG Key ID: 8042585A7DBC92E1
67 changed files with 7 additions and 189 deletions

View File

@ -8,7 +8,6 @@ use Doctrine\DBAL\Types\Type;
class CustomIdObjectType extends Type class CustomIdObjectType extends Type
{ {
const NAME = 'CustomIdObject'; const NAME = 'CustomIdObject';
const CLASSNAME = __CLASS__;
/** /**
* {@inheritdoc} * {@inheritdoc}

View File

@ -10,8 +10,6 @@ use Doctrine\Common\Collections\ArrayCollection;
*/ */
class Action class Action
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id * @Id
* @Column(type="string") * @Column(type="string")

View File

@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\Cache;
*/ */
class Address class Address
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id * @Id
* @GeneratedValue * @GeneratedValue

View File

@ -17,8 +17,6 @@ use Doctrine\Common\Collections\ArrayCollection;
*/ */
abstract class Attraction abstract class Attraction
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id * @Id
* @GeneratedValue * @GeneratedValue

View File

@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\Cache;
*/ */
class AttractionContactInfo extends AttractionInfo class AttractionContactInfo extends AttractionInfo
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Column(unique=true) * @Column(unique=true)
*/ */

View File

@ -14,8 +14,6 @@ namespace Doctrine\Tests\Models\Cache;
*/ */
abstract class AttractionInfo abstract class AttractionInfo
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id * @Id
* @GeneratedValue * @GeneratedValue

View File

@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\Cache;
*/ */
class AttractionLocationInfo extends AttractionInfo class AttractionLocationInfo extends AttractionInfo
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Column(unique=true) * @Column(unique=true)
*/ */

View File

@ -7,5 +7,4 @@ namespace Doctrine\Tests\Models\Cache;
*/ */
class Bar extends Attraction class Bar extends Attraction
{ {
const CLASSNAME = __CLASS__;
} }

View File

@ -7,5 +7,4 @@ namespace Doctrine\Tests\Models\Cache;
*/ */
class Beach extends Attraction class Beach extends Attraction
{ {
const CLASSNAME = __CLASS__;
} }

View File

@ -11,8 +11,6 @@ use Doctrine\Common\Collections\ArrayCollection;
*/ */
class City class City
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id * @Id
* @GeneratedValue * @GeneratedValue

View File

@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\Cache;
*/ */
class Client class Client
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id * @Id
* @GeneratedValue * @GeneratedValue

View File

@ -10,8 +10,6 @@ use Doctrine\Common\Collections\ArrayCollection;
*/ */
class ComplexAction class ComplexAction
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Column * @Column
*/ */

View File

@ -9,8 +9,6 @@ namespace Doctrine\Tests\Models\Cache;
*/ */
class Country class Country
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id * @Id
* @GeneratedValue * @GeneratedValue

View File

@ -9,8 +9,6 @@ namespace Doctrine\Tests\Models\Cache;
*/ */
class Flight class Flight
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id * @Id
* @Cache * @Cache

View File

@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\Cache;
*/ */
class Login class Login
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id * @Id
* @GeneratedValue * @GeneratedValue

View File

@ -9,8 +9,6 @@ namespace Doctrine\Tests\Models\Cache;
*/ */
class Person class Person
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id * @Id
* @GeneratedValue * @GeneratedValue

View File

@ -7,5 +7,4 @@ namespace Doctrine\Tests\Models\Cache;
*/ */
class Restaurant extends Attraction class Restaurant extends Attraction
{ {
const CLASSNAME = __CLASS__;
} }

View File

@ -11,8 +11,6 @@ use Doctrine\Common\Collections\ArrayCollection;
*/ */
class State class State
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id * @Id
* @GeneratedValue * @GeneratedValue

View File

@ -10,8 +10,6 @@ use Doctrine\Common\Collections\ArrayCollection;
*/ */
class Token class Token
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id * @Id
* @Column(type="string") * @Column(type="string")

View File

@ -11,8 +11,6 @@ use Doctrine\Common\Collections\ArrayCollection;
*/ */
class Travel class Travel
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id * @Id
* @GeneratedValue * @GeneratedValue

View File

@ -11,8 +11,6 @@ use Doctrine\Common\Collections\ArrayCollection;
*/ */
class Traveler class Traveler
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id * @Id
* @GeneratedValue * @GeneratedValue

View File

@ -9,8 +9,6 @@ namespace Doctrine\Tests\Models\Cache;
*/ */
class TravelerProfile class TravelerProfile
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id * @Id
* @GeneratedValue * @GeneratedValue

View File

@ -9,8 +9,6 @@ namespace Doctrine\Tests\Models\Cache;
*/ */
class TravelerProfileInfo class TravelerProfileInfo
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id * @Id
* @GeneratedValue * @GeneratedValue

View File

@ -10,8 +10,6 @@ use Doctrine\Tests\DbalTypes\CustomIdObject;
*/ */
class CustomIdObjectTypeChild class CustomIdObjectTypeChild
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id @Column(type="CustomIdObject") * @Id @Column(type="CustomIdObject")
* *

View File

@ -11,8 +11,6 @@ use Doctrine\Common\Collections\ArrayCollection;
*/ */
class CustomIdObjectTypeParent class CustomIdObjectTypeParent
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id @Column(type="CustomIdObject") * @Id @Column(type="CustomIdObject")
* *

View File

@ -7,5 +7,4 @@ namespace Doctrine\Tests\Models\DDC2504;
*/ */
class DDC2504ChildClass extends DDC2504RootClass class DDC2504ChildClass extends DDC2504RootClass
{ {
const CLASSNAME = __CLASS__;
} }

View File

@ -9,8 +9,6 @@ use Doctrine\Common\Collections\ArrayCollection;
*/ */
class DDC2504OtherClass class DDC2504OtherClass
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Column(type="integer") * @Column(type="integer")
* @Id @GeneratedValue * @Id @GeneratedValue

View File

@ -5,8 +5,6 @@ namespace Doctrine\Tests\Models\DDC2825;
/** @Entity @Table(name="explicit_table", schema="explicit_schema") */ /** @Entity @Table(name="explicit_table", schema="explicit_schema") */
class ExplicitSchemaAndTable class ExplicitSchemaAndTable
{ {
const CLASSNAME = __CLASS__;
/** @Id @Column(type="integer") @GeneratedValue(strategy="AUTO") */ /** @Id @Column(type="integer") @GeneratedValue(strategy="AUTO") */
public $id; public $id;
} }

View File

@ -10,8 +10,6 @@ namespace Doctrine\Tests\Models\DDC2825;
*/ */
class SchemaAndTableInTableName class SchemaAndTableInTableName
{ {
const CLASSNAME = __CLASS__;
/** @Id @Column(type="integer") @GeneratedValue(strategy="AUTO") */ /** @Id @Column(type="integer") @GeneratedValue(strategy="AUTO") */
public $id; public $id;
} }

View File

@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\DDC3346;
*/ */
class DDC3346Article class DDC3346Article
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id * @Id
* @Column(type="integer") * @Column(type="integer")

View File

@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\DDC3346;
*/ */
class DDC3346Author class DDC3346Author
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id @Column(type="integer") * @Id @Column(type="integer")
* @GeneratedValue * @GeneratedValue

View File

@ -12,8 +12,6 @@ use Doctrine\Tests\Models\DDC3597\Embeddable\DDC3597Dimension;
*/ */
class DDC3597Image extends DDC3597Media { class DDC3597Image extends DDC3597Media {
const CLASSNAME = __CLASS__;
/** /**
* @var DDC3597Dimension * @var DDC3597Dimension
* @Embedded(class = "Doctrine\Tests\Models\DDC3597\Embeddable\DDC3597Dimension", columnPrefix = false) * @Embedded(class = "Doctrine\Tests\Models\DDC3597\Embeddable\DDC3597Dimension", columnPrefix = false)

View File

@ -10,8 +10,6 @@ namespace Doctrine\Tests\Models\DDC3597;
*/ */
abstract class DDC3597Media extends DDC3597Root { abstract class DDC3597Media extends DDC3597Root {
const CLASSNAME = __CLASS__;
/** /**
* @var string * @var string
* *

View File

@ -15,8 +15,6 @@ use Doctrine\ORM\Mapping\DiscriminatorMap;
*/ */
abstract class DDC3597Root { abstract class DDC3597Root {
const CLASSNAME = __CLASS__;
/** /**
* @var int * @var int
* *

View File

@ -5,8 +5,6 @@ namespace Doctrine\Tests\Models\DDC3699;
/** @Entity @Table(name="ddc3699_child") */ /** @Entity @Table(name="ddc3699_child") */
class DDC3699Child extends DDC3699Parent class DDC3699Child extends DDC3699Parent
{ {
const CLASSNAME = __CLASS__;
/** @Id @Column(type="integer") */ /** @Id @Column(type="integer") */
public $id; public $id;

View File

@ -5,8 +5,6 @@ namespace Doctrine\Tests\Models\DDC3699;
/** @MappedSuperclass */ /** @MappedSuperclass */
abstract class DDC3699Parent abstract class DDC3699Parent
{ {
const CLASSNAME = __CLASS__;
/** @Column(type="string") */ /** @Column(type="string") */
public $parentField; public $parentField;
} }

View File

@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\DDC3699;
*/ */
class DDC3699RelationMany class DDC3699RelationMany
{ {
const CLASSNAME = __CLASS__;
/** @Id @Column(type="integer") */ /** @Id @Column(type="integer") */
public $id; public $id;

View File

@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\DDC3699;
*/ */
class DDC3699RelationOne class DDC3699RelationOne
{ {
const CLASSNAME = __CLASS__;
/** @Id @Column(type="integer") */ /** @Id @Column(type="integer") */
public $id; public $id;

View File

@ -7,8 +7,6 @@ namespace Doctrine\Tests\Models\DirectoryTree;
*/ */
abstract class AbstractContentItem abstract class AbstractContentItem
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id @Column(type="integer") @GeneratedValue * @Id @Column(type="integer") @GeneratedValue
*/ */

View File

@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\DirectoryTree;
*/ */
class File extends AbstractContentItem class File extends AbstractContentItem
{ {
const CLASSNAME = __CLASS__;
/** @Column(type="string") */ /** @Column(type="string") */
protected $extension = "html"; protected $extension = "html";

View File

@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\Generic;
*/ */
class DateTimeModel class DateTimeModel
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id @Column(type="integer") * @Id @Column(type="integer")
* @GeneratedValue * @GeneratedValue

View File

@ -5,8 +5,6 @@ namespace Doctrine\Tests\Models\Hydration;
/** @Entity */ /** @Entity */
class EntityWithArrayDefaultArrayValueM2M class EntityWithArrayDefaultArrayValueM2M
{ {
const CLASSNAME = __CLASS__;
/** @Id @Column(type="integer") @GeneratedValue(strategy="AUTO") */ /** @Id @Column(type="integer") @GeneratedValue(strategy="AUTO") */
public $id; public $id;

View File

@ -5,8 +5,6 @@ namespace Doctrine\Tests\Models\Hydration;
/** @Entity */ /** @Entity */
class SimpleEntity class SimpleEntity
{ {
const CLASSNAME = __CLASS__;
/** @Id @Column(type="integer") @GeneratedValue(strategy="AUTO") */ /** @Id @Column(type="integer") @GeneratedValue(strategy="AUTO") */
public $id; public $id;
} }

View File

@ -5,8 +5,6 @@ namespace Doctrine\Tests\Models\MixedToOneIdentity;
/** @Entity */ /** @Entity */
class CompositeToOneKeyState class CompositeToOneKeyState
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id * @Id
* @Column(type="string") * @Column(type="string")

View File

@ -5,8 +5,6 @@ namespace Doctrine\Tests\Models\MixedToOneIdentity;
/** @Entity */ /** @Entity */
class Country class Country
{ {
const CLASSNAME = __CLASS__;
/** @Id @Column(type="string") @GeneratedValue(strategy="NONE") */ /** @Id @Column(type="string") @GeneratedValue(strategy="NONE") */
public $country; public $country;
} }

View File

@ -10,8 +10,6 @@ namespace Doctrine\Tests\Models\NonPublicSchemaJoins;
*/ */
class User class User
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Column(type="integer") * @Column(type="integer")
* @Id * @Id

View File

@ -5,8 +5,6 @@ namespace Doctrine\Tests\Models\OneToOneSingleTableInheritance;
/** @Entity */ /** @Entity */
class Cat extends Pet class Cat extends Pet
{ {
const CLASSNAME = __CLASS__;
/** /**
* @OneToOne(targetEntity="LitterBox") * @OneToOne(targetEntity="LitterBox")
* *

View File

@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\OneToOneSingleTableInheritance;
*/ */
class LitterBox class LitterBox
{ {
const CLASSNAME = __CLASS__;
/** @Id @Column(type="integer") @GeneratedValue(strategy="AUTO") */ /** @Id @Column(type="integer") @GeneratedValue(strategy="AUTO") */
public $id; public $id;
} }

View File

@ -10,8 +10,6 @@ namespace Doctrine\Tests\Models\OneToOneSingleTableInheritance;
*/ */
abstract class Pet abstract class Pet
{ {
const CLASSNAME = __CLASS__;
/** @Id @Column(type="integer") @GeneratedValue(strategy="AUTO") */ /** @Id @Column(type="integer") @GeneratedValue(strategy="AUTO") */
public $id; public $id;
} }

View File

@ -4,8 +4,6 @@ namespace Doctrine\Tests\Models\Reflection;
class ClassWithMixedProperties extends ParentClass class ClassWithMixedProperties extends ParentClass
{ {
const CLASSNAME = __CLASS__;
public static $staticProperty = 'staticProperty'; public static $staticProperty = 'staticProperty';
public $publicProperty = 'publicProperty'; public $publicProperty = 'publicProperty';

View File

@ -4,7 +4,5 @@ namespace Doctrine\Tests\Models\Reflection;
class ParentClass class ParentClass
{ {
const CLASSNAME = __CLASS__;
private $privatePropertyOverride = 'privatePropertyOverride'; private $privatePropertyOverride = 'privatePropertyOverride';
} }

View File

@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\Tweet;
*/ */
class Tweet class Tweet
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id * @Id
* @GeneratedValue * @GeneratedValue

View File

@ -10,8 +10,6 @@ use Doctrine\Common\Collections\ArrayCollection;
*/ */
class User class User
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id * @Id
* @GeneratedValue * @GeneratedValue

View File

@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\Tweet;
*/ */
class UserList class UserList
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id * @Id
* @GeneratedValue * @GeneratedValue

View File

@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\VersionedManyToOne;
*/ */
class Article class Article
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id * @Id
* @Column(name="id", type="integer") * @Column(name="id", type="integer")

View File

@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\VersionedManyToOne;
*/ */
class Category class Category
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id * @Id
* @Column(name="id", type="integer") * @Column(name="id", type="integer")

View File

@ -76,8 +76,6 @@ class DDC2494Test extends \Doctrine\Tests\OrmFunctionalTestCase
*/ */
class DDC2494Currency class DDC2494Currency
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id * @Id
* @Column(type="integer", type="ddc2494_tinyint") * @Column(type="integer", type="ddc2494_tinyint")
@ -124,8 +122,6 @@ class DDC2494Currency
*/ */
class DDC2494Campaign class DDC2494Campaign
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id * @Id
* @GeneratedValue * @GeneratedValue

View File

@ -67,9 +67,6 @@ class DDC2579Test extends \Doctrine\Tests\OrmFunctionalTestCase
*/ */
class DDC2579Entity class DDC2579Entity
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id * @Id
* @Column(type="ddc2579") * @Column(type="ddc2579")
@ -102,8 +99,6 @@ class DDC2579Entity
*/ */
class DDC2579EntityAssoc class DDC2579EntityAssoc
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id * @Id
* @ManyToOne(targetEntity="DDC2579AssocAssoc") * @ManyToOne(targetEntity="DDC2579AssocAssoc")
@ -122,8 +117,6 @@ class DDC2579EntityAssoc
*/ */
class DDC2579AssocAssoc class DDC2579AssocAssoc
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id * @Id
* @Column(type="ddc2579") * @Column(type="ddc2579")
@ -140,7 +133,6 @@ class DDC2579AssocAssoc
class DDC2579Type extends StringType class DDC2579Type extends StringType
{ {
const NAME = 'ddc2579'; const NAME = 'ddc2579';
const CLASSNAME = __CLASS__;
/** /**
* {@inheritdoc} * {@inheritdoc}
@ -166,8 +158,6 @@ class DDC2579Type extends StringType
class DDC2579Id class DDC2579Id
{ {
const CLASSNAME = __CLASS__;
private $val; private $val;
public function __construct($val) public function __construct($val)

View File

@ -100,8 +100,6 @@ class DDC2825Test extends \Doctrine\Tests\OrmFunctionalTestCase
*/ */
class DDC2825ClassWithImplicitlyDefinedSchemaAndQuotedTableName class DDC2825ClassWithImplicitlyDefinedSchemaAndQuotedTableName
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id @GeneratedValue * @Id @GeneratedValue
* @Column(type="integer") * @Column(type="integer")

View File

@ -119,8 +119,6 @@ class DDC2862Test extends \Doctrine\Tests\OrmFunctionalTestCase
*/ */
class DDC2862Driver class DDC2862Driver
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id * @Id
* @GeneratedValue * @GeneratedValue
@ -196,8 +194,6 @@ class DDC2862Driver
*/ */
class DDC2862User class DDC2862User
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id * @Id
* @GeneratedValue * @GeneratedValue

View File

@ -72,8 +72,6 @@ class DDC3192Test extends \Doctrine\Tests\OrmFunctionalTestCase
*/ */
class DDC3192Currency class DDC3192Currency
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id * @Id
* @Column(type="ddc3192_currency_code") * @Column(type="ddc3192_currency_code")
@ -99,8 +97,6 @@ class DDC3192Currency
*/ */
class DDC3192Transaction class DDC3192Transaction
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id * @Id
* @GeneratedValue * @GeneratedValue

View File

@ -58,30 +58,24 @@ class DDC3300Test extends \Doctrine\Tests\OrmFunctionalTestCase
*/ */
abstract class DDC3300Person abstract class DDC3300Person
{ {
const CLASSNAME = __CLASS__;
/** @Id @Column(type="integer") @GeneratedValue(strategy="AUTO") */ /** @Id @Column(type="integer") @GeneratedValue(strategy="AUTO") */
public $id; public $id;
} }
interface DDC3300BossInterface interface DDC3300BossInterface
{ {
const INTERFACENAME = __CLASS__;
} }
/** @Entity */ /** @Entity */
class DDC3300Boss extends DDC3300Person implements DDC3300BossInterface class DDC3300Boss extends DDC3300Person implements DDC3300BossInterface
{ {
const CLASSNAME = __CLASS__;
} }
interface DDC3300EmployeeInterface interface DDC3300EmployeeInterface
{ {
const INTERFACENAME = __CLASS__;
} }
/** @Entity */ /** @Entity */
class DDC3300Employee extends DDC3300Person implements DDC3300EmployeeInterface class DDC3300Employee extends DDC3300Person implements DDC3300EmployeeInterface
{ {
const CLASSNAME = __CLASS__;
} }

View File

@ -23,8 +23,6 @@ class DDC3582Test extends \Doctrine\Tests\OrmFunctionalTestCase
/** @Entity */ /** @Entity */
class DDC3582Entity class DDC3582Entity
{ {
const CLASSNAME = __CLASS__;
/** @Column @Id */ /** @Column @Id */
private $id; private $id;
@ -41,8 +39,6 @@ class DDC3582Entity
/** @Embeddable */ /** @Embeddable */
class DDC3582Embeddable1 class DDC3582Embeddable1
{ {
const CLASSNAME = __CLASS__;
/** @Embedded(class="DDC3582Embeddable2") @var DDC3582Embeddable2 */ /** @Embedded(class="DDC3582Embeddable2") @var DDC3582Embeddable2 */
public $embeddable2; public $embeddable2;
@ -52,8 +48,6 @@ class DDC3582Embeddable1
/** @Embeddable */ /** @Embeddable */
class DDC3582Embeddable2 class DDC3582Embeddable2
{ {
const CLASSNAME = __CLASS__;
/** @Embedded(class="DDC3582Embeddable3") @var DDC3582Embeddable3 */ /** @Embedded(class="DDC3582Embeddable3") @var DDC3582Embeddable3 */
public $embeddable3; public $embeddable3;
@ -63,8 +57,6 @@ class DDC3582Embeddable2
/** @Embeddable */ /** @Embeddable */
class DDC3582Embeddable3 class DDC3582Embeddable3
{ {
const CLASSNAME = __CLASS__;
/** @Column */ /** @Column */
public $embeddedValue = 'foo'; public $embeddedValue = 'foo';
} }

View File

@ -74,8 +74,6 @@ class DDC3634Test extends OrmFunctionalTestCase {
/** @Entity */ /** @Entity */
class DDC3634Entity class DDC3634Entity
{ {
const CLASSNAME = __CLASS__;
/** @Id @Column(type="bigint") @GeneratedValue(strategy="AUTO") */ /** @Id @Column(type="bigint") @GeneratedValue(strategy="AUTO") */
public $id; public $id;
} }
@ -90,8 +88,6 @@ class DDC3634Entity
*/ */
class DDC3634JTIBaseEntity class DDC3634JTIBaseEntity
{ {
const CLASSNAME = __CLASS__;
/** @Id @Column(type="bigint") @GeneratedValue(strategy="AUTO") */ /** @Id @Column(type="bigint") @GeneratedValue(strategy="AUTO") */
public $id; public $id;
} }
@ -99,7 +95,6 @@ class DDC3634JTIBaseEntity
/** @Entity */ /** @Entity */
class DDC3634JTIChildEntity extends DDC3634JTIBaseEntity class DDC3634JTIChildEntity extends DDC3634JTIBaseEntity
{ {
const CLASSNAME = __CLASS__;
} }
class DDC3634LastInsertIdMockingConnection extends Connection class DDC3634LastInsertIdMockingConnection extends Connection

View File

@ -60,8 +60,6 @@ class DDC5684Test extends \Doctrine\Tests\OrmFunctionalTestCase
class DDC5684ObjectIdType extends DBALTypes\IntegerType class DDC5684ObjectIdType extends DBALTypes\IntegerType
{ {
const CLASSNAME = __CLASS__;
public function convertToPHPValue($value, AbstractPlatform $platform) public function convertToPHPValue($value, AbstractPlatform $platform)
{ {
return new DDC5684ObjectId($value); return new DDC5684ObjectId($value);
@ -85,8 +83,6 @@ class DDC5684ObjectIdType extends DBALTypes\IntegerType
class DDC5684ObjectId class DDC5684ObjectId
{ {
const CLASSNAME = __CLASS__;
public $value; public $value;
public function __construct($value) public function __construct($value)
@ -106,8 +102,6 @@ class DDC5684ObjectId
*/ */
class DDC5684Object class DDC5684Object
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id * @Id
* @Column(type=Doctrine\Tests\ORM\Functional\Ticket\DDC5684ObjectIdType::class) * @Column(type=Doctrine\Tests\ORM\Functional\Ticket\DDC5684ObjectIdType::class)

View File

@ -336,8 +336,6 @@ class ValueObjectsTest extends OrmFunctionalTestCase
*/ */
class DDC93Person class DDC93Person
{ {
const CLASSNAME = __CLASS__;
/** @Id @GeneratedValue @Column(type="integer") */ /** @Id @GeneratedValue @Column(type="integer") */
public $id; public $id;
@ -407,8 +405,6 @@ class DDC93Car extends DDC93Vehicle
*/ */
class DDC93Country class DDC93Country
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Column(type="string", nullable=true) * @Column(type="string", nullable=true)
*/ */
@ -425,8 +421,6 @@ class DDC93Country
*/ */
class DDC93Address class DDC93Address
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Column(type="string") * @Column(type="string")
*/ */
@ -464,8 +458,6 @@ class DDC93Customer
/** @Embeddable */ /** @Embeddable */
class DDC93ContactInfo class DDC93ContactInfo
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Column(type="string") * @Column(type="string")
*/ */
@ -479,8 +471,6 @@ class DDC93ContactInfo
*/ */
class DDC3028PersonWithPrefix class DDC3028PersonWithPrefix
{ {
const CLASSNAME = __CLASS__;
/** @Embedded(class="DDC3028Id", columnPrefix = "foobar_") */ /** @Embedded(class="DDC3028Id", columnPrefix = "foobar_") */
public $id; public $id;
@ -499,8 +489,6 @@ class DDC3028PersonWithPrefix
*/ */
class DDC3028PersonEmptyPrefix class DDC3028PersonEmptyPrefix
{ {
const CLASSNAME = __CLASS__;
/** @Embedded(class="DDC3028Id", columnPrefix = "") */ /** @Embedded(class="DDC3028Id", columnPrefix = "") */
public $id; public $id;
@ -519,8 +507,6 @@ class DDC3028PersonEmptyPrefix
*/ */
class DDC3028PersonPrefixFalse class DDC3028PersonPrefixFalse
{ {
const CLASSNAME = __CLASS__;
/** @Embedded(class="DDC3028Id", columnPrefix = false) */ /** @Embedded(class="DDC3028Id", columnPrefix = false) */
public $id; public $id;
@ -535,8 +521,6 @@ class DDC3028PersonPrefixFalse
*/ */
class DDC3028Id class DDC3028Id
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id @Column(type="string") * @Id @Column(type="string")
*/ */
@ -553,8 +537,6 @@ class DDC3028Id
*/ */
class DDC3028NestedEmbeddable class DDC3028NestedEmbeddable
{ {
const CLASSNAME = __CLASS__;
/** @Embedded(class="DDC3028Id", columnPrefix = "foo_") */ /** @Embedded(class="DDC3028Id", columnPrefix = "foo_") */
public $nestedWithPrefix; public $nestedWithPrefix;

View File

@ -117,8 +117,6 @@ class AttachEntityListenersListenerTest extends OrmTestCase
*/ */
class AttachEntityListenersListenerTestFooEntity class AttachEntityListenersListenerTestFooEntity
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id * @Id
* @Column(type="integer") * @Column(type="integer")
@ -133,8 +131,6 @@ class AttachEntityListenersListenerTestFooEntity
*/ */
class AttachEntityListenersListenerTestBarEntity class AttachEntityListenersListenerTestBarEntity
{ {
const CLASSNAME = __CLASS__;
/** /**
* @Id * @Id
* @Column(type="integer") * @Column(type="integer")
@ -145,8 +141,6 @@ class AttachEntityListenersListenerTestBarEntity
class AttachEntityListenersListenerTestListener class AttachEntityListenersListenerTestListener
{ {
const CLASSNAME = __CLASS__;
public $calls; public $calls;
public function prePersist() public function prePersist()
@ -167,8 +161,6 @@ class AttachEntityListenersListenerTestListener
class AttachEntityListenersListenerTestListener2 class AttachEntityListenersListenerTestListener2
{ {
const CLASSNAME = __CLASS__;
public $calls; public $calls;
public function prePersist() public function prePersist()