Skip to content

Provide object ID helper for older PHP versions#4

Open
NioFBI wants to merge 1 commit intomasterfrom
codex/fix-undefined-function-error-in-phpspreadsheet
Open

Provide object ID helper for older PHP versions#4
NioFBI wants to merge 1 commit intomasterfrom
codex/fix-undefined-function-error-in-phpspreadsheet

Conversation

@NioFBI
Copy link
Copy Markdown
Owner

@NioFBI NioFBI commented Aug 20, 2025

Summary

  • use helper to generate unique IDs when spl_object_id isn't available
  • update Worksheet and Style to rely on the helper

Testing

  • php -l src/PhpSpreadsheet/Shared/ObjectIdHelper.php src/PhpSpreadsheet/Worksheet/Worksheet.php src/PhpSpreadsheet/Style/Style.php
  • phpunit (fails: Class "PhpOffice\PhpSpreadsheetTests\Calculation\Functions\Database\SetupTeardownDatabases" not found)

https://chatgpt.com/codex/tasks/task_b_68a658dae9a88325b8ca3d2105868a24

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant