Skip to content

Commit

Permalink
[automated] Re-Generate Nodes/Rectors Documentation (#5549)
Browse files Browse the repository at this point in the history
Co-authored-by: TomasVotruba <TomasVotruba@users.noreply.github.com>
  • Loading branch information
TomasVotruba and TomasVotruba committed Feb 4, 2024
1 parent 715103c commit 0242b2a
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions build/target-repository/docs/rector_rules_overview.md
@@ -1,4 +1,4 @@
# 354 Rules Overview
# 355 Rules Overview

<br>

Expand Down Expand Up @@ -46,7 +46,7 @@

- [Php83](#php83) (3)

- [Privatization](#privatization) (4)
- [Privatization](#privatization) (5)

- [Removing](#removing) (5)

Expand Down Expand Up @@ -5325,6 +5325,23 @@ Finalize every class that has no children

<br>

### FinalizeTestCaseClassRector

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;

class SomeClass extends TestCase
{
}
```

<br>

### PrivatizeFinalClassMethodRector

Change protected class method to private if possible
Expand Down

0 comments on commit 0242b2a

Please sign in to comment.