-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Add PHP 8.2 support #44
Conversation
Signed-off-by: Stéphane Demonchaux <[email protected]>
@@ -479,7 +479,7 @@ protected function _basicAuth($header) | |||
|
|||
// Decode the Authorization header | |||
$auth = substr($header, strlen('Basic ')); | |||
if ($auth === false) { | |||
if ($auth === '') { |
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.
this change was highlight by psalm
see change log for substr
8.0.0 | The function returns an empty string where it previously returned false.
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.
@Ocramius what do you think ?
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.
Was a test failing 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.
Yeah, we should make sure this path is hit with a test 🤔
@fezfez this targets We need a |
closing in favor of #45 |
Part of #46 |
No description provided.