Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 27, 2025

Updates the requirements on phpoffice/phpspreadsheet to permit the latest version.

Release notes

Sourced from phpoffice/phpspreadsheet's releases.

5.2.0

Added

Deprecated

  • Worksheet::getHashInt serves no useful purpose. No replacement.
  • Spreadsheet::getId serves no useful purpose. No replacement.

Fixed

Changelog

Sourced from phpoffice/phpspreadsheet's changelog.

2025-10-25 - 5.2.0

Added

Deprecated

  • Worksheet::getHashInt serves no useful purpose. No replacement.
  • Spreadsheet::getId serves no useful purpose. No replacement.

Fixed

2025-09-03 - 5.1.0

Added

Fixed

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Summary by CodeRabbit

  • Chores
    • Updated a core dependency to version 5.2, incorporating potential improvements and stability enhancements for spreadsheet operations.

Updates the requirements on [phpoffice/phpspreadsheet](https://github.com/PHPOffice/PhpSpreadsheet) to permit the latest version.
- [Release notes](https://github.com/PHPOffice/PhpSpreadsheet/releases)
- [Changelog](https://github.com/PHPOffice/PhpSpreadsheet/blob/master/CHANGELOG.md)
- [Commits](PHPOffice/PhpSpreadsheet@5.1.0...5.2.0)

---
updated-dependencies:
- dependency-name: phpoffice/phpspreadsheet
  dependency-version: 5.2.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Oct 27, 2025
@coderabbitai
Copy link

coderabbitai bot commented Oct 27, 2025

Walkthrough

The phpoffice/phpspreadsheet dependency constraint in composer.json was updated from version ^5.1 to ^5.2, allowing for newer minor versions of the library to be installed while maintaining backward compatibility.

Changes

Cohort / File(s) Summary
Dependency Version Constraint Update
composer.json
Updated phpoffice/phpspreadsheet requirement from ^5.1 to ^5.2

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

  • Straightforward version constraint bump with no behavioral changes
  • Single file modification affecting only dependency declaration

Poem

🐰 A rabbit hops with glee,
PHPSpreadsheet's now set free,
From five-one to five-two we ascend,
Minor versions, now our friend! ✨

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. You can run @coderabbitai generate docstrings to improve docstring coverage.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The PR title "composer: update phpoffice/phpspreadsheet requirement from ^5.1 to ^5.2" directly and accurately describes the main change in the changeset. The title clearly identifies what was changed (the composer dependency for phpoffice/phpspreadsheet), specifies the old and new version constraints, and is concise without unnecessary noise or vague language. A teammate scanning the PR history would immediately understand the nature and scope of this dependency update.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch dependabot/composer/phpoffice/phpspreadsheet-tw-5.2

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 6ea38d1 and 3a3454d.

📒 Files selected for processing (1)
  • composer.json (1 hunks)
🔇 Additional comments (1)
composer.json (1)

7-7: Update to phpoffice/phpspreadsheet ^5.2 is safe.

Verification confirms that the deprecated methods Worksheet::getHashInt and Spreadsheet::getId from PhpSpreadsheet 5.2.0 are not used in the codebase. The version constraint update is correct and ready to proceed.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Vitexus
Copy link
Collaborator

Vitexus commented Oct 28, 2025

@coderabbitai review

@coderabbitai
Copy link

coderabbitai bot commented Oct 28, 2025

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

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

Labels

dependencies Pull requests that update a dependency file php Pull requests that update php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants