mirror of
https://github.com/rectorphp/rector.git
synced 2025-04-22 08:25:02 +02:00
Updated Rector to commit 52398c81f9e88bde858cd2d79d481ae66190abc7
52398c81f9
[Php83] add string type to concat constant (#5516)
This commit is contained in:
parent
94c55b84c0
commit
826292d8c1
@ -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;
|
||||
}
|
||||
/**
|
||||
|
@ -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
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user