-
Notifications
You must be signed in to change notification settings - Fork 83
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
PHP 8.1 support #182
Comments
Here's another one;
|
@peterjaap I ran into similar problems on some client projects and therefore looked into this topic a little bit more. I created a new pull-request (#190) that contains similar changes to #183 but also solves other challenges such as making PHP 8 a minimum requirement and updating the test suite to work with the new version of PHP. |
Looks like Prismic has completely forgotten or neglected PHP. Maybe @srenault can help us out by getting Prismic to give the PHP community some love? |
@peterjaap I was in contact with some of the developers at Prismic previously. I'll try to address this and see if we can get this repository back to its old glory. Maybe even improve some of the formatting and code quality |
Any updates on this? Really praying for 8.1 support soon 😥 |
@pTinosq we've given up on buy-in from Prismic. They're a JS crowd, they don't like PHP. You can use our fork instead https://github.com/elgentos/prismicio-php-kit |
Oh wow that's really annoying. Should I use a specific fork or is the elegentos version sufficient? |
@pTinosq the elgentos one is most likely sufficient if you're looking PHP 8.1 compat |
@pTinosq They are currently taking a closer look at this PR: #190 If I followed along on Twitter correctly @angeloashmore was recently visiting the office and is now on holiday. Let's wait and see what comes from the PR. I trust, that they will give us an update shortly. As they mentioned in the PR of mine they are simply focussing more on JS but still care about PHP:
The PR fully supports PHP 8 and passes all CI Checks implemented on this repository as well. |
Ah that's good. I'll keep my notifications on for the PR. Hopefully Prismic can pull through 🙏🙏 |
@peterjaap @pTinosq I'm happy to tell you, that this issue was fixed in feat!: support PHP 8 #190 To make use of this change please upgrade to Version 5.2.0 I will proceed to close this issue. |
@c0nst4ntin thanks!! 🙌 |
@c0nst4ntin This is the news I needed to wake up to. Fantastic stuff 🎉🎉 |
On PHP 8.1, I'm getting this notice;
Afaik there's nothing stopping us from changing the constructor to;
The text was updated successfully, but these errors were encountered: