beberlei / metrics

Simple library that abstracts different metrics collectors. I find this necessary to have a consistent and simple metrics (functional) API that doesn't cause vendor lock-in.
316 stars 38 forks source link

Symfony 4 compat, require 3.3 or higher #59

Closed nicoschoenmaker closed 6 years ago

nicoschoenmaker commented 6 years ago

Fixes #58.

Currently the (Symfony) class DefinitionDecorator is used, which has been renamed to ChildDefinition.

Problem at hand: this new class was only introduced in Symfony 3.3.

This is the most clean, but also a bit of an aggressive solution to this problem: require Symfony 3.3 (or 4.0).

An alternative, less aggressive PR can be found at #60.

lyrixx commented 6 years ago

:+1:

lyrixx commented 6 years ago

Hello. Could you rebase this PR? Thanks

nicoschoenmaker commented 6 years ago

Rebased :slightly_smiling_face:

lyrixx commented 6 years ago

Thanks you for your time ;)