Skip to content

Commit

Permalink
Merge pull request #7 from ThomasLandauer/patch-1
Browse files Browse the repository at this point in the history
Fixing code formating (hopefully)
  • Loading branch information
Naktibalda committed Jan 30, 2020
2 parents c477db7 + f6407c6 commit ceae4f9
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 ceae4f9

Please sign in to comment.