EZP-22279: Set doctrine-bundle version dependency to ~1.2.0
EZP-22279: Fixed InvalidArgumentException not thrown in the right place in EzPublishCoreExtension