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
DS-745 Support PHP 8 #2454
DS-745 Support PHP 8 #2454
Conversation
These changes are temporary-- if all works as expected, we should merge the changes on the bolt fork of basaltinc/twig-tools into master.
The changes looked good and made sense to me. Unfortunately, it looks like there is a build error. |
Image color is now hard-coded.
It's not clear to me which faker usage instances caused problems during build and which didn't. PL builds normally locally with these changes but not without them, so hopefully this is sufficient.
@remydenton This looks good to me. Agree it's a good time to remove these libraries. I noticed there are some instances of |
Thanks for the reviews guys. @danielamorse, as discussed on Slack I went ahead and removed the remaining |
Jira
https://pegadigitalit.atlassian.net/browse/DS-745
Summary
Removes dependency on two composer packages that are incompatible with PHP 8
Details
This PR removes the following two dependencies, which are incompatible with PHP 8 and abandoned:
For faker, I also had to remove it as a sub dependency of our fork of
basaltinc/twig-tools
: boltdesignsystem/twig-tools#2. We should first merge that PR, then update this PR to use the master branch before merging it.How to test
Confirm no regressions on this branch. Confirm that faker text has been replaced with hard-coded lorem ipsum. Confirm that any differences in the color of the placeholder for bolt images while they load is minor/unnoticeable.