Skip to content

Commit

Permalink
Fixing code formating (hopefully)
Browse files Browse the repository at this point in the history
At line 75. Don't know why it wasn't working...
  • Loading branch information
ThomasLandauer committed Jan 30, 2020
1 parent c477db7 commit f6407c6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/Codeception/Module/Doctrine2.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@
/**
* Access the database using [Doctrine2 ORM](http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/).
*
* When used with Zend Framework 2 or Symfony2, Doctrine's Entity Manager is automatically retrieved from Service Locator.
* When used with Symfony or Zend Framework 2, Doctrine's Entity Manager is automatically retrieved from Service Locator.
* Set up your `functional.suite.yml` like this:
*
* ```
* ```yaml
* modules:
* enabled:
* - Symfony # 'ZF2' or 'Symfony'
Expand All @@ -49,13 +49,12 @@
*
* If you don't use Symfony or Zend Framework, you need to specify a callback function to retrieve the Entity Manager:
*
* ```
* ```yaml
* modules:
* enabled:
* - Doctrine2:
* connection_callback: ['MyDb', 'createEntityManager']
* cleanup: true # All doctrine queries will be wrapped in a transaction, which will be rolled back at the end of each test
*
* ```
*
* This will use static method of `MyDb::createEntityManager()` to establish the Entity Manager.
Expand Down

0 comments on commit f6407c6

Please sign in to comment.