mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-01 00:40:52 +00:00
Updated Rector to commit e29b97e4b5d6dd5a0c5ee442067cb52f7dbb7f25
e29b97e4b5
[Php81] Handle with attribute on ReadOnlyPropertyRector on property promotion (#5692)
This commit is contained in:
parent
b05ad66b87
commit
ae1f64a7a0
|
@ -192,6 +192,9 @@ CODE_SAMPLE
|
|||
if ($this->isPromotedPropertyAssigned($class, $param)) {
|
||||
return null;
|
||||
}
|
||||
if ($param->attrGroups !== []) {
|
||||
$param->setAttribute(AttributeKey::ORIGINAL_NODE, null);
|
||||
}
|
||||
$this->visibilityManipulator->makeReadonly($param);
|
||||
return $param;
|
||||
}
|
||||
|
|
|
@ -19,12 +19,12 @@ final class VersionResolver
|
|||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = '104f656edd312203d24db4cbe60bd54b78c421f8';
|
||||
public const PACKAGE_VERSION = 'e29b97e4b5d6dd5a0c5ee442067cb52f7dbb7f25';
|
||||
/**
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2024-03-05 08:15:26';
|
||||
public const RELEASE_DATE = '2024-03-05 18:26:34';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue
Block a user