-
-
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.
[DeadCode] Skip RemoveUnreachableStatementRector on use of $this->mar…
…kTestIncomplete() (#612)
- Loading branch information
1 parent
ed08fd3
commit b64b1b2
Showing
2 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
...or/Stmt/RemoveUnreachableStatementRector/Fixture/skip_marked_incomplete_test_file.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,18 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Rector\Tests\DeadCode\Rector\Stmt\RemoveUnreachableStatementRector\Fixture; | ||
|
||
use PHPUnit\Framework\TestCase; | ||
|
||
final class SkipMarkedIncompleteTestFile extends TestCase | ||
{ | ||
public function testMultipleArguments(): void | ||
{ | ||
$this->markTestIncomplete('need to be completed'); | ||
|
||
$db = db_connect(); | ||
$db->run(); | ||
} | ||
} |
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