Skip to content

Refactor sheet name length into a class constant #482

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

Closed
wants to merge 1 commit into from

Conversation

cwild
Copy link
Contributor

@cwild cwild commented May 1, 2018

The worksheet names are length checked and the maximum length of the name is currently not available programmatically.

This is:

  • a bugfix
  • a new feature

Checklist:

Why this change is needed?

I was encountering problems with worksheet name length and wanted access to the worksheet name length (currently 31) without having to just hardcode it.

Provides access via Worksheet::SHEETNAME_MAXIMUM_LENGTH.

@PowerKiKi PowerKiKi closed this in 275c35c May 12, 2018
Dfred pushed a commit to Dfred/PhpSpreadsheet that referenced this pull request Nov 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant