Skip to content

Commit 68f2de4

Browse files
authored
Update diff dependency (#599)
* replace php-cs-fixer/diff with sebastian/diff * update code references * formatting
1 parent 0b40dfa commit 68f2de4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@
2626
"friendsofphp/php-cs-fixer": "^3.0.0",
2727
"justinrainbow/json-schema": "^5.1",
2828
"league/container": "^3.2|^4.2",
29-
"php-cs-fixer/diff": "^2.0",
3029
"php-parallel-lint/php-parallel-lint": "^1.3",
3130
"phploc/phploc": "^5.0|^6.0|^7.0",
3231
"psr/container": "^1.0|^2.0",
3332
"psr/simple-cache": "^1.0|^2.0|^3.0",
33+
"sebastian/diff": "^4.0",
3434
"slevomat/coding-standard": "^7.0.8",
3535
"squizlabs/php_codesniffer": "^3.5",
3636
"symfony/cache": "^4.4|^5.0|^6.0",

src/Domain/Differ.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
namespace NunoMaduro\PhpInsights\Domain;
66

7-
use PhpCsFixer\Diff\Differ as BaseDiffer;
8-
use PhpCsFixer\Diff\Output\StrictUnifiedDiffOutputBuilder;
97
use PhpCsFixer\Differ\DifferInterface;
8+
use SebastianBergmann\Diff\Differ as BaseDiffer;
9+
use SebastianBergmann\Diff\Output\StrictUnifiedDiffOutputBuilder;
1010

1111
final class Differ implements DifferInterface
1212
{

0 commit comments

Comments
 (0)