« Previous | Next » 

Revision 0a9dfb29

ID0a9dfb29c6fde9b09790b7a56f8e056e517f6329

Added by Karsten Dambekalns over 7 years ago

[BUGFIX] Make DI work with Doctrine using newInstanceWithoutConstructor()

This change does two things:

  • make sure Doctrine uses the Flow ClassReflection even after
    wakeupReflection() has been called
  • override newInstanceWithoutConstructor() in ClassReflection to call
    __wakeup(), so DI works.

This fixes an issue with a workaround in Doctrine that broke DI on PHP
5.4.29, 5.5.13 as well as 5.6.x.

Change-Id: I8a4b7bd00ef39961720ec1bf3353d81a0ab44af9
Releases: master, 2.2, 2.1

  • added
  • modified
  • copied
  • renamed
  • deleted