Updated Rector to commit 85aba8e39f1fdf533680074accd34ab2c1ad8fc4

85aba8e39f [automated] Apply Coding Standard (#5632)
This commit is contained in:
Tomas Votruba 2024-02-18 00:28:38 +00:00
parent 30b36b6a9d
commit abeac2bdf6
2 changed files with 28 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# 359 Rules Overview
# 360 Rules Overview
<br>
@ -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
<br>
### 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';
}
}
```
<br>
### StrlenZeroToIdenticalEmptyStringRector
Changes strlen comparison to 0 to direct empty string compare

View File

@ -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
*/