Drop gecko-diff-output-builder in favor of diff v3 for PHPUnit 7

This commit is contained in:
Gabriel Caruso 2018-02-05 11:59:07 -02:00
parent ce7af98011
commit 709e08dea5
2 changed files with 4 additions and 8 deletions

View File

@ -8,13 +8,13 @@
],
"require": {
"php": "^7.1",
"gecko-packages/gecko-diff-output-builder": "^1.0",
"nette/robot-loader": "^3.0",
"nette/utils": "^2.4",
"nikic/php-parser": "4.0.x-dev",
"phpdocumentor/reflection-docblock": "^4.1",
"phpdocumentor/type-resolver": "^0.4",
"rector/better-reflection": "^3.0.6",
"sebastian/diff": "^3.0",
"symfony/console": "^4.0",
"symfony/dependency-injection": "^4.0",
"symfony/finder": "^4.0",
@ -28,7 +28,7 @@
"nette/di": "^2.4",
"nette/forms": "^2.4",
"phpstan/phpstan-shim": "^0.9",
"phpunit/phpunit": "^6.5",
"phpunit/phpunit": "^7.0",
"symplify/coding-standard": "^3.1",
"slam/php-cs-fixer-extensions": "^1.10",
"symfony/expression-language": "^4.0",

View File

@ -5,12 +5,8 @@ services:
Rector\ConsoleDiffer\:
resource: ..
GeckoPackages\DiffOutputBuilder\UnifiedDiffOutputBuilder:
arguments:
$options:
'fromFile': 'Original'
'toFile': 'New'
SebastianBergmann\Diff\Output\UnifiedDiffOutputBuilder:
SebastianBergmann\Diff\Differ:
arguments:
- '@GeckoPackages\DiffOutputBuilder\UnifiedDiffOutputBuilder'
- '@SebastianBergmann\Diff\Output\UnifiedDiffOutputBuilder'