-
Notifications
You must be signed in to change notification settings - Fork 68
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
Replace dynamic properties with declared (deprecation) #405
Conversation
* Add PHP 8.2 to testing matrix
Could you try fix the error on php 8.2 ? |
I've fixed some of the errors, but I don't understand why there's still a deprecation error around dynamic properties - those should be covered by the |
Codecov Report
@@ Coverage Diff @@
## dev #405 +/- ##
=======================================
Coverage 97.76% 97.76%
=======================================
Files 72 72
Lines 2638 2638
=======================================
Hits 2579 2579
Misses 59 59
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
It seems you can use #[AllowDynamicProperties]
class SomeClass {
} for that. |
So, the code dynamic generation should include |
The expectation output seems needs update based based on addition |
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.
Looks good
The deprecattion notice may need update but I guess that can be next iteration :) https://github.com/kahlan/kahlan/actions/runs/3678754621/jobs/6228226258#step:6:60
|
Thank you @yitznewton , you can use |
I released kahlan 5.2.2 for it https://github.com/kahlan/kahlan/releases/tag/5.2.2 ;) |
For #404