Skip to content

Releases: jfcherng/php-diff

6.11.3

28 Feb 16:24
cac1690
Compare
Choose a tag to compare
  • refactor: utilize PHP 7.4 typed properties (only for final classes since it's a BC breaking change)
  • refactor: utilize PHP 7.4 array spread operator
  • refactor: utilize PHP 7.4 arrow funciton
  • refactor: utilize PHP 7.4 null coalescing assignment
  • chore: update deps

6.11.2

21 Feb 05:58
c376c2c
Compare
Choose a tag to compare
  • fix: wrong execution result under php alpine image (#51)

6.11.1

28 Dec 11:05
89f99f7
Compare
Choose a tag to compare
  • chore: add ukr (Ukraine) translation

6.11.0

25 Nov 02:17
595a451
Compare
Choose a tag to compare
  • chore: bump min PHP requirement to 7.4

  • refactor: use PHP new features

6.10.0

19 Mar 09:23
808f042
Compare
Choose a tag to compare
  • chore: add liip/rmt as a dev dependency

  • chore: allow phan/phan ^4

  • feat: add methods to get diff statistics

    $differ->getStatistics();
    DiffHelper::getStatistics();

    both return something like

    [
      'inserted' => 0,
      'deleted' => 0,
      'unmodified' => 0,
      'changedRatio' => 0.0,
    ]
  • fix: deprecated method in .php_cs

6.9.0

07 Dec 23:57
af34294
Compare
Choose a tag to compare
  • feat: add option: showHeader (#42)

6.8.0

29 Oct 10:53
34edca1
Compare
Choose a tag to compare
  • feat: add renderer: JsonText (#40)

    The previous Json renderer has been deprecated. You may use JsonHtml instead, for a more explicit name with a comparison to JsonText.

6.7.7

23 Aug 10:57
2d390e8
Compare
Choose a tag to compare
  • fix: a regression about the last diff block (#36)

6.7.6

22 Aug 12:58
2a8ad50
Compare
Choose a tag to compare
  • fix: ignoreWhitespaces doesn't produce the same result with GNU diff's (#35)

6.7.5

10 Aug 15:41
125ad65
Compare
Choose a tag to compare
  • fix: \r shouldn't be visualized like a newline in Combined renderer (#34)