hoaproject / Protocol

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

undef(resolve) adding Hoa namespace to resolve to avoid conflict #22

Closed Grummfy closed 7 years ago

Grummfy commented 7 years ago

related to https://github.com/hoaproject/Protocol/issues/18 once we have discuted about it, I will get back on other repository depending on this function.

note with php 5.6+ we can use use function \Hoa\resolve in the import part

vonglasow commented 7 years ago

Can you complete also the README please ?

Grummfy commented 7 years ago

here it is

Hywan commented 7 years ago

We have to coordinate the release of this library with the drop of PHP 5.x because it introduces a BC break. Do you agree?

Grummfy commented 7 years ago

Yes, because less bc break is good. No, because it break my laravel app ;)

But, I can wait. What do we need for breaking php compatibility? Did I update other library to remove it?

Hywan commented 7 years ago

We must implement Hoa\Option, and then use it for all new libraries. With Hoa\Option, we will introduce BC, and thus we will upgrade to PHP 7. I can focus my work on Hoa\Option, then use it in Hoa\Consistency, do a new major release, and use it in Hoa\Protocol with a new major release. Thoughts?

Grummfy commented 7 years ago

OK.

drwxmrrs commented 6 years ago

Hey all!

We've just implemented the Hoa\Ruler package in Laravel and this is causing some serious headaches for us as we have other packages using Laravel's resolve function internally.

Is there any update on when this will be released? Is it safe to just use dev-master for the protocol package for now?

jaroslavas commented 5 years ago

Hey guys, when will you release this? Your libraries are still unusable with Laravel because of this resolve function!