-
Notifications
You must be signed in to change notification settings - Fork 47
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
Update Pie.php #88
Update Pie.php #88
Conversation
Fix PHP 8.2 deprecation: Creation of dynamic property `CpChart\\Chart\\Pie::$Shadow` is deprecated. This happens because the property Shadow belongs to `$this->pChartObject` and not to `$this`.
Hello! Thank you. |
No worries. I change it as soon I get to my computer. |
I had search the hole project and only see this issue on |
Please, hold on, after run codecept on PHP 8.2 I see a similar issue here:
|
Related to previous commit ca9a196 The variables are set up on
A better approach would be to change the signature of |
Hello, As for your proposed changes to approach, well, they will have to wait. I need to cover the library with static analysis and some tests that verify image output. Without that I have no certainty how any refactors will impact the produced charts. However, thank you for your contribution :) |
Fix PHP 8.2 deprecation: Creation of dynamic property
CpChart\\Chart\\Pie::$Shadow
is deprecated. This happens because the property Shadow belongs to$this->pChartObject
and not to$this
.