-
Notifications
You must be signed in to change notification settings - Fork 106
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.4 Support #175
PHP 8.4 Support #175
Conversation
@paragonie-security please have a look at the failing test. I'm not certain on that one. Everything else should be good now. PHP rolled back the |
Looks weird to me. I added a test to make sure if it happens again, we can see what's happening. If you'd like, pull in https://github.com/paragonie/paseto/tree/key-length-check (temporary branch) and it should throw whenever this condition comes up |
@paragonie-security could this be merged maybe? |
This PR includes some updates for deprecations, PHPUnit and resolved Psalm errors, as some typing and hinting has changed in PHP 8.4.
Psalm 8.4 syntax support is only supported on
dev-master
. I don't see any issues here as this is only a dev dependency.Unfortunately, at the moment, there is a newly introduced bug in PHP that's resulting in specific
DataProvider
tests failing. That should be resolved in the next minor release. See php/php-src#16870 for more details. After this is resolved, tests should be passing.