Skip to content

Commit

Permalink
Fixes typo in FinalizeTestCaseClassRector.php
Browse files Browse the repository at this point in the history
  • Loading branch information
DerpgonCz committed Apr 30, 2024
1 parent cc4b63f commit 88a4b3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions build/target-repository/docs/rector_rules_overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -5459,10 +5459,10 @@ PHPUnit test case will be finalized
- class: [`Rector\Privatization\Rector\Class_\FinalizeTestCaseClassRector`](../rules/Privatization/Rector/Class_/FinalizeTestCaseClassRector.php)

```diff
-use PHPUnit\Framework\TestCase;
+final use PHPUnit\Framework\TestCase;
use PHPUnit\Framework\TestCase;

class SomeClass extends TestCase
-class SomeClass extends TestCase
+final class SomeClass extends TestCase
{
}
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ class SomeClass extends TestCase

,
<<<'CODE_SAMPLE'
final use PHPUnit\Framework\TestCase;
use PHPUnit\Framework\TestCase;
class SomeClass extends TestCase
final class SomeClass extends TestCase
{
}
CODE_SAMPLE
Expand Down

0 comments on commit 88a4b3a

Please sign in to comment.