Skip to content

Commit

Permalink
test: replace usage of php-cs-fixer/diff by sebastian/diff
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroTroller committed Jan 5, 2023
1 parent b291e3e commit 6dd15c6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/doc
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<?php

use PedroTroller\CS\Fixer\AbstractFixer;
use PhpCsFixer\Diff\Differ;
use PhpCsFixer\Fixer\ConfigurableFixerInterface;
use PhpCsFixer\FixerConfiguration\FixerOptionInterface;
use PhpCsFixer\FixerDefinition\CodeSample;
use PhpCsFixer\Tokenizer\Tokens;
use SebastianBergmann\Diff\Differ;
use Twig\Environment;
use Twig\Loader\FilesystemLoader;

Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
"license": "MIT",
"require": {
"php": "^7.4 || ^8.0",
"friendsofphp/php-cs-fixer": "^3.13"
"friendsofphp/php-cs-fixer": "^3.13.1"
},
"require-dev": {
"phpspec/phpspec": "^7.0",
"sebastian/diff": "^4.0",
"twig/twig": "^3.3",
"webmozart/assert": "^1.10"
},
Expand Down
2 changes: 1 addition & 1 deletion tests/Runner.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

use Exception;
use PedroTroller\CS\Fixer\TokensAnalyzer;
use PhpCsFixer\Diff\Differ;
use PhpCsFixer\Tokenizer\Tokens;
use SebastianBergmann\Diff\Differ;
use SplFileInfo;
use Symfony\Component\Finder\Finder;

Expand Down

0 comments on commit 6dd15c6

Please sign in to comment.