diff --git a/Doctrine.php b/Doctrine.php index 61e77bf69..76d6d70f5 100644 --- a/Doctrine.php +++ b/Doctrine.php @@ -463,9 +463,10 @@ final class Doctrine { $fp = fopen($file, 'w'); if ($fp === false) throw new Doctrine_Exception("Couldn't write compiled data. Failed to open $file"); - fwrite($fp, ". */ -require_once("Configurable.php"); -require_once("Record.php"); + /** * Doctrine_Connection * diff --git a/Doctrine/ForeignKey.php b/Doctrine/ForeignKey.php index 701d93885..45da235ae 100644 --- a/Doctrine/ForeignKey.php +++ b/Doctrine/ForeignKey.php @@ -1,5 +1,4 @@ diff --git a/Doctrine/Manager.php b/Doctrine/Manager.php index 535c08a96..73903fe98 100644 --- a/Doctrine/Manager.php +++ b/Doctrine/Manager.php @@ -18,8 +18,7 @@ * and is licensed under the LGPL. For more information, see * . */ -require_once("Configurable.php"); -require_once("EventListener.php"); + /** * @package Doctrine ORM * @url www.phpdoctrine.com diff --git a/Doctrine/Query.php b/Doctrine/Query.php index c4e13514c..51650046c 100644 --- a/Doctrine/Query.php +++ b/Doctrine/Query.php @@ -18,7 +18,7 @@ * and is licensed under the LGPL. For more information, see * . */ -require_once("Hydrate.php"); + /** * Doctrine_Query * diff --git a/Doctrine/RawSql.php b/Doctrine/RawSql.php index b3b6f414c..2eef471e3 100644 --- a/Doctrine/RawSql.php +++ b/Doctrine/RawSql.php @@ -18,7 +18,7 @@ * and is licensed under the LGPL. For more information, see * . */ -require_once("Hydrate.php"); + /** * Doctrine_RawSql * diff --git a/Doctrine/Record.php b/Doctrine/Record.php index 5df4a8c25..f166a9120 100644 --- a/Doctrine/Record.php +++ b/Doctrine/Record.php @@ -19,8 +19,6 @@ * . */ -require_once("Access.php"); - /** * Doctrine_Record * All record classes should inherit this super class diff --git a/Doctrine/Session.php b/Doctrine/Session.php index 7062552d4..ebcc4b821 100644 --- a/Doctrine/Session.php +++ b/Doctrine/Session.php @@ -18,8 +18,7 @@ * and is licensed under the LGPL. For more information, see * . */ -require_once("Configurable.php"); -require_once("Record.php"); + /** * Doctrine_Session * diff --git a/Doctrine/Statement.php b/Doctrine/Statement.php index 9e9379356..2a87a5a08 100644 --- a/Doctrine/Statement.php +++ b/Doctrine/Statement.php @@ -1,5 +1,4 @@ . */ -require_once("Exception/Find.class.php"); -require_once("Exception/Mapping.class.php"); -require_once("Exception/PrimaryKey.class.php"); -require_once("Configurable.php"); + /** * Doctrine_Table represents a database table * each Doctrine_Table holds the information of foreignKeys and associations