Skip to content

Commit

Permalink
Merge pull request #986 from fredden/feature/json-normalizer2
Browse files Browse the repository at this point in the history
Update class name `Formatter` -> `DefaultFormatter`
  • Loading branch information
localheinz authored Dec 1, 2022
2 parents eee924c + 9420d1a commit d08ef52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phar/composer-normalize.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
$command = new Normalize\Command\NormalizeCommand(
new Factory(),
new Normalizer\Vendor\Composer\ComposerJsonNormalizer(__DIR__ . '/../resource/schema.json'),
new Normalizer\Format\Formatter(new Printer\Printer()),
new Normalizer\Format\DefaultFormatter(new Printer\Printer()),
new Diff\Differ(new Diff\Output\StrictUnifiedDiffOutputBuilder([
'fromFile' => 'original',
'toFile' => 'normalized',
Expand Down

0 comments on commit d08ef52

Please sign in to comment.