Closed (fixed)
Project:
Currency
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
16 Jul 2021 at 14:48 UTC
Updated:
27 Sep 2022 at 05:49 UTC
Jump to comment: Most recent
Comments
Comment #3
tjtj commentedI need this also!
Comment #4
scott_euser commentedThanks for this, works well! No issues found running this in D9 on PHP8 for the last couple months with this patch.
Comment #5
scott_euser commentedFor anyone trying to get this working at the moment until its merged (and until its dependencies are merged), we used this in our composer:
(both the commercie dependencies similarly support PHP 8 only via the pull requests in the issue queues).
Comment #6
maxilein commentedCould you finally please merge this into dev!
Thank you
Comment #7
christophedg commentedMerging into dev would be really helpful for me too! Thanks in advance
Comment #8
NewZeal commentedI am able to get all the libraries to pass composer validation with the following entries:
However when I clear the cache I get the following:
This is proving hard to debug.
Update. Not found problem solved by directly mapping with the following entiry:
Wildcards work!
Comment #9
christophedg commentedI'm sorry, but can you explain in more detail what you mean with this? :
Where do I add/change this? Thanks in advance.
Comment #10
vlad.dancerThanks kent@passingphase.nz, works for me I had additional issue with deploying mentioned composer packages on other envs.
Can't remember exact issue with composer, something like:
I fixed it with next solution:
@ChristopheDG you need to place autoload settings in the root level of your composer.json file:
Comment #11
bwoods commentedThe info from kent@passingphase.nz was extremely useful in getting this to work locally. I made a few minor edits, mostly when testing my build and using https versus git directly. But I wanted to warn anyone with a CI/CD setup that the changes to autoload likely won't work unless you have the ability to rerun composer from your build. This seems like a bit of a chicken-and-egg problem with respect the directories being there versus being able to load properly. I guess I'll wait until some of this stuff is officially patched until moving forward with it.
Comment #12
kristen polFixing tag.
Comment #14
berdirReleased updates for the depending libraries, including D10 compatibility in this MR.
Comment #15
berdirMerged.