Closed mcheptea closed 7 years ago
@Athlon1600 this commit fixes this particular symptom. However it doesn't solve the underlying problem. You can easily create a static class named Helper
say in a Proxy/Helpers
namespace and refactor all the calls to the old global functions to use methods in this class.
It's not the prettiest solution but it should do the trick. :)
The helper function are in the global namespace and generate conflicts both with project and other packages. It's generally a good practice to isolate the scopes to avoid such conflicts.
The problem I'm currently having is with
mockery/mockery
andathlon1600/php-proxy
in the same project.Including
php-proxy
fails as follows:Note that
hamcrest
in this scenario is a dependency installed bymockery
.