mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-01 00:40:52 +00:00
25 lines
758 B
PHP
25 lines
758 B
PHP
<?php declare(strict_types=1);
|
|
|
|
namespace Rector\Tests\Rector\Contrib\NetteObjectToSmartTraitRector;
|
|
|
|
use Rector\Testing\PHPUnit\AbstractReconstructorTestCase;
|
|
|
|
final class Test extends AbstractReconstructorTestCase
|
|
{
|
|
public function test(): void
|
|
{
|
|
$this->doTestFileMatchesExpectedContent(
|
|
__DIR__ . '/wrong/wrong.php.inc',
|
|
__DIR__ . '/correct/correct.php.inc'
|
|
);
|
|
// $this->doTestFileMatchesExpectedContent(
|
|
// __DIR__ . '/wrong/wrong2.php.inc',
|
|
// __DIR__ . '/correct/correct2.php.inc'
|
|
// );
|
|
// $this->doTestFileMatchesExpectedContent(
|
|
// __DIR__ . '/wrong/wrong3.php.inc',
|
|
// __DIR__ . '/correct/correct3.php.inc'
|
|
// );
|
|
}
|
|
}
|