-
-
Notifications
You must be signed in to change notification settings - Fork 333
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TypeDeclaration] Removing NodeRepository from ParamTypeDeclarationRe…
…ctor (#597) Co-authored-by: GitHub Action <action@github.com>
- Loading branch information
1 parent
3eb5036
commit ad15c5f
Showing
21 changed files
with
155 additions
and
281 deletions.
There are no files selected for viewing
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
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
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
44 changes: 0 additions & 44 deletions
44
...FunctionLike/ParamTypeDeclarationRector/Fixture/local_scope_with_parent_interface.php.inc
This file was deleted.
Oops, something went wrong.
25 changes: 25 additions & 0 deletions
25
...ation/Rector/FunctionLike/ParamTypeDeclarationRector/Fixture/skip_trait_interface.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,25 @@ | ||
<?php | ||
|
||
namespace Rector\Tests\TypeDeclaration\Rector\FunctionLike\ParamTypeDeclarationRector\Fixture; | ||
|
||
trait SkipTraitWithInterfaceImplementation | ||
{ | ||
public function getCount($items) | ||
{ | ||
return 5; | ||
} | ||
} | ||
|
||
interface SomeInterface | ||
{ | ||
/** | ||
* @param array $items | ||
* @return int | ||
*/ | ||
public function getCount($items); | ||
} | ||
|
||
class SomeClassWithInterfaceAndTrait implements SomeInterface | ||
{ | ||
use SkipTraitWithInterfaceImplementation; | ||
} |
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
54 changes: 0 additions & 54 deletions
54
...eclaration/Rector/FunctionLike/ParamTypeDeclarationRector/Fixture/trait_interface.php.inc
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.