Skip to content

Commit

Permalink
[Renaming] Handle docblock aliased rename on RenameClassRector
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Nov 24, 2024
1 parent 3c42539 commit a8c4876
Showing 1 changed file with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php

namespace Rector\Tests\Renaming\Rector\Name\RenameClassRector\Fixture;

use Rector\Tests\Renaming\Rector\Name\RenameClassRector\Source\OldClass as OldSomeClass;

/** @var OldSomeClass $var */
$var = get();

?>
-----
<?php

namespace Rector\Tests\Renaming\Rector\Name\RenameClassRector\Fixture;

use Rector\Tests\Renaming\Rector\Name\RenameClassRector\Source\OldClass as OldSomeClass;

/** @var \Rector\Tests\Renaming\Rector\Name\RenameClassRector\Source\NewClass $var */
$var = get();

?>

0 comments on commit a8c4876

Please sign in to comment.