Skip to content
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 deprecation warnings #34

Closed
diggersworld opened this issue Mar 23, 2022 · 4 comments
Closed

PHP 8.1 deprecation warnings #34

diggersworld opened this issue Mar 23, 2022 · 4 comments

Comments

@diggersworld
Copy link

Hello, when using this package I'm seeing the following deprecation warning:

8192: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in vendor/phpseclib/mcrypt_compat/lib/mcrypt.php line 650

I've seen that similar issues have been resolved on the underlying library (referenced here) and was just wondering if/when they would be resolved for this additional package.

Thanks.

@terrafrost
Copy link
Member

e38b76f should fix this.

Thanks!

@diggersworld
Copy link
Author

Awesome thanks, I can confirm that's working for me. I did however have to pull 2.0.x-dev, do you need to make a release?

@terrafrost
Copy link
Member

I'll try to do a release for this and phpseclib in the next few days. Kinda silly to do a release for mcrypt_compat but not do one for phpseclib for the exact same issue!

@terrafrost
Copy link
Member

I released a new version.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants