forked from rectorphp/rector
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PHP 7.3] Register existing ContinueToBreakInSwitchRector in PHP 5.2 …
…set to PHP 7.3 config set (rectorphp#5820) Co-authored-by: kaizen-ci <[email protected]>
- Loading branch information
1 parent
2e3a9e7
commit 28e1e1f
Showing
7 changed files
with
43 additions
and
52 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
24 changes: 24 additions & 0 deletions
24
...n/tests/Rector/ClassMethod/AddArrayReturnDocTypeRector/Fixture/skip_some_iterator.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,24 @@ | ||
<?php | ||
|
||
namespace Rector\TypeDeclaration\Tests\Rector\ClassMethod\AddArrayReturnDocTypeRector\Fixture; | ||
|
||
use Iterator; | ||
use Symplify\SmartFileSystem\SmartFileInfo; | ||
|
||
final class SkipSomeIterator | ||
{ | ||
public function someMethod(): Iterator | ||
{ | ||
return self::someIterator(); | ||
} | ||
|
||
/** | ||
* @return \Iterator<array<int, SmartFileInfo>> | ||
*/ | ||
public static function someIterator(): Iterator | ||
{ | ||
yield [100 => new SmartFileInfo('...')]; | ||
} | ||
} | ||
|
||
?> |
52 changes: 0 additions & 52 deletions
52
...ration/tests/Rector/ClassMethod/AddArrayReturnDocTypeRector/Fixture/some_iterator.php.inc
This file was deleted.
Oops, something went wrong.