| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-05-15 | 1.5 kB | |
| sebastian_diff 8.3.0 source code.tar.gz | 2026-05-15 | 14.0 kB | |
| sebastian_diff 8.3.0 source code.zip | 2026-05-15 | 25.2 kB | |
| Totals: 3 Items | 40.8 kB | 0 | |
Added
- #136:
UnifiedDiffOutputBuildernow accepts a fourth$emitNoLineEndEofWarningconstructor parameter (defaulttrue) to suppress the\ No newline at end of filemarker for use cases such as PHPUnit comparison failures that are not related to files - #136:
StrictUnifiedDiffOutputBuildernow accepts the optionsaddLineNumbers,emitDiffLineEndWarning,emitNoLineEndEofWarning, andheader
Changed
- #136:
UnifiedDiffOutputBuildernow 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 filemarker text (previously: wrote only a line break) and silently skips diff entries with unknown types
Deprecated
- The
SebastianBergmann\Diff\LongestCommonSubsequenceCalculatorinterface, its two implementationsSebastianBergmann\Diff\TimeEfficientLongestCommonSubsequenceCalculatorandSebastianBergmann\Diff\MemoryEfficientLongestCommonSubsequenceCalculator, and the$lcsparameter ofSebastianBergmann\Diff\Differ::diff()andSebastianBergmann\Diff\Differ::diffToArray()are now deprecated; do not pass the$lcsparameter any more in preparation for the removal of these symbols and this parameter, respectively