mirror of
https://github.com/rectorphp/rector.git
synced 2025-04-15 21:12:34 +02:00
Updated Rector to commit 0242b2a9231beaff11fd94ec25224354a7e75cf9
0242b2a923
[automated] Re-Generate Nodes/Rectors Documentation (#5549)
This commit is contained in:
parent
59f9eb1491
commit
c3f1a7f362
@ -1,4 +1,4 @@
|
||||
# 354 Rules Overview
|
||||
# 355 Rules Overview
|
||||
|
||||
<br>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
- [Php83](#php83) (3)
|
||||
|
||||
- [Privatization](#privatization) (4)
|
||||
- [Privatization](#privatization) (5)
|
||||
|
||||
- [Removing](#removing) (5)
|
||||
|
||||
@ -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
|
||||
|
@ -19,12 +19,12 @@ final class VersionResolver
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = '715103cdf1ecad0b4668f3b9e38582b3e5b55fbe';
|
||||
public const PACKAGE_VERSION = '0242b2a9231beaff11fd94ec25224354a7e75cf9';
|
||||
/**
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2024-02-03 23:47:53';
|
||||
public const RELEASE_DATE = '2024-02-04 00:26:26';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user