-
Type: Bug Report
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.2.2-B3
-
Component/s: PHP Compatibility
-
Labels:None
-
Change Log Group:Fixed
-
Change Log Message:Fixed PHP notice, when attempting to generate chart in In-Commerce.
-
Story Points:1
-
Copy Issue Key:
-
Patch Instructions:
In the "core/units/general/libchart" folder replace all usages of PHP4-style constructors (method name matches class name) with "__construct" to avoid this warnings on PHP 7+:
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; foo has a deprecated constructor in example.php on line 3
- implemented in
-
[Diffusion] rINP16666 Fixes INP-1751 - Use PHP5-style constructor names only in LibChart library code
-
D350 INP-1751 - Use PHP5-style constructor names only in LibChart library code