mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-05 02:40:50 +00:00
Updated Rector to commit 827992ae9784abb4a2a5f5f3aecbe52606f3c737
827992ae97
[Performance] [DeadCode] Early check no params in __construct() on RemoveUnusedPromotedPropertyRector (#5672)
This commit is contained in:
parent
e7800d7a95
commit
42b37a76a2
|
@ -109,6 +109,9 @@ CODE_SAMPLE
|
|||
if (!$constructClassMethod instanceof ClassMethod) {
|
||||
return null;
|
||||
}
|
||||
if ($constructClassMethod->params === []) {
|
||||
return null;
|
||||
}
|
||||
if ($this->shouldSkipClass($node)) {
|
||||
return null;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue
Block a user