The GelfHandlerFactory is currently not compatible with version 3 of the ServiceManager because the options array in the constructor is mandatory. In v3 the options are passed via the __invoke method.
This fix made the constructor options optional (to be compatible with v2) and also allows the options to be passed via the __invoke method (v3). Afaik no BC breaks.
Coverage increased (+1.09%) to 89.552% when pulling f0de3393828243fdd000e09f915e9c858a19e2f4 on arjanvdbos:fix-deprecated-factory-constructor into 237c9ac4eed24c47c5fc55d990c81ef8e4a3919a on neeckeloo:master.
Coverage increased (+1.09%) to 89.552% when pulling f0de3393828243fdd000e09f915e9c858a19e2f4 on arjanvdbos:fix-deprecated-factory-constructor into 237c9ac4eed24c47c5fc55d990c81ef8e4a3919a on neeckeloo:master.
The GelfHandlerFactory is currently not compatible with version 3 of the ServiceManager because the options array in the constructor is mandatory. In v3 the options are passed via the
__invoke
method.This fix made the constructor options optional (to be compatible with v2) and also allows the options to be passed via the
__invoke
method (v3). Afaik no BC breaks.