mirror of
https://github.com/rectorphp/rector.git
synced 2024-05-31 16:30:51 +00:00
Updated Rector to commit 04e62d38cd1f1a0e01d8efc19b19b384cd8726e6
04e62d38cd
Revert " [Php81] Skip execution operator on NullToStrictStringFuncCallArgRect…" (#5668)
This commit is contained in:
parent
4da7518a07
commit
e8cdd78f11
|
@ -10,7 +10,6 @@ use PhpParser\Node\Expr\Cast\String_ as CastString_;
|
||||||
use PhpParser\Node\Expr\ConstFetch;
|
use PhpParser\Node\Expr\ConstFetch;
|
||||||
use PhpParser\Node\Expr\FuncCall;
|
use PhpParser\Node\Expr\FuncCall;
|
||||||
use PhpParser\Node\Expr\MethodCall;
|
use PhpParser\Node\Expr\MethodCall;
|
||||||
use PhpParser\Node\Expr\ShellExec;
|
|
||||||
use PhpParser\Node\Identifier;
|
use PhpParser\Node\Identifier;
|
||||||
use PhpParser\Node\Scalar\Encapsed;
|
use PhpParser\Node\Scalar\Encapsed;
|
||||||
use PhpParser\Node\Scalar\String_;
|
use PhpParser\Node\Scalar\String_;
|
||||||
|
@ -161,9 +160,6 @@ CODE_SAMPLE
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
$argValue = $args[$position]->value;
|
$argValue = $args[$position]->value;
|
||||||
if ($argValue instanceof ShellExec) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
if ($argValue instanceof ConstFetch && $this->valueResolver->isNull($argValue)) {
|
if ($argValue instanceof ConstFetch && $this->valueResolver->isNull($argValue)) {
|
||||||
$args[$position]->value = new String_('');
|
$args[$position]->value = new String_('');
|
||||||
$funcCall->args = $args;
|
$funcCall->args = $args;
|
||||||
|
|
|
@ -19,12 +19,12 @@ final class VersionResolver
|
||||||
* @api
|
* @api
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public const PACKAGE_VERSION = 'b95ff29edfb93a3f6d0abc62a89b4a5362838f17';
|
public const PACKAGE_VERSION = '04e62d38cd1f1a0e01d8efc19b19b384cd8726e6';
|
||||||
/**
|
/**
|
||||||
* @api
|
* @api
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public const RELEASE_DATE = '2024-02-28 01:28:59';
|
public const RELEASE_DATE = '2024-02-28 01:05:33';
|
||||||
/**
|
/**
|
||||||
* @var int
|
* @var int
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user