Skip to content

Update dependency sebastian/diff to v9#638

Open
renovate[bot] wants to merge 1 commit into
1.16.xfrom
renovate/sebastian-diff-9.x
Open

Update dependency sebastian/diff to v9#638
renovate[bot] wants to merge 1 commit into
1.16.xfrom
renovate/sebastian-diff-9.x

Conversation

@renovate

@renovate renovate Bot commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
sebastian/diff ^6.0 || ^7.0 || ^8.0^6.0 || ^7.0 || ^8.0 || ^9.0 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

sebastianbergmann/diff (sebastian/diff)

v9.0.0

Compare Source

Changed
  • #​138: Use Eugene W. Myers' linear-space algorithm
Removed
  • #​157: The UnifiedDiffOutputBuilder and AbstractChunkOutputBuilder classes have been removed, use StrictUnifiedDiffOutputBuilder instead
  • The SebastianBergmann\Diff\LongestCommonSubsequenceCalculator interface, its two implementations SebastianBergmann\Diff\TimeEfficientLongestCommonSubsequenceCalculator and SebastianBergmann\Diff\MemoryEfficientLongestCommonSubsequenceCalculator, and the $lcs parameter of SebastianBergmann\Diff\Differ::diff() and SebastianBergmann\Diff\Differ::diffToArray() have been removed

v8.3.0

Compare Source

Added
  • #​136: UnifiedDiffOutputBuilder now accepts a fourth $emitNoLineEndEofWarning constructor parameter (default true) to suppress the \ No newline at end of file marker for use cases such as PHPUnit comparison failures that are not related to files
  • #​136: StrictUnifiedDiffOutputBuilder now accepts the options addLineNumbers, emitDiffLineEndWarning, emitNoLineEndEofWarning, and header
Changed
  • #​136: UnifiedDiffOutputBuilder now returns an empty string when no difference is detected (previously: returned the header)
  • #​136: UnifiedDiffOutputBuilder::writeHunk() now writes the actual \ No newline at end of file marker text (previously: wrote only a line break) and silently skips diff entries with unknown types
Deprecated
  • The SebastianBergmann\Diff\LongestCommonSubsequenceCalculator interface, its two implementations SebastianBergmann\Diff\TimeEfficientLongestCommonSubsequenceCalculator and SebastianBergmann\Diff\MemoryEfficientLongestCommonSubsequenceCalculator, and the $lcs parameter of SebastianBergmann\Diff\Differ::diff() and SebastianBergmann\Diff\Differ::diffToArray() are now deprecated; do not pass the $lcs parameter any more in preparation for the removal of these symbols and this parameter, respectively

v8.2.1

Compare Source

Changed
  • #​136: Reverted changes introduced in version 8.2.0

v8.2.0

Compare Source

Changed
  • #​136: Align UnifiedDiffOutputBuilder behavior with StrictUnifiedDiffOutputBuilder

v8.1.0

Compare Source

Added
  • #​135: Add $contextLines constructor parameter on UnifiedDiffOutputBuilder

v8.0.0

Compare Source

Removed
  • This component is no longer supported on PHP 8.3

v7.0.0

Compare Source

Removed
  • This component is no longer supported on PHP 8.2

Configuration

📅 Schedule: (in timezone UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

| datasource | package        | from  | to    |
| ---------- | -------------- | ----- | ----- |
| packagist  | sebastian/diff | 6.0.2 | 9.0.0 |
@renovate renovate Bot added the dependencies label Jun 5, 2026
@renovate

renovate Bot commented Jun 5, 2026

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: composer.lock
Command failed: composer update sebastian/diff:9.0.0 --with-dependencies --ignore-platform-req=ext-* --ignore-platform-req=lib-* --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins --minimal-changes
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires sebastian/diff ^6.0 || ^7.0 || ^8.0 || ^9.0, found sebastian/diff[6.0.0, 6.0.1, 6.0.2, 7.0.0, 8.0.0, ..., 8.3.0, 9.0.0] but these were not loaded, likely because it conflicts with another require.
  Problem 2
    - phpunit/phpunit is locked to version 11.5.55 and an update of this package was not requested.
    - phpunit/phpunit 11.5.55 requires sebastian/diff ^6.0.2 -> found sebastian/diff[6.0.2] but it conflicts with your temporary update constraint (sebastian/diff:9.0.0).
  Problem 3
    - vimeo/psalm is locked to version 6.16.1 and an update of this package was not requested.
    - vimeo/psalm 6.16.1 requires sebastian/diff ^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 -> found sebastian/diff[4.0.0, ..., 4.0.6, 5.0.0, ..., 5.1.1, 6.0.0, 6.0.1, 6.0.2, 7.0.0, 8.0.0, ..., 8.3.0] but it conflicts with your temporary update constraint (sebastian/diff:9.0.0).
  Problem 4
    - psalm/plugin-phpunit is locked to version 0.19.6 and an update of this package was not requested.
    - psalm/plugin-phpunit 0.19.6 requires vimeo/psalm dev-master || ^6.10.0 -> satisfiable by vimeo/psalm[6.16.1].
    - vimeo/psalm 6.16.1 requires sebastian/diff ^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 -> found sebastian/diff[4.0.0, ..., 4.0.6, 5.0.0, ..., 5.1.1, 6.0.0, 6.0.1, 6.0.2, 7.0.0, 8.0.0, ..., 8.3.0] but it conflicts with your temporary update constraint (sebastian/diff:9.0.0).

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

@codecov

codecov Bot commented Jun 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 64.58%. Comparing base (16fe2a1) to head (433e107).

Additional details and impacted files
@@            Coverage Diff            @@
##             1.16.x     #638   +/-   ##
=========================================
  Coverage     64.58%   64.58%           
  Complexity      301      301           
=========================================
  Files            51       51           
  Lines          1279     1279           
=========================================
  Hits            826      826           
  Misses          453      453           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants