From b24811e29a9627223c37c0683acd67ef5aea832b Mon Sep 17 00:00:00 2001 From: beberlei Date: Fri, 6 Nov 2009 17:05:22 +0000 Subject: [PATCH] [2.0] Fix Fatal errors in unused classes that crash the testsuite when running PHPUnit with coverage-whitelisting of complete Doctrine directory. --- lib/Doctrine/ORM/Persisters/ElementCollectionPersister.php | 2 +- lib/Doctrine/ORM/Persisters/UnionSubclassPersister.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Doctrine/ORM/Persisters/ElementCollectionPersister.php b/lib/Doctrine/ORM/Persisters/ElementCollectionPersister.php index 67ae40081..688edeb46 100644 --- a/lib/Doctrine/ORM/Persisters/ElementCollectionPersister.php +++ b/lib/Doctrine/ORM/Persisters/ElementCollectionPersister.php @@ -27,7 +27,7 @@ namespace Doctrine\ORM\Persisters; * @author robo * @todo Implementation once support for collections of basic elements (i.e. strings) is added. */ -class ElementCollectionPersister extends AbstractCollectionPersister +abstract class ElementCollectionPersister extends AbstractCollectionPersister { //put your code here } \ No newline at end of file diff --git a/lib/Doctrine/ORM/Persisters/UnionSubclassPersister.php b/lib/Doctrine/ORM/Persisters/UnionSubclassPersister.php index 05ee49b7e..6afc51b4b 100644 --- a/lib/Doctrine/ORM/Persisters/UnionSubclassPersister.php +++ b/lib/Doctrine/ORM/Persisters/UnionSubclassPersister.php @@ -2,7 +2,7 @@ namespace Doctrine\ORM\Persisters; -class UnionSubclassPersister extends AbstractEntityPersister +class UnionSubclassPersister extends StandardEntityPersister { } \ No newline at end of file