-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
disable require once call #2
Conversation
as zend classes are not in include path, any require once call will cause fatal error
Thank you @glensc ! |
now more important question is how do i use this? will you re-tag last git tag? |
@glensc please simply update your dependency. I've released 1.12.21 and it's already available on packagist. |
ah. though it's not wise to continue incrementing versions even if the upstream is discontinued... but overwriting tags is even more terrible practice. |
I guess 1.12.20.1 would have been an option too. and I agree 1.13 is too much ;) |
i've upgraded to why i'll continue research and post update here.
|
@glensc if you are still using |
@falkenhawk but this package provides "replace" keyword, shouldn't it replace the previous package namespace? |
created gist to play with:
now:
|
I am afraid composer's "replace" option does not work that way. The original package does not know about |
i've sent PR to force upper version, not sure why it picks lower version: that will solve the problem and without having to manually update each package |
alternatively, you could just drop older tags than 1.12.20, because these do not provide "replace" keyword. |
Not sure but that's probably a result of confused composer trying to figure out the appropriate version based on already installed packages.
is asking for troubles... Maybe we should not waste any more time for trying to guess composer's resolving mechanisms, but focus on getting zf1s packages to work for you - as you have already started doing that - big thanks for your efforts... |
I think all internal dependencies should be changed to the other alternative suggested is drop older tags: |
carried from zf1#2
as zend classes are not in include path, any require once call will cause fatal error.
and enabling Zend autoloader causes it to load things from include path (which may be outside
vendor/
dir)