From c3f1a7f362438b1c5f787eb1629b12362feb6889 Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Sun, 4 Feb 2024 00:28:33 +0000 Subject: [PATCH] Updated Rector to commit 0242b2a9231beaff11fd94ec25224354a7e75cf9 https://github.com/rectorphp/rector-src/commit/0242b2a9231beaff11fd94ec25224354a7e75cf9 [automated] Re-Generate Nodes/Rectors Documentation (#5549) --- docs/rector_rules_overview.md | 21 +++++++++++++++++++-- src/Application/VersionResolver.php | 4 ++-- 2 files changed, 21 insertions(+), 4 deletions(-) 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 */