• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

webfactory / doctrine-orm-test-infrastructure / 121
100%
master: 98%

Build:
Build:
LAST BUILD BRANCH: upgrade-doctrine-orm
DEFAULT BRANCH: master
Ran 04 Sep 2018 03:48PM UTC
Jobs 4
Files 11
Run time 16s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
121

Pull #28

travis-ci

web-flow
Avoid creating an EventManager

If we create the EventManager ourselves, it is getting in our way when we try to
re-use an existing DBAL connection: The DBAL Connection is holding the autoritative
EventManager instance. When calling EntityManager::create() and passing in a
pre-existing connection as well as the EventManager, this method will make sure both
EventManagers are the same.

So, we simply avoid creating the EventManager and instead provide the
one contained in our EntityManager.

This requires a little tweaking to how entity mappings can be registered
through the ResolveTargetEntityListener: We can create the ResolveTargetEntityListener
immediately when constructing the ORMInfrastructure, but have to postpone
registering it in the EventManager to the point where that is actually available.
Pull Request #28: Make it possible to provide/pass in the DBAL connection

12 of 12 new or added lines in 1 file covered. (100.0%)

211 of 212 relevant lines covered (99.53%)

69.92 hits per line

Jobs
ID Job ID Ran Files Coverage
1 121.1 04 Sep 2018 03:48PM UTC 0
99.58
Travis Job 121.1
2 121.2 04 Sep 2018 03:48PM UTC 0
99.58
Travis Job 121.2
3 121.3 04 Sep 2018 03:48PM UTC 0
99.53
Travis Job 121.3
4 121.4 04 Sep 2018 03:48PM UTC 0
99.53
Travis Job 121.4
Source Files on build 121
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #121
  • Pull Request #28
  • PR Base - master (#119)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc