diff --git a/docs/rector_rules_overview.md b/docs/rector_rules_overview.md index 86dffc62510..05a1afe8b7c 100644 --- a/docs/rector_rules_overview.md +++ b/docs/rector_rules_overview.md @@ -1,4 +1,4 @@ -# 359 Rules Overview +# 360 Rules Overview
@@ -6,7 +6,7 @@ - [Arguments](#arguments) (4) -- [CodeQuality](#codequality) (73) +- [CodeQuality](#codequality) (74) - [CodingStyle](#codingstyle) (28) @@ -1352,6 +1352,30 @@ Change switch with only 1 check to if
+### StaticToSelfStaticMethodCallOnFinalClassRector + +Change `static::methodCall()` to `self::methodCall()` on final class + +- class: [`Rector\CodeQuality\Rector\Class_\StaticToSelfStaticMethodCallOnFinalClassRector`](../rules/CodeQuality/Rector/Class_/StaticToSelfStaticMethodCallOnFinalClassRector.php) + +```diff + final class SomeClass + { + public function d() + { +- echo static::run(); ++ echo self::run(); + } + + private static function run() + { + echo 'test'; + } + } +``` + +
+ ### StrlenZeroToIdenticalEmptyStringRector Changes strlen comparison to 0 to direct empty string compare diff --git a/src/Application/VersionResolver.php b/src/Application/VersionResolver.php index 008a0c576d0..d761521ca45 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 = 'b621800bef5b820ef28b3d90d670b3f644e0c808'; + public const PACKAGE_VERSION = '85aba8e39f1fdf533680074accd34ab2c1ad8fc4'; /** * @api * @var string */ - public const RELEASE_DATE = '2024-02-18 07:21:31'; + public const RELEASE_DATE = '2024-02-18 00:26:16'; /** * @var int */