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

Fix creation of dynamic property #1105

Merged
merged 1 commit into from
Jan 16, 2023
Merged

Fix creation of dynamic property #1105

merged 1 commit into from
Jan 16, 2023

Conversation

SpartakusMd
Copy link
Contributor

@SpartakusMd SpartakusMd commented Dec 30, 2022

Fixes the deprecation for PHP 8.2:

PHP Deprecated:  Creation of dynamic property Lexik\Bundle\JWTAuthenticationBundle\Event\JWTNotFoundEvent::$request is deprecated in vendor/lexik/jwt-authentication-bundle/Event/JWTNotFoundEvent.php on line 20

In JWTNotFoundEvent::__construct() the property request is written but in parent class it is private.

@ktherage
Copy link

Sorry for disturbing you, I wonder if there's a release planned soon for that bug fix ?

@chalasr
Copy link
Collaborator

chalasr commented Jan 16, 2023

Thank you @SpartakusMd.

@chalasr chalasr merged commit f172451 into lexik:2.x Jan 16, 2023
@ktherage
Copy link

Thank you @chalasr 😄

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

Successfully merging this pull request may close these issues.

None yet

3 participants