Updated Rector to commit ee7e92ca7b3507a2903a21bb52b9f840ae3cc2e8

ee7e92ca7b [CodeQuality] Fix missing parentheses on CombineIfRector (#5151)
This commit is contained in:
Tomas Votruba 2023-10-10 08:33:07 +00:00
parent 7aea9b9ed8
commit b1be6fd9fc
2 changed files with 4 additions and 2 deletions

View File

@ -12,6 +12,7 @@ use Rector\BetterPhpDocParser\Comment\CommentsMerger;
use Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfo;
use Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory;
use Rector\Core\Rector\AbstractRector;
use Rector\NodeTypeResolver\Node\AttributeKey;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
/**
@ -82,6 +83,7 @@ CODE_SAMPLE
if ($this->hasVarTag($subIf)) {
return null;
}
$node->cond->setAttribute(AttributeKey::ORIGINAL_NODE, null);
$node->cond = new BooleanAnd($node->cond, $subIf->cond);
$node->stmts = $subIf->stmts;
$this->commentsMerger->keepComments($node, [$subIf]);

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = 'fd04aa8db977151cc4147289c3d9b81c1ce53dcf';
public const PACKAGE_VERSION = 'ee7e92ca7b3507a2903a21bb52b9f840ae3cc2e8';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2023-10-10 09:08:21';
public const RELEASE_DATE = '2023-10-10 15:29:10';
/**
* @var int
*/