mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-19 14:27:14 +01:00
remove unused file
This commit is contained in:
parent
31047ba359
commit
c50621c4f9
@ -1,15 +0,0 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Rector\Autodiscovery\Tests\Rector\FileSystem\MoveEntitiesToEntityDirectoryRector\Source\Entity;
|
||||
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
|
||||
/**
|
||||
* @ORM\Entity
|
||||
*/
|
||||
final class RandomEntity
|
||||
{
|
||||
|
||||
}
|
@ -13,12 +13,12 @@ final class MoveEntitiesToEntityDirectoryRectorTest extends AbstractFileSystemRe
|
||||
/**
|
||||
* @dataProvider provideData()
|
||||
*/
|
||||
public function test(string $originalFile, string $expectedFileLocation, string $expectedFileContent): void
|
||||
public function test(string $originalFile, string $expectedFileLocation): void
|
||||
{
|
||||
$this->doTestFile($originalFile);
|
||||
|
||||
$this->assertFileExists($expectedFileLocation);
|
||||
$this->assertFileEquals($expectedFileContent, $expectedFileLocation);
|
||||
$this->assertFileEquals($expectedFileLocation, $expectedFileLocation);
|
||||
}
|
||||
|
||||
public function provideData(): Iterator
|
||||
@ -26,7 +26,6 @@ final class MoveEntitiesToEntityDirectoryRectorTest extends AbstractFileSystemRe
|
||||
yield [
|
||||
__DIR__ . '/Source/Controller/RandomEntity.php',
|
||||
__DIR__ . '/Source/Entity/Fixture/RandomEntity.php',
|
||||
__DIR__ . '/Expected/ExpectedRandomEntity.php',
|
||||
];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user