diff --git a/docs/rector_rules_overview.md b/docs/rector_rules_overview.md index 802741d94af..0259230ed2c 100644 --- a/docs/rector_rules_overview.md +++ b/docs/rector_rules_overview.md @@ -1,4 +1,4 @@ -# 354 Rules Overview +# 355 Rules Overview
@@ -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
+### 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 + { + } +``` + +
+ ### PrivatizeFinalClassMethodRector Change protected class method to private if possible diff --git a/src/Application/VersionResolver.php b/src/Application/VersionResolver.php index f3137b8d5f1..a328ee6154f 100644 --- a/src/Application/VersionResolver.php +++ b/src/Application/VersionResolver.php @@ -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 */