This changelog tracks deprecations and changes breaking backwards compatibility. For more details on particular releases, consult the GitHub releases page.
- The
ORMInfrastructure::create*()
methods by default read ORM mapping configuration through PHP attributes; annotations support has been removed in #55. You can, however, still create an instance of theAnnotationDriver
mapping driver yourself (when using ORM 2.0) and pass it into these methods. \Webfactory\Doctrine\ORMTestInfrastructure\ORMInfrastructure::__construct()
is now a private method. Use the::create*
methods to instantiate theORMInfrastructure
.- The
\Webfactory\Doctrine\ORMTestInfrastructure\Query::getExecutionTimeInSeconds()
method has been removed. - The
DetachingObjectManagerDecorator
andMemorizingObjectManagerDecorator
classes have been removed.
- The
\Webfactory\Doctrine\ORMTestInfrastructure\Query::getExecutionTimeInSeconds()
method has been deprecated without replacement in #52, to prepare for the removal of theDebugStack
class in Doctrine DBAL 4.0. - Using annotation-based mapping as the default in
ORMInfrastructure::create*()
methods has been deprecated. Pass a mapping driver or upgradedoctrine/orm
to >= 3.0 to switch to attributes-based mapping. Attributes-based configuration will be the default in the next major version.