You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Have Dummy/Test Container for testing purposes? #14
We could definitely use such a package, although I don't know what could be put in it apart from a Dummy container (maybe EmptyContainer would be a better naming). Maybe a CompositeContainer?
I haven't seen any related package being created since the report of these issue (although it's not so old issue). But because there was a need in my projects I have started creating various DummyContainers in here and there order to do some tests . So I decided instead to create this package:
Activity
[-]Dummy Container[/-][+]Have Dummy/Test Container for testing purposes?[/+]moufmouf commentedon Jun 27, 2017
I believe that starting with PSR6+, the decision has been made not to add any implementations to the PSR packages.
Instead, a "psr/xxx-util" package is proposed for common utility classes. For instance: https://github.com/php-fig/cache-util
We could definitely use such a package, although I don't know what could be put in it apart from a Dummy container (maybe
EmptyContainerwould be a better naming). Maybe aCompositeContainer?gmponos commentedon Aug 3, 2017
Hello,
I haven't seen any related package being created since the report of these issue (although it's not so old issue). But because there was a need in my projects I have started creating various
DummyContainersin here and there order to do some tests . So I decided instead to create this package:https://github.com/webthinkgr/psr-test-container
If you like it I am willing to make any necessary to be compatible with PSR (like namespaces etc) and transfer it if you wish.