-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
setCellValueByColumnAndRow deprecated?? #3930
Comments
It was deprecated long ago, and removed with PhpSpreadsheet 2.0.0. You can replace: setCellValueByColumnAndRow($column, $row, $value); with setCellValue([$column, $row], $value); |
It would've been nice if the removal notice was included in the 2.0.0 release notes instead of a subtle reference to a huge commit of deprecated things: 816b91d |
The deprecations are all listed in CHANGELOG.md when they first happen. In the case of this change, that would be the release notes for 1.23.0 from April 2022. You can search for "deprecated" in that file to make sure you aren't adversely affected by something else. I agree that this could have been made clearer in the 2.0.0 release notes; we will try to bear this in mind for future releases. |
Thanks. I found another deprecation (FORMAT_DATE_YYYYMMDD2) in a later 1.* release too,
|
Hello fellows,
I am trying to use the library on one of my projects and when i tried to use setCellValueByColumnAndRow it says the following:
Fatal error: Uncaught Error: Call to undefined method PhpOffice\PhpSpreadsheet\Worksheet\Worksheet::setCellValueByColumnAndRow() in xxxxx
Can anyone help ??I tried to search the issues with the method name but no luck there.
The text was updated successfully, but these errors were encountered: