Closed Jan-E closed 3 years ago
https://github.com/Jan-E/php_excel/commit/4a99fb6a0341ea75422a10833087479a7115ac2e removes the warning and fixes the Format clone and Font clone tests: https://github.com/iliaal/php_excel/blob/master/tests/018.phpt https://github.com/iliaal/php_excel/blob/master/tests/019.phpt
@cmb69 Fixed. thanks
This warning is generated through levels of macro's from this line: https://github.com/Jan-E/php_excel/blob/da2fb8218aee5b4100329e77ba95e6357adeb858/excel.c#L6910
The REGISTER_EXCEL_CLASS macro is here: https://github.com/Jan-E/php_excel/blob/da2fb8218aee5b4100329e77ba95e6357adeb858/excel.c#L75
And excel_format_object_clone is defined here: https://github.com/Jan-E/php_excel/blob/da2fb8218aee5b4100329e77ba95e6357adeb858/excel.c#L385
See https://github.com/iliaal/php_excel/issues/264#issuecomment-728876611 for a hint to the solution: