@mikkeschiren opened this Issue on April 22nd 2020

The class StaticContainer has been marked as deprecated a long time ("It will be removed in 3.0") - and it is still used extensively in the core code - should it still be marked as deprecated when it is in fact in use?

@sgiehl commented on April 22nd 2020 Member
@tsteur commented on April 22nd 2020 Member

We can indeed remove this deprecation. Should be a quick one. We should make clear that we discourage the usage though and recommend to use proper __constructor injection where possible. Eg in the doc header for that method.

@tsteur commented on June 28th 2020 Member

The class still exists but we no longer support it as official API. We've documented eg in https://developer.matomo.org/guides/dependency-injection how to use dependency injection instead

This Issue was closed on June 28th 2020
Powered by GitHub Issue Mirror