-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
Cannot declare class because the name is already in use #859
Comments
I could only have a brief look:
|
If everything failed due to having newer composer version and 7.4 with 3.16 of box, I'll happily drip 7.4 😉 Thanks for some tips |
Ah forgot to mention: do note that using a higher version of Box does not mean that your app aligns with Box's requirements. If Box5 requires PHP 8.3, it can still, in theory, build an app which will work on PHP 5.3. The only caveats are:
|
Ok. Thanks will try out some combinations. Maybe I'll find the culprit 😉 |
Ok, tried out every combination. With every php version, box 3.16 and 4.2, also downgraded composer to 2.0 and 2.5.
|
One thing I noticed which works, is if I set |
So there maybe no backward compatible change on old version right? So maybe I'll just go with dev deps enabled for now. |
@icanhazstring I hope this fixed with #879. I unfortunately cannot upload the PHAR for you; I tried locally but this did not work as the project is still using PHP 7.4 with an old PHP-Scoper configuration. If you want to test before the release you can always clone the repo and run |
Thanks for the update. Will try it out 👍 |
Closing this as it has been fixed in newer versions. https://github.com/composer-unused/composer-unused should just work with the next Box release with composer-unused/composer-unused#592. It could already work with the current release if the |
Thanks for the draft. Will try and take over to upgrade and get the build back to work 👍 |
👍 I'll probably release 4.6.0 tomorrow or the day after. But meanwhile using |
Bug report
box.json.dist
Output
To reproduce:
make up
make update
make box
This might not even be related to this repository.
But I can't figure out what is happening here. The dump also didn't help a lot.
Seems like "something" in dependency chain changed.
Sadly I don't have a lock file to check what happened.
So this is more like a request for help 🙈
Thanks in advance!
The text was updated successfully, but these errors were encountered: