-
-
Notifications
You must be signed in to change notification settings - Fork 351
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
88eed98
commit 6dd57a9
Showing
39 changed files
with
67 additions
and
473 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
tests/Issues/AutoImport/Fixture/auto_import_in_alias.php.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php | ||
|
||
namespace Rector\Core\Tests\Issues\AutoImport\Fixture; | ||
|
||
use stdClass as SomeObject; | ||
|
||
final class AutoImport extends \stdClass | ||
{ | ||
} | ||
|
||
?> | ||
----- | ||
<?php | ||
|
||
namespace Rector\Core\Tests\Issues\AutoImport\Fixture; | ||
|
||
use stdClass as SomeObject; | ||
|
||
final class AutoImport extends SomeObject | ||
{ | ||
} | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
...Issues/AutoImport/Fixture/skip_auto_import_in_alias_same_last_name_different_fqcn.php.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
namespace Rector\Core\Tests\Issues\AutoImport\Fixture; | ||
|
||
use PhpParser\Node\Expr\BinaryOp\Plus; | ||
use PhpParser\Node\Expr\AssignOp\Plus as AssignPlus; | ||
|
||
final class SkipAutoImportSameLastNameDifferentFqcn | ||
{ | ||
public function run(\Rector\Core\Tests\Issues\AutoImport\Source\Plus $plus) | ||
{ | ||
} | ||
|
||
public function run2(AssignPlus $plus) | ||
{ | ||
} | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Rector\Core\Tests\Issues\AutoImport\Source; | ||
|
||
class SomeClass | ||
{ | ||
} |
File renamed without changes.
28 changes: 0 additions & 28 deletions
28
tests/Issues/AutoImportBeforeDocblock/AutoImportBeforeDocblockTest.php
This file was deleted.
Oops, something went wrong.
43 changes: 0 additions & 43 deletions
43
tests/Issues/AutoImportBeforeDocblock/Fixture/no_namespace.php.inc
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
tests/Issues/AutoImportBeforeDocblock/config/configured_rule.php
This file was deleted.
Oops, something went wrong.
28 changes: 0 additions & 28 deletions
28
tests/Issues/AutoImportDocInUse/AutoImportDocInUseTest.php
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
tests/Issues/AutoImportDocInUse/Fixture/skip_auto_import_doc_in_use_namespace2.php.inc
This file was deleted.
Oops, something went wrong.
28 changes: 0 additions & 28 deletions
28
tests/Issues/AutoImportDocInUse/Fixture/skip_auto_import_doc_in_use_namespace3.php.inc
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
28 changes: 0 additions & 28 deletions
28
tests/Issues/AutoImportGroupUse/AutoImportGroupUseTest.php
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.