diff --git a/docs/rector_rules_overview.md b/docs/rector_rules_overview.md
index a2f4eb39105..d137a6ab9d2 100644
--- a/docs/rector_rules_overview.md
+++ b/docs/rector_rules_overview.md
@@ -1,4 +1,4 @@
-# 379 Rules Overview
+# 381 Rules Overview
@@ -8,7 +8,7 @@
- [Carbon](#carbon) (4)
-- [CodeQuality](#codequality) (73)
+- [CodeQuality](#codequality) (75)
- [CodingStyle](#codingstyle) (28)
@@ -364,6 +364,35 @@ Refactor `call_user_func()` with arrow function to direct call
+### CallableThisArrayToAnonymousFunctionRector
+
+Convert [$this, "method"] to proper anonymous function
+
+- class: [`Rector\CodeQuality\Rector\Array_\CallableThisArrayToAnonymousFunctionRector`](../rules/CodeQuality/Rector/Array_/CallableThisArrayToAnonymousFunctionRector.php)
+
+```diff
+ class SomeClass
+ {
+ public function run()
+ {
+ $values = [1, 5, 3];
+- usort($values, [$this, 'compareSize']);
++ usort($values, function ($first, $second) {
++ return $this->compareSize($first, $second);
++ });
+
+ return $values;
+ }
+
+ private function compareSize($first, $second)
+ {
+ return $first <=> $second;
+ }
+ }
+```
+
+
+
### ChangeArrayPushToArrayAssignRector
Change `array_push()` to direct variable assign
@@ -723,6 +752,19 @@ Simplify `foreach` loops into `in_array` when possible
+### GetClassToInstanceOfRector
+
+Changes comparison with get_class to instanceof
+
+- class: [`Rector\CodeQuality\Rector\Identical\GetClassToInstanceOfRector`](../rules/CodeQuality/Rector/Identical/GetClassToInstanceOfRector.php)
+
+```diff
+-if (EventsListener::class === get_class($event->job)) { }
++if ($event->job instanceof EventsListener) { }
+```
+
+
+
### InlineArrayReturnAssignRector
Inline just in time array dim fetch assigns to direct return
diff --git a/src/Application/VersionResolver.php b/src/Application/VersionResolver.php
index 3b54b1bcb0f..1aee06ecddd 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 = '8aad07fe1585659eed842b924e0a7ddb6c43d8e2';
+ public const PACKAGE_VERSION = '26720daf6497fe2d563d88d670ee5a6af944250c';
/**
* @api
* @var string
*/
- public const RELEASE_DATE = '2024-06-24 19:16:17';
+ public const RELEASE_DATE = '2024-06-24 21:56:06';
/**
* @var int
*/