mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-21 02:23:09 +00:00
Updated Rector to commit bd37496639378be3e1b72dec430ef906f0a6e94d
bd37496639
[DeadCode] Skip with magic __get() on RemoveUnusedPromotedPropertyRector (#5573)
This commit is contained in:
parent
914c0a8e27
commit
ed0dadf714
|
@ -142,6 +142,10 @@ CODE_SAMPLE
|
||||||
if ($class->attrGroups !== []) {
|
if ($class->attrGroups !== []) {
|
||||||
return \true;
|
return \true;
|
||||||
}
|
}
|
||||||
|
$magicGetMethod = $class->getMethod(MethodName::__GET);
|
||||||
|
if ($magicGetMethod instanceof ClassMethod) {
|
||||||
|
return \true;
|
||||||
|
}
|
||||||
foreach ($class->stmts as $stmt) {
|
foreach ($class->stmts as $stmt) {
|
||||||
if ($stmt instanceof TraitUse) {
|
if ($stmt instanceof TraitUse) {
|
||||||
return \true;
|
return \true;
|
||||||
|
|
|
@ -19,12 +19,12 @@ final class VersionResolver
|
||||||
* @api
|
* @api
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public const PACKAGE_VERSION = 'af4d3db31bacab922d47b2551cec66644e3568b7';
|
public const PACKAGE_VERSION = 'bd37496639378be3e1b72dec430ef906f0a6e94d';
|
||||||
/**
|
/**
|
||||||
* @api
|
* @api
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public const RELEASE_DATE = '2024-02-07 17:31:57';
|
public const RELEASE_DATE = '2024-02-07 19:29:08';
|
||||||
/**
|
/**
|
||||||
* @var int
|
* @var int
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user