Skip to content

Commit

Permalink
Remove self-serving FileDiffFileDecorator interface (#2835)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Aug 24, 2022
1 parent 21c4d37 commit 84691d5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
3 changes: 1 addition & 2 deletions src/Application/FileDecorator/FileDiffFileDecorator.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@
namespace Rector\Core\Application\FileDecorator;

use Rector\ChangesReporting\ValueObjectFactory\FileDiffFactory;
use Rector\Core\Contract\Application\FileDecoratorInterface;
use Rector\Core\ValueObject\Application\File;

final class FileDiffFileDecorator implements FileDecoratorInterface
final class FileDiffFileDecorator
{
public function __construct(
private readonly FileDiffFactory $fileDiffFactory
Expand Down
15 changes: 0 additions & 15 deletions src/Contract/Application/FileDecoratorInterface.php

This file was deleted.

0 comments on commit 84691d5

Please sign in to comment.