-
Notifications
You must be signed in to change notification settings - Fork 6
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
Not working in PHP8.3.8 #19
Comments
Hm interesting. I will try getting that set up so I can recreate the issue myself. Edit: I upgraded to latest php version which seems to be 8.3.7? https://www.php.net/downloads.php#v8.3.7 |
Yeah - I assume the git action we use (shivammathur/setup-php@v2) is accidentally pulling in 8.3.8 RC1 (I've tested it locally with 8.3.8 RC1) to prove this. So this is possibly an issue that will resolve itself but it might be something that needs addressing 🤷 |
Sounds like it. But yeah it's weird that it uses RC instead of stable :) I will conciser installing the RC using docker to try and replicate it. |
I think this might be related: php/php-src#14480 |
Thanks @sinnbeck - I hoped it was a bug rather than intended behaviour. Hopefully that means we can all just sit on our hands and the problem will correct itself. We've forked a patched version for now to keep our CI working. |
So it seems they released it with the bug :/ I will start writing a fix for the package. Setting the method to public should fix it. |
Patch is live. https://github.com/sinnbeck/laravel-dom-assertions/releases/tag/v1.5.1 If this works for you I will close this issue :) |
Yep - looking good here. Thank you very much 🎉 |
Excellent to hear! Sorry I couldnt get a fix out sooner but I assumed that the bug would be fixed before release :) I will look into whether I should roll back the change in 8.3.9, but most like I wont |
Tests fail with the following when using PHP8.3.8
Adding
to BaseAssert made it work, although what this indicates I don't know - perhaps that the magic __call method is being called rather than the methods in the traits?
The text was updated successfully, but these errors were encountered: