Skip to content

Require xsd-reader 0.4.12 - #80

Merged
veewee merged 1 commit into
mainfrom
xsd-reader-0.4.12
Nov 20, 2026
Merged

veewee merged 1 commit into
mainfrom
xsd-reader-0.4.12

Conversation

@veewee

@veewee veewee commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

goetas-webservices/xsd-reader#96 is released in 0.4.12, so xsd-reader no longer calls spl_object_hash(), which PHP 8.6 deprecates. Raising the minimum makes sure PHP 8.6 users get the fixed version, and the compatibility tests no longer need the error handler that swallowed its deprecation.

Summary by CodeRabbit

  • Chores
    • Updated the schema-processing tooling and adjusted compatibility checks. These maintenance changes do not alter user-facing functionality. They help keep the project’s tooling and automated checks aligned with the current supported environment. No new features or behavior changes are included in this update.

xsd-reader 0.4.12 no longer calls spl_object_hash(), so the compatibility tests no longer need to swallow its deprecation, and PHP 8.6 users get the fixed version.
@coderabbitai

coderabbitai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The xsd-reader dependency constraint changed from ^0.4.11 to ^0.4.12. The PHP compatibility test no longer suppresses E_DEPRECATED notices from that dependency.

Changes: Dependency and compatibility test

Layer / File(s) Summary
Update dependency and compatibility test
composer.json, tests/PhpCompatibility/test_schema.inc
The xsd-reader constraint changed to ^0.4.12. The test no longer installs an error handler that filters deprecation notices from xsd-reader.

Estimated code review effort: 2 (Simple) | ~5 minutes

Change: Other

Possibly related PRs

  • php-soap/wsdl-reader#79: Its reported PHP 8.6 test results depend on the xsd-reader fix included in the version required by this change.

Suggested reviewers: arnedesmedt

Merge Risk: Minimal · up to 86744

This change raises the minimum xsd-reader version so PHP 8.6 users get the upstream deprecation fix, and it removes the test workaround. No actionable merge risk remains.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "Require xsd-reader 0.4.12" names the main change: the composer.json constraint for goetas-webservices/xsd-reader moves from ^0.4.11 to ^0.4.12. The PR objectives confirm this is the core pu…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "Require xsd-reader 0.4.12" names the main change: the composer.json constraint for goetas-webservices/xsd-reader moves from ^0.4.11 to ^0.4.12. The PR objectives confirm this is the core purpose. The title does not mention the removal of the compatibility-test deprecation handler, but that is a secondary change and the title does not need to cover every detail.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a333fcae-04a0-439f-9128-dbe9a4e25e10
Commits

Reviewing files that changed from the base of the PR and between c8a0933 and 8674440.

Files selected for processing: 2

  • composer.json
  • tests/PhpCompatibility/test_schema.inc
Files with no reviewable changes: 1

  • tests/PhpCompatibility/test_schema.inc

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@veewee
veewee merged commit 9d1a570 into main Nov 20, 2026
31 checks passed
@veewee
veewee deleted the xsd-reader-0.4.12 branch November 20, 2026 20:21
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.

1 participant