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.0 support #20
PHP 8.0 support #20
Conversation
a87f43c
to
bba27d5
Compare
cb62904
to
c05938d
Compare
ddab630
to
167c8d5
Compare
@boesing okay all green |
@boesing then I think it's ready for review |
8b81c87
to
70c29f3
Compare
src/Encrypt/Openssl.php
Outdated
* Free key resource if necessary. | ||
* PHP 8 automatically frees the key instance and deprecates the function | ||
*/ | ||
private function freeKeyResource($keys): void |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The DocBlock for $keys
is missing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
true 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add proper native typehint for keys
here aswell as phpdoc to declare what keys are (I expect array<int,string>
here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Huge improvements here! Thanks!
I've added some change requests. If applied, we are ready to merge 👍
src/Encrypt/Openssl.php
Outdated
* Free key resource if necessary. | ||
* PHP 8 automatically frees the key instance and deprecates the function | ||
*/ | ||
private function freeKeyResource($keys): void |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add proper native typehint for keys
here aswell as phpdoc to declare what keys are (I expect array<int,string>
here.
70c29f3
to
32b8d95
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Trying to create a release next week. |
32b8d95
to
932a7ed
Compare
Signed-off-by: Vytautas Stankus <svycka@gmail.com>
932a7ed
to
8a0226c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
Thanks, @svycka! |
closes #19