From 62d122bd5416209413769102bdcb082d51cc01e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Cobucci?= Date: Thu, 8 Dec 2016 18:15:48 +0100 Subject: [PATCH] Remove old "CLASSNAME" constants from test models --- .../Tests/DbalTypes/CustomIdObjectType.php | 1 - tests/Doctrine/Tests/Models/Cache/Action.php | 2 -- tests/Doctrine/Tests/Models/Cache/Address.php | 2 -- .../Doctrine/Tests/Models/Cache/Attraction.php | 2 -- .../Models/Cache/AttractionContactInfo.php | 2 -- .../Tests/Models/Cache/AttractionInfo.php | 2 -- .../Models/Cache/AttractionLocationInfo.php | 2 -- tests/Doctrine/Tests/Models/Cache/Bar.php | 3 +-- tests/Doctrine/Tests/Models/Cache/Beach.php | 3 +-- tests/Doctrine/Tests/Models/Cache/City.php | 2 -- tests/Doctrine/Tests/Models/Cache/Client.php | 2 -- .../Tests/Models/Cache/ComplexAction.php | 2 -- tests/Doctrine/Tests/Models/Cache/Country.php | 2 -- tests/Doctrine/Tests/Models/Cache/Flight.php | 2 -- tests/Doctrine/Tests/Models/Cache/Login.php | 2 -- tests/Doctrine/Tests/Models/Cache/Person.php | 2 -- .../Doctrine/Tests/Models/Cache/Restaurant.php | 3 +-- tests/Doctrine/Tests/Models/Cache/State.php | 2 -- tests/Doctrine/Tests/Models/Cache/Token.php | 2 -- tests/Doctrine/Tests/Models/Cache/Travel.php | 2 -- tests/Doctrine/Tests/Models/Cache/Traveler.php | 2 -- .../Tests/Models/Cache/TravelerProfile.php | 2 -- .../Tests/Models/Cache/TravelerProfileInfo.php | 2 -- .../CustomType/CustomIdObjectTypeChild.php | 2 -- .../CustomType/CustomIdObjectTypeParent.php | 2 -- .../Tests/Models/DDC2504/DDC2504ChildClass.php | 1 - .../Tests/Models/DDC2504/DDC2504OtherClass.php | 2 -- .../Models/DDC2825/ExplicitSchemaAndTable.php | 2 -- .../DDC2825/SchemaAndTableInTableName.php | 4 +--- .../Tests/Models/DDC3346/DDC3346Article.php | 2 -- .../Tests/Models/DDC3346/DDC3346Author.php | 2 -- .../Tests/Models/DDC3597/DDC3597Image.php | 2 -- .../Tests/Models/DDC3597/DDC3597Media.php | 4 +--- .../Tests/Models/DDC3597/DDC3597Root.php | 2 -- .../Tests/Models/DDC3699/DDC3699Child.php | 2 -- .../Tests/Models/DDC3699/DDC3699Parent.php | 4 +--- .../Models/DDC3699/DDC3699RelationMany.php | 2 -- .../Models/DDC3699/DDC3699RelationOne.php | 2 -- .../DirectoryTree/AbstractContentItem.php | 2 -- .../Tests/Models/DirectoryTree/File.php | 2 -- .../Tests/Models/Generic/DateTimeModel.php | 2 -- .../EntityWithArrayDefaultArrayValueM2M.php | 2 -- .../Tests/Models/Hydration/SimpleEntity.php | 2 -- .../CompositeToOneKeyState.php | 2 -- .../Models/MixedToOneIdentity/Country.php | 2 -- .../Tests/Models/NonPublicSchemaJoins/User.php | 2 -- .../OneToOneSingleTableInheritance/Cat.php | 2 -- .../LitterBox.php | 4 +--- .../OneToOneSingleTableInheritance/Pet.php | 2 -- .../Reflection/ClassWithMixedProperties.php | 2 -- .../Tests/Models/Reflection/ParentClass.php | 2 -- tests/Doctrine/Tests/Models/Tweet/Tweet.php | 2 -- tests/Doctrine/Tests/Models/Tweet/User.php | 2 -- tests/Doctrine/Tests/Models/Tweet/UserList.php | 2 -- .../Models/VersionedManyToOne/Article.php | 2 -- .../Models/VersionedManyToOne/Category.php | 2 -- .../ORM/Functional/Ticket/DDC2494Test.php | 4 ---- .../ORM/Functional/Ticket/DDC2579Test.php | 10 ---------- .../ORM/Functional/Ticket/DDC2825Test.php | 2 -- .../ORM/Functional/Ticket/DDC2862Test.php | 4 ---- .../ORM/Functional/Ticket/DDC3192Test.php | 4 ---- .../ORM/Functional/Ticket/DDC3300Test.php | 6 ------ .../ORM/Functional/Ticket/DDC3582Test.php | 8 -------- .../ORM/Functional/Ticket/DDC3634Test.php | 5 ----- .../ORM/Functional/Ticket/DDC5684Test.php | 6 ------ .../Tests/ORM/Functional/ValueObjectsTest.php | 18 ------------------ .../AttachEntityListenersListenerTest.php | 8 -------- 67 files changed, 7 insertions(+), 189 deletions(-) diff --git a/tests/Doctrine/Tests/DbalTypes/CustomIdObjectType.php b/tests/Doctrine/Tests/DbalTypes/CustomIdObjectType.php index f59ab151c..0ebae5dff 100644 --- a/tests/Doctrine/Tests/DbalTypes/CustomIdObjectType.php +++ b/tests/Doctrine/Tests/DbalTypes/CustomIdObjectType.php @@ -8,7 +8,6 @@ use Doctrine\DBAL\Types\Type; class CustomIdObjectType extends Type { const NAME = 'CustomIdObject'; - const CLASSNAME = __CLASS__; /** * {@inheritdoc} diff --git a/tests/Doctrine/Tests/Models/Cache/Action.php b/tests/Doctrine/Tests/Models/Cache/Action.php index d23ab494b..72bbba4c1 100644 --- a/tests/Doctrine/Tests/Models/Cache/Action.php +++ b/tests/Doctrine/Tests/Models/Cache/Action.php @@ -10,8 +10,6 @@ use Doctrine\Common\Collections\ArrayCollection; */ class Action { - const CLASSNAME = __CLASS__; - /** * @Id * @Column(type="string") diff --git a/tests/Doctrine/Tests/Models/Cache/Address.php b/tests/Doctrine/Tests/Models/Cache/Address.php index fa5363560..5ccb349d0 100644 --- a/tests/Doctrine/Tests/Models/Cache/Address.php +++ b/tests/Doctrine/Tests/Models/Cache/Address.php @@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\Cache; */ class Address { - const CLASSNAME = __CLASS__; - /** * @Id * @GeneratedValue diff --git a/tests/Doctrine/Tests/Models/Cache/Attraction.php b/tests/Doctrine/Tests/Models/Cache/Attraction.php index 31f3d3069..f53786dde 100644 --- a/tests/Doctrine/Tests/Models/Cache/Attraction.php +++ b/tests/Doctrine/Tests/Models/Cache/Attraction.php @@ -17,8 +17,6 @@ use Doctrine\Common\Collections\ArrayCollection; */ abstract class Attraction { - const CLASSNAME = __CLASS__; - /** * @Id * @GeneratedValue diff --git a/tests/Doctrine/Tests/Models/Cache/AttractionContactInfo.php b/tests/Doctrine/Tests/Models/Cache/AttractionContactInfo.php index 4b4b37f3b..e25665528 100644 --- a/tests/Doctrine/Tests/Models/Cache/AttractionContactInfo.php +++ b/tests/Doctrine/Tests/Models/Cache/AttractionContactInfo.php @@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\Cache; */ class AttractionContactInfo extends AttractionInfo { - const CLASSNAME = __CLASS__; - /** * @Column(unique=true) */ diff --git a/tests/Doctrine/Tests/Models/Cache/AttractionInfo.php b/tests/Doctrine/Tests/Models/Cache/AttractionInfo.php index d257a53f3..978d8587e 100644 --- a/tests/Doctrine/Tests/Models/Cache/AttractionInfo.php +++ b/tests/Doctrine/Tests/Models/Cache/AttractionInfo.php @@ -14,8 +14,6 @@ namespace Doctrine\Tests\Models\Cache; */ abstract class AttractionInfo { - const CLASSNAME = __CLASS__; - /** * @Id * @GeneratedValue diff --git a/tests/Doctrine/Tests/Models/Cache/AttractionLocationInfo.php b/tests/Doctrine/Tests/Models/Cache/AttractionLocationInfo.php index 66f2633f5..e7419fb4a 100644 --- a/tests/Doctrine/Tests/Models/Cache/AttractionLocationInfo.php +++ b/tests/Doctrine/Tests/Models/Cache/AttractionLocationInfo.php @@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\Cache; */ class AttractionLocationInfo extends AttractionInfo { - const CLASSNAME = __CLASS__; - /** * @Column(unique=true) */ diff --git a/tests/Doctrine/Tests/Models/Cache/Bar.php b/tests/Doctrine/Tests/Models/Cache/Bar.php index f0d093127..cc54d547c 100644 --- a/tests/Doctrine/Tests/Models/Cache/Bar.php +++ b/tests/Doctrine/Tests/Models/Cache/Bar.php @@ -7,5 +7,4 @@ namespace Doctrine\Tests\Models\Cache; */ class Bar extends Attraction { - const CLASSNAME = __CLASS__; -} \ No newline at end of file +} diff --git a/tests/Doctrine/Tests/Models/Cache/Beach.php b/tests/Doctrine/Tests/Models/Cache/Beach.php index 61e623dc5..dcabe5935 100644 --- a/tests/Doctrine/Tests/Models/Cache/Beach.php +++ b/tests/Doctrine/Tests/Models/Cache/Beach.php @@ -7,5 +7,4 @@ namespace Doctrine\Tests\Models\Cache; */ class Beach extends Attraction { - const CLASSNAME = __CLASS__; -} \ No newline at end of file +} diff --git a/tests/Doctrine/Tests/Models/Cache/City.php b/tests/Doctrine/Tests/Models/Cache/City.php index 40369728d..b3769fbe7 100644 --- a/tests/Doctrine/Tests/Models/Cache/City.php +++ b/tests/Doctrine/Tests/Models/Cache/City.php @@ -11,8 +11,6 @@ use Doctrine\Common\Collections\ArrayCollection; */ class City { - const CLASSNAME = __CLASS__; - /** * @Id * @GeneratedValue diff --git a/tests/Doctrine/Tests/Models/Cache/Client.php b/tests/Doctrine/Tests/Models/Cache/Client.php index 70544256b..dfbc60e30 100644 --- a/tests/Doctrine/Tests/Models/Cache/Client.php +++ b/tests/Doctrine/Tests/Models/Cache/Client.php @@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\Cache; */ class Client { - const CLASSNAME = __CLASS__; - /** * @Id * @GeneratedValue diff --git a/tests/Doctrine/Tests/Models/Cache/ComplexAction.php b/tests/Doctrine/Tests/Models/Cache/ComplexAction.php index 5f5faf6dd..9c0a0abd9 100644 --- a/tests/Doctrine/Tests/Models/Cache/ComplexAction.php +++ b/tests/Doctrine/Tests/Models/Cache/ComplexAction.php @@ -10,8 +10,6 @@ use Doctrine\Common\Collections\ArrayCollection; */ class ComplexAction { - const CLASSNAME = __CLASS__; - /** * @Column */ diff --git a/tests/Doctrine/Tests/Models/Cache/Country.php b/tests/Doctrine/Tests/Models/Cache/Country.php index 11d094038..f4179f63e 100644 --- a/tests/Doctrine/Tests/Models/Cache/Country.php +++ b/tests/Doctrine/Tests/Models/Cache/Country.php @@ -9,8 +9,6 @@ namespace Doctrine\Tests\Models\Cache; */ class Country { - const CLASSNAME = __CLASS__; - /** * @Id * @GeneratedValue diff --git a/tests/Doctrine/Tests/Models/Cache/Flight.php b/tests/Doctrine/Tests/Models/Cache/Flight.php index ce2f3476f..f109c34da 100644 --- a/tests/Doctrine/Tests/Models/Cache/Flight.php +++ b/tests/Doctrine/Tests/Models/Cache/Flight.php @@ -9,8 +9,6 @@ namespace Doctrine\Tests\Models\Cache; */ class Flight { - const CLASSNAME = __CLASS__; - /** * @Id * @Cache diff --git a/tests/Doctrine/Tests/Models/Cache/Login.php b/tests/Doctrine/Tests/Models/Cache/Login.php index 8de766d38..24e5b133d 100644 --- a/tests/Doctrine/Tests/Models/Cache/Login.php +++ b/tests/Doctrine/Tests/Models/Cache/Login.php @@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\Cache; */ class Login { - const CLASSNAME = __CLASS__; - /** * @Id * @GeneratedValue diff --git a/tests/Doctrine/Tests/Models/Cache/Person.php b/tests/Doctrine/Tests/Models/Cache/Person.php index 9cbe00c57..01ab416aa 100644 --- a/tests/Doctrine/Tests/Models/Cache/Person.php +++ b/tests/Doctrine/Tests/Models/Cache/Person.php @@ -9,8 +9,6 @@ namespace Doctrine\Tests\Models\Cache; */ class Person { - const CLASSNAME = __CLASS__; - /** * @Id * @GeneratedValue diff --git a/tests/Doctrine/Tests/Models/Cache/Restaurant.php b/tests/Doctrine/Tests/Models/Cache/Restaurant.php index 00d3ac061..c4bf94cbc 100644 --- a/tests/Doctrine/Tests/Models/Cache/Restaurant.php +++ b/tests/Doctrine/Tests/Models/Cache/Restaurant.php @@ -7,5 +7,4 @@ namespace Doctrine\Tests\Models\Cache; */ class Restaurant extends Attraction { - const CLASSNAME = __CLASS__; -} \ No newline at end of file +} diff --git a/tests/Doctrine/Tests/Models/Cache/State.php b/tests/Doctrine/Tests/Models/Cache/State.php index e59ecb2b1..77dd0122c 100644 --- a/tests/Doctrine/Tests/Models/Cache/State.php +++ b/tests/Doctrine/Tests/Models/Cache/State.php @@ -11,8 +11,6 @@ use Doctrine\Common\Collections\ArrayCollection; */ class State { - const CLASSNAME = __CLASS__; - /** * @Id * @GeneratedValue diff --git a/tests/Doctrine/Tests/Models/Cache/Token.php b/tests/Doctrine/Tests/Models/Cache/Token.php index ba3fdb182..bcfbb1b91 100644 --- a/tests/Doctrine/Tests/Models/Cache/Token.php +++ b/tests/Doctrine/Tests/Models/Cache/Token.php @@ -10,8 +10,6 @@ use Doctrine\Common\Collections\ArrayCollection; */ class Token { - const CLASSNAME = __CLASS__; - /** * @Id * @Column(type="string") diff --git a/tests/Doctrine/Tests/Models/Cache/Travel.php b/tests/Doctrine/Tests/Models/Cache/Travel.php index b25744dd6..1e0240066 100644 --- a/tests/Doctrine/Tests/Models/Cache/Travel.php +++ b/tests/Doctrine/Tests/Models/Cache/Travel.php @@ -11,8 +11,6 @@ use Doctrine\Common\Collections\ArrayCollection; */ class Travel { - const CLASSNAME = __CLASS__; - /** * @Id * @GeneratedValue diff --git a/tests/Doctrine/Tests/Models/Cache/Traveler.php b/tests/Doctrine/Tests/Models/Cache/Traveler.php index 3f720b465..c8b68565b 100644 --- a/tests/Doctrine/Tests/Models/Cache/Traveler.php +++ b/tests/Doctrine/Tests/Models/Cache/Traveler.php @@ -11,8 +11,6 @@ use Doctrine\Common\Collections\ArrayCollection; */ class Traveler { - const CLASSNAME = __CLASS__; - /** * @Id * @GeneratedValue diff --git a/tests/Doctrine/Tests/Models/Cache/TravelerProfile.php b/tests/Doctrine/Tests/Models/Cache/TravelerProfile.php index fbffa8b70..03b9c7d3d 100644 --- a/tests/Doctrine/Tests/Models/Cache/TravelerProfile.php +++ b/tests/Doctrine/Tests/Models/Cache/TravelerProfile.php @@ -9,8 +9,6 @@ namespace Doctrine\Tests\Models\Cache; */ class TravelerProfile { - const CLASSNAME = __CLASS__; - /** * @Id * @GeneratedValue diff --git a/tests/Doctrine/Tests/Models/Cache/TravelerProfileInfo.php b/tests/Doctrine/Tests/Models/Cache/TravelerProfileInfo.php index e78162849..154ce9600 100644 --- a/tests/Doctrine/Tests/Models/Cache/TravelerProfileInfo.php +++ b/tests/Doctrine/Tests/Models/Cache/TravelerProfileInfo.php @@ -9,8 +9,6 @@ namespace Doctrine\Tests\Models\Cache; */ class TravelerProfileInfo { - const CLASSNAME = __CLASS__; - /** * @Id * @GeneratedValue diff --git a/tests/Doctrine/Tests/Models/CustomType/CustomIdObjectTypeChild.php b/tests/Doctrine/Tests/Models/CustomType/CustomIdObjectTypeChild.php index 334ad17c7..8e5ec73d5 100644 --- a/tests/Doctrine/Tests/Models/CustomType/CustomIdObjectTypeChild.php +++ b/tests/Doctrine/Tests/Models/CustomType/CustomIdObjectTypeChild.php @@ -10,8 +10,6 @@ use Doctrine\Tests\DbalTypes\CustomIdObject; */ class CustomIdObjectTypeChild { - const CLASSNAME = __CLASS__; - /** * @Id @Column(type="CustomIdObject") * diff --git a/tests/Doctrine/Tests/Models/CustomType/CustomIdObjectTypeParent.php b/tests/Doctrine/Tests/Models/CustomType/CustomIdObjectTypeParent.php index 0460676fc..21ce535b8 100644 --- a/tests/Doctrine/Tests/Models/CustomType/CustomIdObjectTypeParent.php +++ b/tests/Doctrine/Tests/Models/CustomType/CustomIdObjectTypeParent.php @@ -11,8 +11,6 @@ use Doctrine\Common\Collections\ArrayCollection; */ class CustomIdObjectTypeParent { - const CLASSNAME = __CLASS__; - /** * @Id @Column(type="CustomIdObject") * diff --git a/tests/Doctrine/Tests/Models/DDC2504/DDC2504ChildClass.php b/tests/Doctrine/Tests/Models/DDC2504/DDC2504ChildClass.php index 08a4605b6..a43de5bbf 100644 --- a/tests/Doctrine/Tests/Models/DDC2504/DDC2504ChildClass.php +++ b/tests/Doctrine/Tests/Models/DDC2504/DDC2504ChildClass.php @@ -7,5 +7,4 @@ namespace Doctrine\Tests\Models\DDC2504; */ class DDC2504ChildClass extends DDC2504RootClass { - const CLASSNAME = __CLASS__; } diff --git a/tests/Doctrine/Tests/Models/DDC2504/DDC2504OtherClass.php b/tests/Doctrine/Tests/Models/DDC2504/DDC2504OtherClass.php index a855cdf8a..c90ff2a0c 100644 --- a/tests/Doctrine/Tests/Models/DDC2504/DDC2504OtherClass.php +++ b/tests/Doctrine/Tests/Models/DDC2504/DDC2504OtherClass.php @@ -9,8 +9,6 @@ use Doctrine\Common\Collections\ArrayCollection; */ class DDC2504OtherClass { - const CLASSNAME = __CLASS__; - /** * @Column(type="integer") * @Id @GeneratedValue diff --git a/tests/Doctrine/Tests/Models/DDC2825/ExplicitSchemaAndTable.php b/tests/Doctrine/Tests/Models/DDC2825/ExplicitSchemaAndTable.php index 60b5d5625..3b6957653 100644 --- a/tests/Doctrine/Tests/Models/DDC2825/ExplicitSchemaAndTable.php +++ b/tests/Doctrine/Tests/Models/DDC2825/ExplicitSchemaAndTable.php @@ -5,8 +5,6 @@ namespace Doctrine\Tests\Models\DDC2825; /** @Entity @Table(name="explicit_table", schema="explicit_schema") */ class ExplicitSchemaAndTable { - const CLASSNAME = __CLASS__; - /** @Id @Column(type="integer") @GeneratedValue(strategy="AUTO") */ public $id; } diff --git a/tests/Doctrine/Tests/Models/DDC2825/SchemaAndTableInTableName.php b/tests/Doctrine/Tests/Models/DDC2825/SchemaAndTableInTableName.php index bd22c2b23..151e577ec 100644 --- a/tests/Doctrine/Tests/Models/DDC2825/SchemaAndTableInTableName.php +++ b/tests/Doctrine/Tests/Models/DDC2825/SchemaAndTableInTableName.php @@ -10,8 +10,6 @@ namespace Doctrine\Tests\Models\DDC2825; */ class SchemaAndTableInTableName { - const CLASSNAME = __CLASS__; - /** @Id @Column(type="integer") @GeneratedValue(strategy="AUTO") */ public $id; -} \ No newline at end of file +} diff --git a/tests/Doctrine/Tests/Models/DDC3346/DDC3346Article.php b/tests/Doctrine/Tests/Models/DDC3346/DDC3346Article.php index dc8a876c5..8b26c6397 100644 --- a/tests/Doctrine/Tests/Models/DDC3346/DDC3346Article.php +++ b/tests/Doctrine/Tests/Models/DDC3346/DDC3346Article.php @@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\DDC3346; */ class DDC3346Article { - const CLASSNAME = __CLASS__; - /** * @Id * @Column(type="integer") diff --git a/tests/Doctrine/Tests/Models/DDC3346/DDC3346Author.php b/tests/Doctrine/Tests/Models/DDC3346/DDC3346Author.php index e284532c0..4611bbdd7 100644 --- a/tests/Doctrine/Tests/Models/DDC3346/DDC3346Author.php +++ b/tests/Doctrine/Tests/Models/DDC3346/DDC3346Author.php @@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\DDC3346; */ class DDC3346Author { - const CLASSNAME = __CLASS__; - /** * @Id @Column(type="integer") * @GeneratedValue diff --git a/tests/Doctrine/Tests/Models/DDC3597/DDC3597Image.php b/tests/Doctrine/Tests/Models/DDC3597/DDC3597Image.php index cc0b92cfb..5d1acfeb6 100644 --- a/tests/Doctrine/Tests/Models/DDC3597/DDC3597Image.php +++ b/tests/Doctrine/Tests/Models/DDC3597/DDC3597Image.php @@ -12,8 +12,6 @@ use Doctrine\Tests\Models\DDC3597\Embeddable\DDC3597Dimension; */ class DDC3597Image extends DDC3597Media { - const CLASSNAME = __CLASS__; - /** * @var DDC3597Dimension * @Embedded(class = "Doctrine\Tests\Models\DDC3597\Embeddable\DDC3597Dimension", columnPrefix = false) diff --git a/tests/Doctrine/Tests/Models/DDC3597/DDC3597Media.php b/tests/Doctrine/Tests/Models/DDC3597/DDC3597Media.php index da6f60cd0..c285b3c40 100644 --- a/tests/Doctrine/Tests/Models/DDC3597/DDC3597Media.php +++ b/tests/Doctrine/Tests/Models/DDC3597/DDC3597Media.php @@ -4,14 +4,12 @@ namespace Doctrine\Tests\Models\DDC3597; /** * Description of Media - * + * * @author Volker von Hoesslin * @Entity */ abstract class DDC3597Media extends DDC3597Root { - const CLASSNAME = __CLASS__; - /** * @var string * diff --git a/tests/Doctrine/Tests/Models/DDC3597/DDC3597Root.php b/tests/Doctrine/Tests/Models/DDC3597/DDC3597Root.php index 2f24c933a..3bdb67f13 100644 --- a/tests/Doctrine/Tests/Models/DDC3597/DDC3597Root.php +++ b/tests/Doctrine/Tests/Models/DDC3597/DDC3597Root.php @@ -15,8 +15,6 @@ use Doctrine\ORM\Mapping\DiscriminatorMap; */ abstract class DDC3597Root { - const CLASSNAME = __CLASS__; - /** * @var int * diff --git a/tests/Doctrine/Tests/Models/DDC3699/DDC3699Child.php b/tests/Doctrine/Tests/Models/DDC3699/DDC3699Child.php index dc2222ef1..dc2ccfddd 100644 --- a/tests/Doctrine/Tests/Models/DDC3699/DDC3699Child.php +++ b/tests/Doctrine/Tests/Models/DDC3699/DDC3699Child.php @@ -5,8 +5,6 @@ namespace Doctrine\Tests\Models\DDC3699; /** @Entity @Table(name="ddc3699_child") */ class DDC3699Child extends DDC3699Parent { - const CLASSNAME = __CLASS__; - /** @Id @Column(type="integer") */ public $id; diff --git a/tests/Doctrine/Tests/Models/DDC3699/DDC3699Parent.php b/tests/Doctrine/Tests/Models/DDC3699/DDC3699Parent.php index 09cfedaef..2e5e7ab36 100644 --- a/tests/Doctrine/Tests/Models/DDC3699/DDC3699Parent.php +++ b/tests/Doctrine/Tests/Models/DDC3699/DDC3699Parent.php @@ -5,8 +5,6 @@ namespace Doctrine\Tests\Models\DDC3699; /** @MappedSuperclass */ abstract class DDC3699Parent { - const CLASSNAME = __CLASS__; - /** @Column(type="string") */ public $parentField; -} \ No newline at end of file +} diff --git a/tests/Doctrine/Tests/Models/DDC3699/DDC3699RelationMany.php b/tests/Doctrine/Tests/Models/DDC3699/DDC3699RelationMany.php index 3e0c06a67..1b907bb98 100644 --- a/tests/Doctrine/Tests/Models/DDC3699/DDC3699RelationMany.php +++ b/tests/Doctrine/Tests/Models/DDC3699/DDC3699RelationMany.php @@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\DDC3699; */ class DDC3699RelationMany { - const CLASSNAME = __CLASS__; - /** @Id @Column(type="integer") */ public $id; diff --git a/tests/Doctrine/Tests/Models/DDC3699/DDC3699RelationOne.php b/tests/Doctrine/Tests/Models/DDC3699/DDC3699RelationOne.php index c63558d35..22807aafc 100644 --- a/tests/Doctrine/Tests/Models/DDC3699/DDC3699RelationOne.php +++ b/tests/Doctrine/Tests/Models/DDC3699/DDC3699RelationOne.php @@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\DDC3699; */ class DDC3699RelationOne { - const CLASSNAME = __CLASS__; - /** @Id @Column(type="integer") */ public $id; diff --git a/tests/Doctrine/Tests/Models/DirectoryTree/AbstractContentItem.php b/tests/Doctrine/Tests/Models/DirectoryTree/AbstractContentItem.php index 166f86cb0..41798724b 100644 --- a/tests/Doctrine/Tests/Models/DirectoryTree/AbstractContentItem.php +++ b/tests/Doctrine/Tests/Models/DirectoryTree/AbstractContentItem.php @@ -7,8 +7,6 @@ namespace Doctrine\Tests\Models\DirectoryTree; */ abstract class AbstractContentItem { - const CLASSNAME = __CLASS__; - /** * @Id @Column(type="integer") @GeneratedValue */ diff --git a/tests/Doctrine/Tests/Models/DirectoryTree/File.php b/tests/Doctrine/Tests/Models/DirectoryTree/File.php index 2e18a06cf..f6cbace23 100644 --- a/tests/Doctrine/Tests/Models/DirectoryTree/File.php +++ b/tests/Doctrine/Tests/Models/DirectoryTree/File.php @@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\DirectoryTree; */ class File extends AbstractContentItem { - const CLASSNAME = __CLASS__; - /** @Column(type="string") */ protected $extension = "html"; diff --git a/tests/Doctrine/Tests/Models/Generic/DateTimeModel.php b/tests/Doctrine/Tests/Models/Generic/DateTimeModel.php index c7035ff68..7ef61ea27 100644 --- a/tests/Doctrine/Tests/Models/Generic/DateTimeModel.php +++ b/tests/Doctrine/Tests/Models/Generic/DateTimeModel.php @@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\Generic; */ class DateTimeModel { - const CLASSNAME = __CLASS__; - /** * @Id @Column(type="integer") * @GeneratedValue diff --git a/tests/Doctrine/Tests/Models/Hydration/EntityWithArrayDefaultArrayValueM2M.php b/tests/Doctrine/Tests/Models/Hydration/EntityWithArrayDefaultArrayValueM2M.php index 8ba57db68..ff927968e 100644 --- a/tests/Doctrine/Tests/Models/Hydration/EntityWithArrayDefaultArrayValueM2M.php +++ b/tests/Doctrine/Tests/Models/Hydration/EntityWithArrayDefaultArrayValueM2M.php @@ -5,8 +5,6 @@ namespace Doctrine\Tests\Models\Hydration; /** @Entity */ class EntityWithArrayDefaultArrayValueM2M { - const CLASSNAME = __CLASS__; - /** @Id @Column(type="integer") @GeneratedValue(strategy="AUTO") */ public $id; diff --git a/tests/Doctrine/Tests/Models/Hydration/SimpleEntity.php b/tests/Doctrine/Tests/Models/Hydration/SimpleEntity.php index dda00eb3b..7ec75174d 100644 --- a/tests/Doctrine/Tests/Models/Hydration/SimpleEntity.php +++ b/tests/Doctrine/Tests/Models/Hydration/SimpleEntity.php @@ -5,8 +5,6 @@ namespace Doctrine\Tests\Models\Hydration; /** @Entity */ class SimpleEntity { - const CLASSNAME = __CLASS__; - /** @Id @Column(type="integer") @GeneratedValue(strategy="AUTO") */ public $id; } diff --git a/tests/Doctrine/Tests/Models/MixedToOneIdentity/CompositeToOneKeyState.php b/tests/Doctrine/Tests/Models/MixedToOneIdentity/CompositeToOneKeyState.php index 1ff583058..09bab229e 100644 --- a/tests/Doctrine/Tests/Models/MixedToOneIdentity/CompositeToOneKeyState.php +++ b/tests/Doctrine/Tests/Models/MixedToOneIdentity/CompositeToOneKeyState.php @@ -5,8 +5,6 @@ namespace Doctrine\Tests\Models\MixedToOneIdentity; /** @Entity */ class CompositeToOneKeyState { - const CLASSNAME = __CLASS__; - /** * @Id * @Column(type="string") diff --git a/tests/Doctrine/Tests/Models/MixedToOneIdentity/Country.php b/tests/Doctrine/Tests/Models/MixedToOneIdentity/Country.php index bbdc237f7..629cde160 100644 --- a/tests/Doctrine/Tests/Models/MixedToOneIdentity/Country.php +++ b/tests/Doctrine/Tests/Models/MixedToOneIdentity/Country.php @@ -5,8 +5,6 @@ namespace Doctrine\Tests\Models\MixedToOneIdentity; /** @Entity */ class Country { - const CLASSNAME = __CLASS__; - /** @Id @Column(type="string") @GeneratedValue(strategy="NONE") */ public $country; } diff --git a/tests/Doctrine/Tests/Models/NonPublicSchemaJoins/User.php b/tests/Doctrine/Tests/Models/NonPublicSchemaJoins/User.php index 1c40a5e43..be80cea33 100644 --- a/tests/Doctrine/Tests/Models/NonPublicSchemaJoins/User.php +++ b/tests/Doctrine/Tests/Models/NonPublicSchemaJoins/User.php @@ -10,8 +10,6 @@ namespace Doctrine\Tests\Models\NonPublicSchemaJoins; */ class User { - const CLASSNAME = __CLASS__; - /** * @Column(type="integer") * @Id diff --git a/tests/Doctrine/Tests/Models/OneToOneSingleTableInheritance/Cat.php b/tests/Doctrine/Tests/Models/OneToOneSingleTableInheritance/Cat.php index 1e7eee014..993ae3949 100644 --- a/tests/Doctrine/Tests/Models/OneToOneSingleTableInheritance/Cat.php +++ b/tests/Doctrine/Tests/Models/OneToOneSingleTableInheritance/Cat.php @@ -5,8 +5,6 @@ namespace Doctrine\Tests\Models\OneToOneSingleTableInheritance; /** @Entity */ class Cat extends Pet { - const CLASSNAME = __CLASS__; - /** * @OneToOne(targetEntity="LitterBox") * diff --git a/tests/Doctrine/Tests/Models/OneToOneSingleTableInheritance/LitterBox.php b/tests/Doctrine/Tests/Models/OneToOneSingleTableInheritance/LitterBox.php index 7195a83ae..c347d2bed 100644 --- a/tests/Doctrine/Tests/Models/OneToOneSingleTableInheritance/LitterBox.php +++ b/tests/Doctrine/Tests/Models/OneToOneSingleTableInheritance/LitterBox.php @@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\OneToOneSingleTableInheritance; */ class LitterBox { - const CLASSNAME = __CLASS__; - /** @Id @Column(type="integer") @GeneratedValue(strategy="AUTO") */ public $id; -} \ No newline at end of file +} diff --git a/tests/Doctrine/Tests/Models/OneToOneSingleTableInheritance/Pet.php b/tests/Doctrine/Tests/Models/OneToOneSingleTableInheritance/Pet.php index e779ddb09..ed541b983 100644 --- a/tests/Doctrine/Tests/Models/OneToOneSingleTableInheritance/Pet.php +++ b/tests/Doctrine/Tests/Models/OneToOneSingleTableInheritance/Pet.php @@ -10,8 +10,6 @@ namespace Doctrine\Tests\Models\OneToOneSingleTableInheritance; */ abstract class Pet { - const CLASSNAME = __CLASS__; - /** @Id @Column(type="integer") @GeneratedValue(strategy="AUTO") */ public $id; } diff --git a/tests/Doctrine/Tests/Models/Reflection/ClassWithMixedProperties.php b/tests/Doctrine/Tests/Models/Reflection/ClassWithMixedProperties.php index 72899959a..80f480866 100644 --- a/tests/Doctrine/Tests/Models/Reflection/ClassWithMixedProperties.php +++ b/tests/Doctrine/Tests/Models/Reflection/ClassWithMixedProperties.php @@ -4,8 +4,6 @@ namespace Doctrine\Tests\Models\Reflection; class ClassWithMixedProperties extends ParentClass { - const CLASSNAME = __CLASS__; - public static $staticProperty = 'staticProperty'; public $publicProperty = 'publicProperty'; diff --git a/tests/Doctrine/Tests/Models/Reflection/ParentClass.php b/tests/Doctrine/Tests/Models/Reflection/ParentClass.php index bcc64ce92..f0e58f8d9 100644 --- a/tests/Doctrine/Tests/Models/Reflection/ParentClass.php +++ b/tests/Doctrine/Tests/Models/Reflection/ParentClass.php @@ -4,7 +4,5 @@ namespace Doctrine\Tests\Models\Reflection; class ParentClass { - const CLASSNAME = __CLASS__; - private $privatePropertyOverride = 'privatePropertyOverride'; } diff --git a/tests/Doctrine/Tests/Models/Tweet/Tweet.php b/tests/Doctrine/Tests/Models/Tweet/Tweet.php index 8a315df9e..5455452c2 100644 --- a/tests/Doctrine/Tests/Models/Tweet/Tweet.php +++ b/tests/Doctrine/Tests/Models/Tweet/Tweet.php @@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\Tweet; */ class Tweet { - const CLASSNAME = __CLASS__; - /** * @Id * @GeneratedValue diff --git a/tests/Doctrine/Tests/Models/Tweet/User.php b/tests/Doctrine/Tests/Models/Tweet/User.php index 68cf137f2..4efd6193e 100644 --- a/tests/Doctrine/Tests/Models/Tweet/User.php +++ b/tests/Doctrine/Tests/Models/Tweet/User.php @@ -10,8 +10,6 @@ use Doctrine\Common\Collections\ArrayCollection; */ class User { - const CLASSNAME = __CLASS__; - /** * @Id * @GeneratedValue diff --git a/tests/Doctrine/Tests/Models/Tweet/UserList.php b/tests/Doctrine/Tests/Models/Tweet/UserList.php index 1eb3e141f..0f20f94b9 100644 --- a/tests/Doctrine/Tests/Models/Tweet/UserList.php +++ b/tests/Doctrine/Tests/Models/Tweet/UserList.php @@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\Tweet; */ class UserList { - const CLASSNAME = __CLASS__; - /** * @Id * @GeneratedValue diff --git a/tests/Doctrine/Tests/Models/VersionedManyToOne/Article.php b/tests/Doctrine/Tests/Models/VersionedManyToOne/Article.php index 0e5b1683f..16a5d743a 100644 --- a/tests/Doctrine/Tests/Models/VersionedManyToOne/Article.php +++ b/tests/Doctrine/Tests/Models/VersionedManyToOne/Article.php @@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\VersionedManyToOne; */ class Article { - const CLASSNAME = __CLASS__; - /** * @Id * @Column(name="id", type="integer") diff --git a/tests/Doctrine/Tests/Models/VersionedManyToOne/Category.php b/tests/Doctrine/Tests/Models/VersionedManyToOne/Category.php index cb8840672..e29593a81 100644 --- a/tests/Doctrine/Tests/Models/VersionedManyToOne/Category.php +++ b/tests/Doctrine/Tests/Models/VersionedManyToOne/Category.php @@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\VersionedManyToOne; */ class Category { - const CLASSNAME = __CLASS__; - /** * @Id * @Column(name="id", type="integer") diff --git a/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2494Test.php b/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2494Test.php index 33109ddd7..4aa30e950 100644 --- a/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2494Test.php +++ b/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2494Test.php @@ -76,8 +76,6 @@ class DDC2494Test extends \Doctrine\Tests\OrmFunctionalTestCase */ class DDC2494Currency { - const CLASSNAME = __CLASS__; - /** * @Id * @Column(type="integer", type="ddc2494_tinyint") @@ -124,8 +122,6 @@ class DDC2494Currency */ class DDC2494Campaign { - const CLASSNAME = __CLASS__; - /** * @Id * @GeneratedValue diff --git a/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2579Test.php b/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2579Test.php index 53ab6550b..e7ba77759 100644 --- a/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2579Test.php +++ b/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2579Test.php @@ -67,9 +67,6 @@ class DDC2579Test extends \Doctrine\Tests\OrmFunctionalTestCase */ class DDC2579Entity { - - const CLASSNAME = __CLASS__; - /** * @Id * @Column(type="ddc2579") @@ -102,8 +99,6 @@ class DDC2579Entity */ class DDC2579EntityAssoc { - const CLASSNAME = __CLASS__; - /** * @Id * @ManyToOne(targetEntity="DDC2579AssocAssoc") @@ -122,8 +117,6 @@ class DDC2579EntityAssoc */ class DDC2579AssocAssoc { - const CLASSNAME = __CLASS__; - /** * @Id * @Column(type="ddc2579") @@ -140,7 +133,6 @@ class DDC2579AssocAssoc class DDC2579Type extends StringType { const NAME = 'ddc2579'; - const CLASSNAME = __CLASS__; /** * {@inheritdoc} @@ -166,8 +158,6 @@ class DDC2579Type extends StringType class DDC2579Id { - const CLASSNAME = __CLASS__; - private $val; public function __construct($val) diff --git a/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2825Test.php b/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2825Test.php index 179fff8d0..7aeba002a 100644 --- a/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2825Test.php +++ b/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2825Test.php @@ -100,8 +100,6 @@ class DDC2825Test extends \Doctrine\Tests\OrmFunctionalTestCase */ class DDC2825ClassWithImplicitlyDefinedSchemaAndQuotedTableName { - const CLASSNAME = __CLASS__; - /** * @Id @GeneratedValue * @Column(type="integer") diff --git a/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2862Test.php b/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2862Test.php index 9a5bccd58..c4b2fb227 100644 --- a/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2862Test.php +++ b/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2862Test.php @@ -119,8 +119,6 @@ class DDC2862Test extends \Doctrine\Tests\OrmFunctionalTestCase */ class DDC2862Driver { - const CLASSNAME = __CLASS__; - /** * @Id * @GeneratedValue @@ -196,8 +194,6 @@ class DDC2862Driver */ class DDC2862User { - const CLASSNAME = __CLASS__; - /** * @Id * @GeneratedValue diff --git a/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3192Test.php b/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3192Test.php index 0c4def045..1262bce45 100644 --- a/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3192Test.php +++ b/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3192Test.php @@ -72,8 +72,6 @@ class DDC3192Test extends \Doctrine\Tests\OrmFunctionalTestCase */ class DDC3192Currency { - const CLASSNAME = __CLASS__; - /** * @Id * @Column(type="ddc3192_currency_code") @@ -99,8 +97,6 @@ class DDC3192Currency */ class DDC3192Transaction { - const CLASSNAME = __CLASS__; - /** * @Id * @GeneratedValue diff --git a/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3300Test.php b/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3300Test.php index 0f31ecedf..17de7d217 100644 --- a/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3300Test.php +++ b/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3300Test.php @@ -58,30 +58,24 @@ class DDC3300Test extends \Doctrine\Tests\OrmFunctionalTestCase */ abstract class DDC3300Person { - const CLASSNAME = __CLASS__; - /** @Id @Column(type="integer") @GeneratedValue(strategy="AUTO") */ public $id; } interface DDC3300BossInterface { - const INTERFACENAME = __CLASS__; } /** @Entity */ class DDC3300Boss extends DDC3300Person implements DDC3300BossInterface { - const CLASSNAME = __CLASS__; } interface DDC3300EmployeeInterface { - const INTERFACENAME = __CLASS__; } /** @Entity */ class DDC3300Employee extends DDC3300Person implements DDC3300EmployeeInterface { - const CLASSNAME = __CLASS__; } diff --git a/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3582Test.php b/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3582Test.php index 2f10adcee..17b4bed85 100644 --- a/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3582Test.php +++ b/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3582Test.php @@ -23,8 +23,6 @@ class DDC3582Test extends \Doctrine\Tests\OrmFunctionalTestCase /** @Entity */ class DDC3582Entity { - const CLASSNAME = __CLASS__; - /** @Column @Id */ private $id; @@ -41,8 +39,6 @@ class DDC3582Entity /** @Embeddable */ class DDC3582Embeddable1 { - const CLASSNAME = __CLASS__; - /** @Embedded(class="DDC3582Embeddable2") @var DDC3582Embeddable2 */ public $embeddable2; @@ -52,8 +48,6 @@ class DDC3582Embeddable1 /** @Embeddable */ class DDC3582Embeddable2 { - const CLASSNAME = __CLASS__; - /** @Embedded(class="DDC3582Embeddable3") @var DDC3582Embeddable3 */ public $embeddable3; @@ -63,8 +57,6 @@ class DDC3582Embeddable2 /** @Embeddable */ class DDC3582Embeddable3 { - const CLASSNAME = __CLASS__; - /** @Column */ public $embeddedValue = 'foo'; } diff --git a/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3634Test.php b/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3634Test.php index 2f499f2d2..01f42bb93 100644 --- a/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3634Test.php +++ b/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3634Test.php @@ -74,8 +74,6 @@ class DDC3634Test extends OrmFunctionalTestCase { /** @Entity */ class DDC3634Entity { - const CLASSNAME = __CLASS__; - /** @Id @Column(type="bigint") @GeneratedValue(strategy="AUTO") */ public $id; } @@ -90,8 +88,6 @@ class DDC3634Entity */ class DDC3634JTIBaseEntity { - const CLASSNAME = __CLASS__; - /** @Id @Column(type="bigint") @GeneratedValue(strategy="AUTO") */ public $id; } @@ -99,7 +95,6 @@ class DDC3634JTIBaseEntity /** @Entity */ class DDC3634JTIChildEntity extends DDC3634JTIBaseEntity { - const CLASSNAME = __CLASS__; } class DDC3634LastInsertIdMockingConnection extends Connection diff --git a/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC5684Test.php b/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC5684Test.php index 2e9fb8a8c..e525ae134 100644 --- a/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC5684Test.php +++ b/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC5684Test.php @@ -60,8 +60,6 @@ class DDC5684Test extends \Doctrine\Tests\OrmFunctionalTestCase class DDC5684ObjectIdType extends DBALTypes\IntegerType { - const CLASSNAME = __CLASS__; - public function convertToPHPValue($value, AbstractPlatform $platform) { return new DDC5684ObjectId($value); @@ -85,8 +83,6 @@ class DDC5684ObjectIdType extends DBALTypes\IntegerType class DDC5684ObjectId { - const CLASSNAME = __CLASS__; - public $value; public function __construct($value) @@ -106,8 +102,6 @@ class DDC5684ObjectId */ class DDC5684Object { - const CLASSNAME = __CLASS__; - /** * @Id * @Column(type=Doctrine\Tests\ORM\Functional\Ticket\DDC5684ObjectIdType::class) diff --git a/tests/Doctrine/Tests/ORM/Functional/ValueObjectsTest.php b/tests/Doctrine/Tests/ORM/Functional/ValueObjectsTest.php index 7df4171b4..ff5de971a 100644 --- a/tests/Doctrine/Tests/ORM/Functional/ValueObjectsTest.php +++ b/tests/Doctrine/Tests/ORM/Functional/ValueObjectsTest.php @@ -336,8 +336,6 @@ class ValueObjectsTest extends OrmFunctionalTestCase */ class DDC93Person { - const CLASSNAME = __CLASS__; - /** @Id @GeneratedValue @Column(type="integer") */ public $id; @@ -407,8 +405,6 @@ class DDC93Car extends DDC93Vehicle */ class DDC93Country { - const CLASSNAME = __CLASS__; - /** * @Column(type="string", nullable=true) */ @@ -425,8 +421,6 @@ class DDC93Country */ class DDC93Address { - const CLASSNAME = __CLASS__; - /** * @Column(type="string") */ @@ -464,8 +458,6 @@ class DDC93Customer /** @Embeddable */ class DDC93ContactInfo { - const CLASSNAME = __CLASS__; - /** * @Column(type="string") */ @@ -479,8 +471,6 @@ class DDC93ContactInfo */ class DDC3028PersonWithPrefix { - const CLASSNAME = __CLASS__; - /** @Embedded(class="DDC3028Id", columnPrefix = "foobar_") */ public $id; @@ -499,8 +489,6 @@ class DDC3028PersonWithPrefix */ class DDC3028PersonEmptyPrefix { - const CLASSNAME = __CLASS__; - /** @Embedded(class="DDC3028Id", columnPrefix = "") */ public $id; @@ -519,8 +507,6 @@ class DDC3028PersonEmptyPrefix */ class DDC3028PersonPrefixFalse { - const CLASSNAME = __CLASS__; - /** @Embedded(class="DDC3028Id", columnPrefix = false) */ public $id; @@ -535,8 +521,6 @@ class DDC3028PersonPrefixFalse */ class DDC3028Id { - const CLASSNAME = __CLASS__; - /** * @Id @Column(type="string") */ @@ -553,8 +537,6 @@ class DDC3028Id */ class DDC3028NestedEmbeddable { - const CLASSNAME = __CLASS__; - /** @Embedded(class="DDC3028Id", columnPrefix = "foo_") */ public $nestedWithPrefix; diff --git a/tests/Doctrine/Tests/ORM/Tools/AttachEntityListenersListenerTest.php b/tests/Doctrine/Tests/ORM/Tools/AttachEntityListenersListenerTest.php index 5008470fe..db4da0b5d 100644 --- a/tests/Doctrine/Tests/ORM/Tools/AttachEntityListenersListenerTest.php +++ b/tests/Doctrine/Tests/ORM/Tools/AttachEntityListenersListenerTest.php @@ -117,8 +117,6 @@ class AttachEntityListenersListenerTest extends OrmTestCase */ class AttachEntityListenersListenerTestFooEntity { - const CLASSNAME = __CLASS__; - /** * @Id * @Column(type="integer") @@ -133,8 +131,6 @@ class AttachEntityListenersListenerTestFooEntity */ class AttachEntityListenersListenerTestBarEntity { - const CLASSNAME = __CLASS__; - /** * @Id * @Column(type="integer") @@ -145,8 +141,6 @@ class AttachEntityListenersListenerTestBarEntity class AttachEntityListenersListenerTestListener { - const CLASSNAME = __CLASS__; - public $calls; public function prePersist() @@ -167,8 +161,6 @@ class AttachEntityListenersListenerTestListener class AttachEntityListenersListenerTestListener2 { - const CLASSNAME = __CLASS__; - public $calls; public function prePersist()