Updated Rector to commit 52398c81f9e88bde858cd2d79d481ae66190abc7

52398c81f9 [Php83] add string type to concat constant (#5516)
This commit is contained in:
Tomas Votruba 2024-01-29 16:18:28 +00:00
parent 94c55b84c0
commit 826292d8c1
2 changed files with 6 additions and 2 deletions

View File

@ -7,6 +7,7 @@ use PhpParser\Node;
use PhpParser\Node\Const_;
use PhpParser\Node\Expr;
use PhpParser\Node\Expr\Array_;
use PhpParser\Node\Expr\BinaryOp\Concat;
use PhpParser\Node\Expr\ConstFetch;
use PhpParser\Node\Identifier;
use PhpParser\Node\Scalar\DNumber;
@ -136,6 +137,9 @@ CODE_SAMPLE
if ($expr instanceof Array_) {
return new Identifier('array');
}
if ($expr instanceof Concat) {
return new Identifier('string');
}
return null;
}
/**

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '1608ae8c9497bbfaf78ce54130ec304963ac6f2a';
public const PACKAGE_VERSION = '52398c81f9e88bde858cd2d79d481ae66190abc7';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2024-01-29 05:39:29';
public const RELEASE_DATE = '2024-01-29 17:16:20';
/**
* @var int
*/