Updated Rector to commit 827992ae9784abb4a2a5f5f3aecbe52606f3c737

827992ae97 [Performance] [DeadCode] Early check no params in __construct() on RemoveUnusedPromotedPropertyRector (#5672)
This commit is contained in:
Tomas Votruba 2024-02-28 15:52:40 +00:00
parent e7800d7a95
commit 42b37a76a2
2 changed files with 5 additions and 2 deletions

View File

@ -109,6 +109,9 @@ CODE_SAMPLE
if (!$constructClassMethod instanceof ClassMethod) {
return null;
}
if ($constructClassMethod->params === []) {
return null;
}
if ($this->shouldSkipClass($node)) {
return null;
}

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = 'c57c164bae7c97212384f5120857bddfee329a7d';
public const PACKAGE_VERSION = '827992ae9784abb4a2a5f5f3aecbe52606f3c737';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2024-02-28 21:42:40';
public const RELEASE_DATE = '2024-02-28 22:50:26';
/**
* @var int
*/