[1.x] Dynamic properties handling#563
[1.x] Dynamic properties handling#563nunomaduro merged 1 commit intopestphp:1.xfrom fabio-ivona:1.x-dynamic-properties
Conversation
|
Can't you solve this issue using the |
just wanted to fix the issue in a definitive way, but I can do that, np |
|
@nunomaduro done |
|
Can you port that to pest v2? |
|
@fabio-ivona @nunomaduro this is not really a fix 😬 You are just silencing the deprecation until PHP 9 🙈 The underlying test case should probably have a That way, any reference to the property inside the test case that doesn't exist on the EDIT: Just noticed this: #561 and it seems to be the good direction for handling this. |
|
As it is a deprecation, it is fine to silence it, we'll plan a clean fix for php9 Later we implement a fix, the more info we'll have about future development/fixes on pest core. This will allow to better integrate the chosen solution |
Implements dynamic properties handling in order to avoid deprecation in PHP 8.2
fix #555
a PR for v2 will follow this one