hoaproject / Protocol

The Hoa\Protocol library.
https://hoa-project.net/
308 stars 25 forks source link

Checks whether hoa protocol is already defined #7

Closed davidkastanek closed 8 years ago

davidkastanek commented 8 years ago

Fixes PHP Warning: stream_wrapper_register(): Protocol hoa:// is already defined. in /var/www/project/vendor/hoa/protocol/Wrapper.php on line 580

Hywan commented 8 years ago

Hello :-),

There was already a discussion about that. If you have this warning, it means that Hoa is not correctly installed. I guess you still have Hoa\Core somewhere installed and that's not compatible. So I hate doing that, but I will have to close this PR :-/. Sorry.

davidkastanek commented 8 years ago

Hi,

no problem at all :) ... Hoa is a prerequisite for one of community packages I use in my project (not sure which one), so this is somehow an indirect problem for me, because the bad implementation lies in community package source codes, not mine. I will trace the package and propose bugfix to its contributors.

Thanks :)

Hywan commented 8 years ago

Please yes, we can help fixing them!