Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/Codeception/Module/DataFactory.php
Original file line numberDiff line numberDiff line change
Expand Up@@ -77,7 +77,7 @@
* modules:
* enabled:
* - DataFactory:
* depends: Doctrine2
* depends: Doctrine
* - \Helper\Factories
*
* ```
Expand All@@ -90,7 +90,7 @@
* {
* $factory = $this->getModule('DataFactory');
* // let us get EntityManager from Doctrine
* $em = $this->getModule('Doctrine2')->_getEntityManager();
* $em = $this->getModule('Doctrine')->_getEntityManager();
*
* $factory->_define(User::class, [
*
Expand DownExpand Up@@ -161,12 +161,12 @@
class DataFactory extends Module implements DependsOnModule, RequiresPackage
{
protected string $dependencyMessage = <<<EOF
ORM module (like Doctrine2) or Framework module with ActiveRecord support is required:
ORM module (like Doctrine) or Framework module with ActiveRecord support is required:
--
modules:
enabled:
- DataFactory:
depends: Doctrine2
depends: Doctrine
--
EOF;

Expand Down