Skip to content

Fix call to setRowStyles(), removed in FastExcelWriter 6.9 - #52

Open
craiglondon wants to merge 1 commit into
Ticketpark:masterfrom
craiglondon:issue-51
Open

craiglondon wants to merge 1 commit into
Ticketpark:masterfrom
craiglondon:issue-51

Conversation

@craiglondon

Copy link
Copy Markdown

Sheet::setRowStyles() was deprecated in avadim/fast-excel-writer 6.1 and removed in 6.9, so applying row styles caused a fatal error with newer 6.x releases. Use its direct replacement setRowDataStyle() (which setRowStyles() internally delegated to), falling back to setRowStyles() on versions older than 6.1 that are still allowed by the composer constraint.

Adds a test covering row styles, which no previous test exercised.

Fixes #51

Sheet::setRowStyles() was deprecated in avadim/fast-excel-writer 6.1
and removed in 6.9, so applying row styles caused a fatal error with
newer 6.x releases. Use its direct replacement setRowDataStyle()
(which setRowStyles() internally delegated to), falling back to
setRowStyles() on versions older than 6.1 that are still allowed by
the composer constraint.

Adds a test covering row styles, which no previous test exercised.

Fixes Ticketpark#51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Call to undefined method avadim\FastExcelWriter\Sheet::setRowStyles()

1 participant